-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to modifly code for custom yolo? #5
Comments
Please modify the C++ code ./src/Region.cpp as well, refer to Update parameters section in README. |
@ichigoi7e Thanks but I was unable to understand the paramater Whats the paramater |
@ashwinnair14 |
@ashwinnair14 , BTW, you can also tune other parameters in caffe cfg, such as pad, to generate the same block dimensions as darknet models. |
files_to_test.zip
Hi @duangenquan @ichigoi7e ,
I have trained a custom yolo model with only 4 classes and which has a different structure than yolo.
I have attached the cfg and weights and also the NCS graph to test. Tested with the person image from darknet.
When I modify the python code to set
self.classes = 4
I dont get any outputs on the script(ObjectWrapper.py).But when I run the same model and image on the original darknet I get this output.
Is there an easy way to change the C++ or the python code ? or do I need to rewrite it?
Thanks
The text was updated successfully, but these errors were encountered: