zhoubolei / CAM

Class Activation Mapping
http://cnnlocalization.csail.mit.edu/
MIT License
1.85k stars 467 forks source link

How can I run use the dt_box and run the generate_bbox.m? #6

Closed tingtinglu closed 8 years ago

tingtinglu commented 8 years ago

I am not familiar to C++. I want to run your code generate_bbox.m, but when it runs to the line system(['bboxgenerator/./dt_box ' curHeatMapFile ' ' curParaThreshold ' ' curBBoxFile]); some errors occur. e.g., the generate_bbox cannot be used.

I have some questions:

zhoubolei commented 8 years ago

dt_box is compiled program in linux. The source code is also provided at https://github.com/metalbubble/CAM/blob/master/bboxgenerator/dt_box.cpp

If you use windows, probably you need to adapt the code into windows version. I am not so sure how to do it exactly as I don't use windows.

tingtinglu commented 8 years ago

thanks so much for your response! I have compiled in linux and it can be used now!