Skip to content

Commit 57f4119

Browse files
committed
pls disable tqdm or iteration loss printer if needed
1 parent c4e6230 commit 57f4119

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ def str2bool(s):
9898
for param in model.time_matrix_V_emb.parameters(): loss += args.l2_emb * torch.norm(param)
9999
loss.backward()
100100
adam_optimizer.step()
101-
print("loss in epoch {} iteration {}: {}".format(epoch, step, loss.item())) # expected 0.4~0.6 after init few epochs
101+
# print("loss in epoch {} iteration {}: {}".format(epoch, step, loss.item())) # expected 0.4~0.6 after init few epochs
102102

103103
if epoch % 20 == 0:
104104
model.eval()

0 commit comments

Comments
 (0)