Skip to content
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

Tiny yolo #20

Closed
sachinruk opened this issue Jul 17, 2018 · 1 comment
Closed

Tiny yolo #20

sachinruk opened this issue Jul 17, 2018 · 1 comment

Comments

@sachinruk
Copy link

How can you modify the script to use tiny yolo weights instead? In the original it was: ./darknet detect cfg/yolov3-tiny.cfg yolov3-tiny.weights data/dog.jpg

@madhawav
Copy link
Owner

Hi, you just have to change the way where you initiate the Detector.

For example, you can get the code of image_demo.py and modify Detector initiation line like this

net = Detector(bytes("PATH TO yolov3-tiny.cfg FILE", encoding="utf-8"), bytes("PATH TO yolov3-tiny.weights FILE", encoding="utf-8"), 0,
                   bytes("cfg/coco.data", encoding="utf-8"))```

@madhawav madhawav closed this as completed Aug 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants