MhLiao / TextBoxes_plusplus

TextBoxes++: A Single-Shot Oriented Scene Text Detector
Other
953 stars 279 forks source link

unable to compile crnn on Ubuntu 16.04 #58

Closed saxenarohit closed 5 years ago

saxenarohit commented 6 years ago

torch/install/include/thpp/Storage.h:22:43: fatal error: thpp/if/gen-cpp2/Tensor_types.h: No such file or directory compilation terminated. CMakeFiles/crnn.dir/build.make:86: recipe for target 'CMakeFiles/crnn.dir/ctc.cpp.o' failed make[2]: *** [CMakeFiles/crnn.dir/ctc.cpp.o] Error 1 CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/crnn.dir/all' failed make[1]: *** [CMakeFiles/crnn.dir/all] Error 2 Makefile:83: recipe for target 'all' failed make: *** [all] Error 2 cp: cannot stat '*.so': No such file or directory

mdbenito commented 6 years ago

You can try with the docker container from this PR

jiachen0212 commented 5 years ago

maybe you can choose the pytorch type crnn: https://github.com/meijieru/crnn.pytorch

DecentMakeover commented 5 years ago

@jiachen0212 doesnt the repo expect the crnn to be from torch ? even im facing severe issues trying to compile crnn

DecentMakeover commented 5 years ago

@jiachen0212 doesnt the repo expect the crnn to be from torch ? even im facing severe issues trying to compile crnn

mdbenito commented 5 years ago

Getting the whole thing to work (especially because of torch) was quite a pain, yes. Maybe the dockerfile can help you as a guide.