Open
Description
So if you try and retrain the resnet101 (faster_rcnn_1_10_9771.pth) you get the following error:
File "trainval_net.py", line 336, in <module>
optimizer.step()
File "... pytorch_0.4/lib/python3.6/site-packages/torch/optim/sgd.py", line 101, in step
buf.mul_(momentum).add_(1 - dampening, d_p)
RuntimeError: The expanded size of the tensor (512) must match the existing size (1024) at
non-singleton dimension 1
It's the optimizer version knowledge of the parameters is different than what it actually is. Also, you get the same error if you use, /home/jonathan/faster-rcnn.pytorch/faster_rcnn_1_6_9771.pth
Metadata
Metadata
Assignees
Labels
No labels