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

About ECO execution #13

Open
Koei27 opened this issue Jun 27, 2018 · 6 comments
Open

About ECO execution #13

Koei27 opened this issue Jun 27, 2018 · 6 comments

Comments

@Koei27
Copy link

Koei27 commented Jun 27, 2018

After I compile program successfully, I find some files are lost.
I downloaded VGG_CNN_M_2048.caffemodel and VGG_mean.binaryproto, but I can't find the file which named mean.yml.
How can I do?

@nicewsyly
Copy link
Owner

you can find it in https://pan.baidu.com/s/1skVkPLN

@Koei27
Copy link
Author

Koei27 commented Jun 27, 2018

When I try to link the web, the page is missing.
Can you give me a new link?

@nicewsyly
Copy link
Owner

@Koei27
Copy link
Author

Koei27 commented Jun 28, 2018

Thanks a lot! It can run now. But I just can run ECO without useDeepFeature=1.
When I set useDeepFeature = 1, the error will occur in feature_extractor::get_cnn_layers().
In loop: for (size_t idx = 0; idx < cnn_features.fparams.output_layer.size(); ++idx).
when idx = 1.
Can you give me some hint to solve it?
I just use the VGG model from download.

@nicewsyly
Copy link
Owner

can you positioning error line? focus on variables related to caffe model and prototxt

@Koei27
Copy link
Author

Koei27 commented Jun 29, 2018

The error occur in feature_extractor::get_cnn_layers(). ---> feature_extractor.cpp
line 168: for (size_t i = 0; i < shape[0] * shape[1]; i++) // CNN into single channel******
{
cv::Mat feat_map(shape[2], shape[3], CV_32FC(1), (void*)pstart);
feat_map = feat_map.t(); --> the error occur here!

When I debug the function, I found shape[3] is null.
So the resize function of OpenCV Matrix function occur error.

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

2 participants