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

Failed to detect objects without any error #31

Open
kalikhademi opened this issue Jul 27, 2021 · 0 comments
Open

Failed to detect objects without any error #31

kalikhademi opened this issue Jul 27, 2021 · 0 comments

Comments

@kalikhademi
Copy link

I am training the detector on my dataset to detect one specific object ( number of classes is equal to 1). I use the yolo3.weights from original website. I do not recieve any error but when I run the command:
./darknet detector batch build/darknet/x64/data/obj.data cfg/yolo-obj.cfg weights/yolov3.weights io_folder sample_imgs/ output/ -out output/result.json -ext_output > output/result.txt

the result.json objects are empty and there are no bounding boxes drawn on the images. For each picture in the sample_imgs folder I recieve this log:
Not compiled with OpenCV, saving to output/18T_1076301.png instead

Also during the detection, I recieve the following warnings:
Cannot load image "data/labels/126_7.png"
STB Reason: can't fopen
How can I change it?

Thanks,
Kiana

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

1 participant