YOWO icon indicating copy to clipboard operation
YOWO copied to clipboard

KeyError: 'exp_avg'

Open yangsuhui opened this issue 4 years ago • 1 comments

Dear: when I run this code, got the following error,

site-packages/torch/optim/adam.py", line 86, in step exp_avg, exp_avg_sq = state['exp_avg'], state['exp_avg_sq'] KeyError: 'exp_avg'

what should I do to solve this problem?

yangsuhui avatar May 31 '21 12:05 yangsuhui

same issue, Did you slove this problem?

ShawnSu2011 avatar Jan 27 '22 09:01 ShawnSu2011