0.环境
ubuntu16.04
python3.6
cuda9.0
torch==1.1.0
torchvision==0.3.0
numpy
Cython
h5py
Pillow
six
scipy
opencv-python
matplotlib
tb-nightly
future
yacs
gdown
flake8
yapf
isort==4.3.21
imageio
下载:
git clone https://github.com/KaiyangZhou/deep-person-reid.git
环境配置(创建虚拟环境+安装依赖包+安装torchreid):
cd deep-person-reid
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple virtualenv
virtualenv env
source ./env/bin/activatepip --default-time=500 install -i https://pypi.tuna.tsinghua.edu.cn/simple -r requirements.txt
pip --default-time=500 install -i https://pypi.tuna.tsinghua.edu.cn/simple torch==1.1.0
pip --default-time=500 install -i https://pypi.tuna.tsinghua.edu.cn/simple torchvision==0.3.0python setup.py develop