test cloud multigpu
This commit is contained in:
parent
f09885abec
commit
c8eb01ca92
1 changed files with 2 additions and 2 deletions
4
train.py
4
train.py
|
|
@ -111,9 +111,9 @@ def main2():
|
|||
|
||||
|
||||
optimizer.step()
|
||||
break
|
||||
|
||||
print(f'Epoch [{epoch + 1}/{epochs}], Loss: {loss[0]:.4f}')
|
||||
loss_list.append(loss[0])
|
||||
break
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue