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

feature_statistics_path #4

Open
LRLLRL opened this issue Mar 13, 2018 · 9 comments
Open

feature_statistics_path #4

LRLLRL opened this issue Mar 13, 2018 · 9 comments

Comments

@LRLLRL
Copy link

LRLLRL commented Mar 13, 2018

feature_statistics_path: "examples/cvpr2017/mit67/image_retrieval/feature_extraction/mit67_alexnet_color_conv11_5_feature_stats_domain.txt"
I don't understand this address.Could you explain?

@ZYYSny
Copy link
Owner

ZYYSny commented Mar 14, 2018 via email

@ZYYSny
Copy link
Owner

ZYYSny commented Mar 14, 2018 via email

@daa233
Copy link

daa233 commented Jul 10, 2018

Hi, @ZYYSzj, when running get_feature_stats.sh the first time, how to designate the previous_statistics_path in image_retrieval/feature_stats/stats_deploy.prototxt? Do we have one txt file for that parameter before we run it for the first time?

I am confused because I get an error of Check failed: idx == total_channels_ (0 vs. 1376) when run the script for the first time. Thanks for any help.

@17860846552
Copy link

@daa233 I got the same problem as you, have you solved this problem?

@daa233
Copy link

daa233 commented Jul 17, 2018

@17860846552 No, I haven't... 😢 Not very clear about some details in xxx_deploy.prototxt.

@ZYYSny
Copy link
Owner

ZYYSny commented Jul 17, 2018

@LRLLRL @daa233 @17860846552 I have updated the ReadMe.md in the get_the_features_statistics branch. I am busy in other projects now. Sorry for the delay.

@daa233
Copy link

daa233 commented Jul 18, 2018

@ZYYSzj Thanks for updating.
I think I have gotten the main idea. When we run the code for the first time, we need to provide fake files like the format of "caltech_alexnet_color_feature_stats.txt". Otherwise, we will get the above error Check failed: idx == total_channels_ (0 vs. 1376) since we don't provide the fake files. And before running the code for the second time, we should rename "caltech_alexnet_color_feature_stats.txt" as "caltech_alexnet_color_feature_stats_previous.txt".

@ZYYSny
Copy link
Owner

ZYYSny commented Jul 18, 2018

@daa233 You are right. Since the codes is not well written. You need to provide fake files in the same format above. If you have 1376 feature maps, you need randomly generate 1376 lines. Then you can run the script again. You just need to run over you training set one epoch when you run the scripts.

@17860846552
Copy link

@ZYYSzj It really works! Thank you for taking time out of your busy schedule.

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