pytorch-video-recognition icon indicating copy to clipboard operation
pytorch-video-recognition copied to clipboard

train from resume epochs

Open fish8sank opened this issue 5 years ago • 4 comments

optimizer.step() File "/home/z/anaconda3/envs/py3/lib/python3.6/site-packages/torch/optim/sgd.py", line 101, in step buf.mul_(momentum).add_(1 - dampening, d_p) RuntimeError: Expected object of type torch.FloatTensor but found type torch.cuda.FloatTensor for argument #4 'other'

something wrong?

fish8sank avatar Feb 26 '19 03:02 fish8sank

I met the same problem with you, do you solve the problem yet?

Jambalaya11 avatar Jul 17 '19 08:07 Jambalaya11

I met the same problem with you, do you solve the problem yet?

zugexiaodui avatar Sep 05 '19 14:09 zugexiaodui

I met the same problem with you, do you solve the problem yet? @fish8sank @Jambalaya11 @zugexiaodui @jfzhang95

JinXiaozhao avatar Nov 26 '19 12:11 JinXiaozhao

I have forgotten how I solved the problem. Maybe it's due to different versions of pytorch.

zugexiaodui avatar Nov 27 '19 14:11 zugexiaodui