Closed riccitensor closed 6 years ago
Please first uninstall pytorch with
pip3 uninstall torch
pip3 uninstall torchvision
multiple times until
pip3 list | grep torch
shows nothing.
Then check your python3 version by python3 --version
and choose the options on pytorch.org. For example, the installation commands for python 3.5 should be
pip3 install http://download.pytorch.org/whl/cu80/torch-0.3.0.post4-cp35-cp35m-linux_x86_64.whl
pip3 install torchvision
After running the command, check if the installation is succeed by
python3 -c "import torch; print(torch.__version__)"
It should print 0.3.0.post4
.
Follow our instructions to install open-reid. But please use python3
explicitly instead of python
if it by default links to python2
.
Now running! Exactly as you said, I had to re-install torch and torchvision-- for some reason the installations were not correct. And then python3 should be used instead of python.
When installing PyTorch, I am getting this error. They recommend to install with miniconda.
I installed it using pip3 with CUDA 8 on Ubuntu 16, according to their official instructions (and then all remaining dependencies). Now, I am getting
No module named reid.