You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "main.py", line 352, in
main()
File "main.py", line 146, in main
is_calc_map=args.calc_map)
File "main.py", line 298, in evaluate
vis_result_dir=vis_result_dir)
File "/data/multi_person/pytorch-ppn/utils/eval_util.py", line 87, in multi_image_testing_on_mpi_mp_dataset
vis_im_path=vis_im_path)
File "/data/multi_person/pytorch-ppn/utils/eval_util.py", line 163, in single_image_testing_on_mpi_mp_dataset
input_im = transform(cropped_im)
File "/usr/local/lib/python3.6/dist-packages/torchvision/transforms/transforms.py", line 60, in call
img = t(img)
File "/usr/local/lib/python3.6/dist-packages/torchvision/transforms/transforms.py", line 163, in call
return F.normalize(tensor, self.mean, self.std, self.inplace)
File "/usr/local/lib/python3.6/dist-packages/torchvision/transforms/functional.py", line 208, in normalize
tensor.sub_(mean[:, None, None]).div_(std[:, None, None])
RuntimeError: expected type torch.DoubleTensor but got torch.FloatTensor
How can i fix it? :(
The text was updated successfully, but these errors were encountered:
Traceback (most recent call last):
File "main.py", line 352, in
main()
File "main.py", line 146, in main
is_calc_map=args.calc_map)
File "main.py", line 298, in evaluate
vis_result_dir=vis_result_dir)
File "/data/multi_person/pytorch-ppn/utils/eval_util.py", line 87, in multi_image_testing_on_mpi_mp_dataset
vis_im_path=vis_im_path)
File "/data/multi_person/pytorch-ppn/utils/eval_util.py", line 163, in single_image_testing_on_mpi_mp_dataset
input_im = transform(cropped_im)
File "/usr/local/lib/python3.6/dist-packages/torchvision/transforms/transforms.py", line 60, in call
img = t(img)
File "/usr/local/lib/python3.6/dist-packages/torchvision/transforms/transforms.py", line 163, in call
return F.normalize(tensor, self.mean, self.std, self.inplace)
File "/usr/local/lib/python3.6/dist-packages/torchvision/transforms/functional.py", line 208, in normalize
tensor.sub_(mean[:, None, None]).div_(std[:, None, None])
RuntimeError: expected type torch.DoubleTensor but got torch.FloatTensor
How can i fix it? :(
The text was updated successfully, but these errors were encountered: