-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
继续之前的权重训练,出现这个问题,想问下大概什么原因呢?谢谢 #20
Comments
Getting same, Kindly suggest |
content/drive/My Drive/pedestrian/script/experiment/baseline/model/DeepMAR.py:42: UserWarning: nn.init.normal is now deprecated in favor of nn.init.normal_. |
@DeepTiming @docketrun @dangweili I got the same. >.< how to deal with it, thx! |
I can solve the problem by commenting out "./script/experiment/train_deepmar_resnet50.py" line 295, |
Resume from ckpt E:/backup/gitlab/pedestrian-attribute-recognition-pytorch/exp/deepmar_resnet50/joint/partition0/run1/model/ckpt_epoch20.pth,
epoch: 20, scores: 0
Traceback (most recent call last):
File "./script/experiment/train_deepmar_resnet50.py", line 322, in
transfer_optim_state(state=optimizer.state, device_id=0)
File "E:\backup\gitlab\pedestrian-attribute-recognition-pytorch\script\experiment\baseline\utils\utils.py", line 201, in transfer_optim_state
transfer_optim_state(val, device_id=device_id)
File "E:\backup\gitlab\pedestrian-attribute-recognition-pytorch\script\experiment\baseline\utils\utils.py", line 203, in transfer_optim_state
raise RuntimeError("Oops, state[{}] is a Variable!".format(key))
RuntimeError: Oops, state[momentum_buffer] is a Variable!
The text was updated successfully, but these errors were encountered: