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

try to compile python API, which requires recompile overfeat core, that failed. #20

Open
yaoli opened this issue Aug 10, 2014 · 0 comments

Comments

@yaoli
Copy link

yaoli commented Aug 10, 2014

Hi,

First of all thanks for releasing codes for OverFeat (https://github.com/sermanet/OverFeat). But there's a problem when I try to compile it in /src folder. I think some files are missing.

g++ -c -fopenmp -O3 -fPIC -Iif [ ! -d "data/default" ]; then echo "../data/default"; else echo "data/default"; fi overfeat.cpp -o overfeat.o
overfeat.cpp:55:21: error: net_init.hpp: No such file or directory
overfeat.cpp:109:22: error: net_fprop.hpp: No such file or directory
overfeat.cpp: In function 'void overfeat::init(const std::string&, int)':
overfeat.cpp:59: error: 'outputs' was not declared in this scope
overfeat.cpp:59: error: 'nModules' was not declared in this scope
overfeat.cpp:60: error: 'weights' was not declared in this scope
overfeat.cpp:61: error: 'bias' was not declared in this scope
overfeat.cpp:64: error: 'init1' was not declared in this scope
overfeat.cpp: In function 'void overfeat::free()':
overfeat.cpp:68: error: 'nModules' was not declared in this scope
overfeat.cpp:69: error: 'outputs' was not declared in this scope
overfeat.cpp:71: error: 'weights' was not declared in this scope
overfeat.cpp:73: error: 'bias' was not declared in this scope
overfeat.cpp: In function 'int overfeat::get_n_layers()':
overfeat.cpp:83: error: 'nModules' was not declared in this scope
overfeat.cpp: In function 'THTensor* overfeat::get_output(int)':
overfeat.cpp:87: error: 'nModules' was not declared in this scope
overfeat.cpp:88: error: 'outputs' was not declared in this scope
overfeat.cpp: In function 'std::string overfeat::get_class_name(int)':
overfeat.cpp:92: error: 'nClasses' was not declared in this scope
overfeat.cpp:93: error: 'class_names' was not declared in this scope
overfeat.cpp: In function 'std::vector<std::pair<std::basic_string<char, std::char_traits, std::allocator >, float>, std::allocator<std::pair<std::basic_string<char, std::char_traits, std::allocator >, float> > > overfeat::get_top_classes(THTensor_, int)':
overfeat.cpp:98: error: 'nClasses' was not declared in this scope
overfeat.cpp: In function 'THTensor_ overfeat::fprop(THTensor_)':
overfeat.cpp:111: error: 'fprop1' was not declared in this scope
make[1]: *_* [lib] Error 1
make[1]: Leaving directory `/home/yaoli/tools/OverFeat/src'
make: *** [all] Error 2

Could you please kindly help me out?

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

1 participant