Comments (9)
The default dataset for training is retrieval-SfM-120k it's not necessary to set it for train. Use newest version of code.
from cnnimageretrieval-pytorch.
Have you tried running the train example from README training section? I.e., have you tried running the following line:
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 1e-6 --neg-num 5 --query-size=2000
--pool-size=22000 --batch-size 5 --image-size 362
from cnnimageretrieval-pytorch.
I eliminated quotation marks ex) 'retrieval-SfM-120k'
-> retrieval-SfM-120k
and it worked. I don't know why the quotation marks need to be removed though. Other quotation marks in the command should be removed in the same way.
p.s. I'm using Window 10, not Linux.
from cnnimageretrieval-pytorch.
p.s. I'm using Window 10, not Linux.
This might be the reason, we have only tested it on Linux, so far. It is good to know the code runs on Windows as well.
from cnnimageretrieval-pytorch.
However, because of Linux commands like wget
or rm
, I couldn't go further. I think I should use Linux.
from cnnimageretrieval-pytorch.
If the problem is only in the download script, then this can be solved by manually downloading necessary files from cnnimageretrieval website. It should be clear from the download script how the data should be arranged (folder structure). I don't know if it is too much work to do it manually though, but it is only done once, so it might be worth it.
Hope this helps anyhow.
from cnnimageretrieval-pytorch.
That is great idea. Thank you :)
from cnnimageretrieval-pytorch.
@Garamda if you do manage to run it with Windows, can you post your findings here? It might be very useful for many other Windows users, and we would be very grateful. If it is easier for you, you can even open a new issue named 'Running the toolbox on Windows'. Thank you.
from cnnimageretrieval-pytorch.
Alright. If I can, I ll do it :)
from cnnimageretrieval-pytorch.
Related Issues (20)
- The parameter P in the pool will not be updated during training HOT 1
- Help! Can you provide us the code which you used to generate the ground truth as a pickle file. HOT 1
- imagerettrieval -pytorch HOT 2
- The error i have met! HOT 1
- code error
- Cannot find the module cirtorch HOT 1
- Pretrained weight used in "Attention-Based Query Expansion Learning" HOT 4
- Attention-Based Query Expansion Learning Code HOT 2
- When training with the GL18 dataset, what is the whitening dataset?
- Is there any way to run it under Windows system? HOT 3
- Questions about“Attention-Based Query Expansion Learning” HOT 1
- Would x.clamp(min=eps) of gem() loss some information ?
- About whitenlearn(X, qidxs, pidxs) HOT 4
- WHITENING
- Downloading Datasets!!!
- Why to decrease positions of positive based on the number of junk images appearing before them in 'evaluate.py'? HOT 1
- Training images for the pre-computed final whitening HOT 1
- No such file or directory HOT 1
- About pretrained models HOT 1
- Hi, I have selected gl18-tl-resnet50-gem-w, how can I convert the vector dimension to 512? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cnnimageretrieval-pytorch.