复现HOReID

HOReID

github

source ~/.bashrc
conda activate horeid
cd HOReID-master

复现中的问题:

  1. 无法git clone
    因为权限不够,只能本地下载代码zip上传解压
  2. 找不大DukeMTMC数据集
    参考DukeMTMC
    需要新建Occluded_Duke并放置三个list
  3. ImportError: cannot import name ‘PILLOW_VERSION’
    Pillow版本过高导致的
pip uninstall Pillow
pip install Pillow==6.2.2
  1. No module named ‘sklearn’
conda install scikit-learn

Train

python main.py --mode train --duke_path /mnt/hdd2/home_old/home/zhw/datasets/Occluded_Duke --output_path ./results 

Visualize

python main.py --mode visualize --resume_visualize_path /mnt/hdd2/home_old/home/zhw/HOReID-master/results/models/ --resume_visualize_epoch 101 --duke_path /mnt/hdd2/home_old/home/zhw/datasets/Occluded_Duke --output_path ./results

python main.py --mode visualize --resume_visualize_path "/mnt/hdd2/home_old/home/zhw/HOReID-master/pre-trained models/" --resume_visualize_epoch 119 --duke_path /mnt/hdd2/home_old/home/zhw/datasets/Occluded_Duke --output_path ./results

Test

python main.py --mode test --resume_test_path /mnt/hdd2/home_old/home/zhw/HOReID-master/results/models/ --resume_test_epoch 101 --duke_path /mnt/hdd2/home_old/home/zhw/datasets/Occluded_Duke --output_path ./results

python main.py --mode test --resume_test_path "/mnt/hdd2/home_old/home/zhw/HOReID-master/pre-trained models/"  --resume_test_epoch 119 --duke_path /mnt/hdd2/home_old/home/zhw/datasets/Occluded_Duke --output_path ./results

epoch=101

pretrained model:pretrained

  • 1
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值