NVlabs / DG-Net

:couple: Joint Discriminative and Generative Learning for Person Re-identification. CVPR'19 (Oral) :couple:
https://www.zdzheng.xyz/publication/Joint-di2019
Other
1.27k stars 230 forks source link

ModuleNotFoundError: No module named 'torch.utils.hipify' #45

Open Dtappledoghuati opened 4 years ago

Dtappledoghuati commented 4 years ago

I use pytorch1.0.0, but this module is not included, which version of torch do you use?

layumi commented 4 years ago

Hi @Dtappledoghuati I am not sure about what happens. You may try to re-install torch via conda.

gakkichenchen commented 4 years ago

I have the same error ,I use pytorch 1.0.1

layumi commented 4 years ago

Hi @gakkichenchen @Dtappledoghuati Could you show the entire error log? I want to check which line cause this error. Thanks a lot.

Eiye1123 commented 3 years ago

Traceback (most recent call last): File "setup.py", line 14, in from torch.utils.hipify import hipify_python ModuleNotFoundError: No module named 'torch.utils.hipify'

layumi commented 3 years ago

Hi @Eiye1123 Please refer to https://github.com/junyanz/pytorch-CycleGAN-and-pix2pix/issues/1048

conda install torchvision and conda install pytorch may solve the problem

MurtazaAbdissamat commented 1 year ago

I have taken this error: from torch.utils.ffi import _wrap_function ModuleNotFoundError: No module named 'torch.utils.ffi'

Please help me! I need to torch version 0.3.1. If you have please send me wheel file to my post: murtaza.abdissamat@gazi.edu.tr