Problem in A_feature_extraction.py
Closed this issue · 3 comments
The line L363 in A_feature_extraction.py
is superfluous, and it need to comment to make it run successfully.
I modified the corresponding path in the settings.json file, then ran it. However, an error appeared: " NameError: name 'pathDB' is not defined " .
My question is how did you define pathDB ? is it the prototxt file ?
Thank you very much!
Hi @hurricane2018,
If you are running the 'A_feature_extraction.py', pathDB should be automatically created by the 'LeveldbStorer' based on the 'featuresDB' and 'input_size' specified in your settings. Please, make sure you have specified those parameters in the settings file.
I also encourage you to take a look to our recent paper "Saliency Weighted Convolutional Features for Instance Search" where you can find an updated (and probably cleaner/easy to use) version of the code.
Best,
Eva