AlexeyAB / yolo2_light

Light version of convolutional neural network Yolo v3 & v2 for objects detection with a minimum of dependencies (INT8-inference, BIT1-XNOR-inference)
MIT License
301 stars 116 forks source link

BWN Network #77

Open dudqls1994 opened 4 years ago

AlexeyAB commented 4 years ago

Yes, but yolov2_light only for detection: https://github.com/AlexeyAB/yolo2_light

How to use BIT1-XNOR-inference - only for custom models (you should train it by yourself):

You should base your cfg-file on yolov3-spp_xnor_obj.cfg and train it by using this repository as usual https://github.com/AlexeyAB/darknet by using pre-trained file darknet53_448_xnor.conv.74 Then use it for Detection-test or for getting Accuracy (mAP): ./darknet detector test data/obj.names yolov3-spp_xnor_obj.cfg data/yolov3-spp_xnor_obj_5000.weights -thresh 0.15 dog.jpg ./darknet detector map data/obj.data yolov3-spp_xnor_obj.cfg data/yolov3-spp_xnor_obj_5000.weights -thresh 0.15