当前位置: 代码迷 >> 综合 >> 【行人重识别】复现deep-person-reid中特征可视化
  详细解决方案

【行人重识别】复现deep-person-reid中特征可视化

热度:36   发布时间:2023-10-26 00:10:35.0

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

1.准备数据集与预训练模型

  相关解决方案