CharlesShang / TFFRCNN

FastER RCNN built on tensorflow
MIT License
874 stars 418 forks source link

How to run TTFRCNN (faster-rcnn) in Windows that contains tensorflow #99

Open suntim opened 7 years ago

suntim commented 7 years ago

I see the first step is to fix and run make.sh. But I want to run TFFRCNN Demo in my windows. tensorflow.python.framework.errors_impl.NotFoundError:roi_pooling.so not found???? Could you tell me how to solve this problem?Thank you for reading my message.

Martin-Poellot commented 6 years ago

@suntim in the file "TFFRCNN/lib/roi_pooling_layer/roi_pooling_op.py" it is hardcoded that tensorflow should load this linux-based file "roi_pooling.so". So you have to compile the .cc files in the same folder and change theses lines: filename = osp.join(osp.dirname(__file__), 'roi_pooling.so') _roi_pooling_module = tf.load_op_library(filename) so that it loads the compiled file for windows. However, I am struggling myself to just compile the files since many dependencies seem to be off, exclusivly linux or some other problem. If you are able to compile it, I would be happy if you could share your .dll file :)