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

Problem in A_feature_extraction.py #2

Closed
willard-yuan opened this issue Dec 16, 2016 · 3 comments
Closed

Problem in A_feature_extraction.py #2

willard-yuan opened this issue Dec 16, 2016 · 3 comments

Comments

@willard-yuan
Copy link

The line L363 in A_feature_extraction.py is superfluous, and it need to comment to make it run successfully.

@hurricane2018
Copy link

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!

@evamohe
Copy link
Collaborator

evamohe commented Feb 15, 2018

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

@evamohe evamohe closed this as completed Feb 15, 2018
@hurricane2018
Copy link

hurricane2018 commented Feb 15, 2018 via email

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

3 participants