Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(ModuleNotFoundError: No module named 'cirtorch') #51

Open
longmalongma opened this issue Oct 4, 2019 · 3 comments
Open

(ModuleNotFoundError: No module named 'cirtorch') #51

longmalongma opened this issue Oct 4, 2019 · 3 comments

Comments

@longmalongma
Copy link

when i try to run train.py,i meet this problem
(ModuleNotFoundError: No module named 'cirtorch')

@Nazaninpdk
Copy link

I have same problem :(

@seyfullahuysal
Copy link

Run from main directory of repository such as
cd cnnimageretrieval-pytorch
python3 -m cirtorch.examples.train YOUR_EXPORT_DIR --gpu-id '0' --training-dataset 'retrieval-SfM-120k' --test-datasets 'roxford5k,rparis6k' --arch 'resnet101' --pool 'gem' --loss 'contrastive' --loss-margin 0.85 --optimizer 'adam' --lr 5e-7 --neg-num 5 --query-size=2000 --pool-size=22000 --batch-size 5 --image-size 362

@xu1718191411
Copy link

sys.path.append(os.pardir)
append the root path of the project to train.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants