Closed as12088 closed 4 years ago
Please change it as below.
nsml.report(summary=True, ’train__loss__acc’= acc_top1, ’train__loss__avg’=loss_avg, step=epoch)
See also documentation
File "main.py", line 305 nsml.report(summary=True,'trainlossacc'= acc_top1, 'trainlossavg'=loss_avg, step=epoch) ^ SyntaxError: keyword can't be an expression
This kind of error occurs session : kaist_14/fashion_eval/125
sorry I was mistaken. Try like below.
nsml.report(summary=True, train__loss__acc=acc_top1, train__loss__avg=loss_avg, step=epoch)
There are no such specific example for this
nsml.report(summary=False, scope=None, **kwargs)
Can you please explain how to handle nsml report to plot graph?
ㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡ nsml.report(summary={ ’trainlossacc’: acc_top1, ’trainlossavg’ : loss_avg}, step=epoch) I used like this in session kaist_14/fashion_eval/98