-
Notifications
You must be signed in to change notification settings - Fork 51
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
Process is getting killed #5
Comments
same here I started trying different cfgs until finally, this worked. sudo ./darknet detector test cfg/coco.data cfg/yolov2.cfg yolo.weights data/dog.jpg With output layer filters size input output I guess the rpi can't handle all the processing data from the model so you might try another model or another hardware for it |
the process got killed because it uses a lot of system memory, try enable swap or use tiny cfg |
tiny worked with ~500MB of Swap space. |
sudo ./darknet detect cfg/yolo.cfg bin/yolo.weights data/dog.jpg
layer filters size input output
0 conv 32 3 x 3 / 1 608 x 608 x 3 -> 608 x 608 x 32
1 max 2 x 2 / 2 608 x 608 x 32 -> 304 x 304 x 32
2 conv 64 3 x 3 / 1 304 x 304 x 32 -> 304 x 304 x 64
........
29 conv 1024 3 x 3 / 1 19 x 19 x1280 -> 19 x 19 x1024
30 conv 425 1 x 1 / 1 19 x 19 x1024 -> 19 x 19 x 425
31 detection
mask_scale: Using default '1.000000'
Loading weights from bin/tiny-yolo-voc.weights...Done!
Killed
How to fix it ?
Tried following, that too killed
sudo ./darknet detect cfg/yolo.cfg bin/tiny-yolo-voc.weights data/dog.jpg
The text was updated successfully, but these errors were encountered: