Open yangsuhui opened 3 years ago
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?
same issue, Did you slove this problem?
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?