Open liuzhen03 opened 5 years ago
In DMPHN_1_2_4.py line190: print("epoch:", epoch, "iteration:", iteration+1, "loss:%.4f"%loss.item()), 'time:%.4f'%(stop-start))
print("epoch:", epoch, "iteration:", iteration+1, "loss:%.4f"%loss.item()), 'time:%.4f'%(stop-start))
you got an extra ')', it should be print("epoch:", epoch, "iteration:", iteration+1, "loss:%.4f"%loss.item(), 'time:%.4f'%(stop-start))
print("epoch:", epoch, "iteration:", iteration+1, "loss:%.4f"%loss.item(), 'time:%.4f'%(stop-start))
so does the error in DMPHN_1_2_4_8.py.
Fixed. Thank you.
In DMPHN_1_2_4.py line190:
print("epoch:", epoch, "iteration:", iteration+1, "loss:%.4f"%loss.item()), 'time:%.4f'%(stop-start))
you got an extra ')', it should be
print("epoch:", epoch, "iteration:", iteration+1, "loss:%.4f"%loss.item(), 'time:%.4f'%(stop-start))
so does the error in DMPHN_1_2_4_8.py.