QiangXie / libfaster_rcnn_cpp

A Faster-rcnn detector C++ version demo.
5 stars 11 forks source link

why I just can detect the car #2

Closed xiaozialei closed 7 years ago

xiaozialei commented 7 years ago

I have run the code successfully ,but why I just can detect the car. string model_file = "/home/hxl/py-faster-rcnn/models/pascal_voc/VGG16/faster_rcnn_alt_opt/faster_rcnn_test.pt"; string weights_file = "/home/hxl/py-faster-rcnn/data/faster_rcnn_models/VGG16_faster_rcnn_final.caffemodel";

QiangXie commented 7 years ago

Because I only use faster-rcnn to detect the vehicle, you can modify the value of "DETEC_CLS_NUM" (in include/faster_rcnn.hpp) to detect other objects.

xiaozialei commented 7 years ago

Thanks for your help.