Closed offbye closed 6 years ago
I have solved it by install torchvision 0.2.1 use the master branch in https://github.com/pytorch/vision
Hello, you should also know that the code is tested with PyTorch 0.3.0, so if you end up having other issues you might want to install that version. In the future we will make the code compatible with the newest PyTorch version.
I run below script on torch 0.4.0, meet a error, any ideas ?
python3 -m cirtorch.examples.train ./test --gpu-id '5' --training-dataset 'retrieval-SfM-120k' >> './test/retrieval-SfM-120k_resnet101_gem_contrastive_m0.85_adam_lr1.0e-06_wd1.0e-04_nnum5_qsize2000_psize20000_bsize5_imsize362' --optimizer 'adam' --lr 1e-6 --neg-n>> Using pre-trained model 'resnet101'