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

Low Recall #1919

Open
clydebailey opened this issue Nov 12, 2018 · 11 comments
Open

Low Recall #1919

clydebailey opened this issue Nov 12, 2018 · 11 comments

Comments

@clydebailey
Copy link

I am training an XNOR version of tiny-yolov2 with 7th and 8th layer in XNOR. I found out some lines commented out
133-136 from the convolutional_kernels.cu file.
https://github.com/AlexeyAB/darknet/blob/7f4b859514c7fcae1f9cc86276be31f133b5bc7c/src/convolutional_kernels.cu
After uncommenting these lines, i trained for more than 100,000 iterations and got a decent precision but a bad a recall.

  1. Why were those lines commented in the convolutional_kernel.cu file when we need the binarization input state?

  2. Why am I getting a bad recall rate?
    precision: 0.59
    TP: 107
    FP:73
    FN:8793

@sporterman
Copy link

@clydebailey have you met the follow trouble? hope some advice
image

@clydebailey
Copy link
Author

@sporterman
No. Your problems are related to your data files. Make sure that you have pointed your training data properly in obj.data and obj.names files

@sporterman
Copy link

@clydebailey i'sure the two files are correct, are there any other paramsters i need change

@clydebailey
Copy link
Author

please show the .data and .names files along with the contents of training set.

@sporterman
Copy link

sporterman commented Nov 13, 2018

@clydebailey
/database/yolov3/darknet1/data/obj.data:
image
/database/yolov3/darknet1/data/logo.names:
image
/database/yolov3/darknet1/data/train.txt:
image
/database/yolov3/darknet1/data/obj:
image
train command: ./darknet detector train data/obj.data cfg/yolo-obj.cfg darknet53.conv74

@yongcong1415
Copy link

you dataset is coco? i only trained at pascal format,

@sporterman
Copy link

@yongcong1415 no. my personal dataset, now the obj is decreasing while training,,.....

@yongcong1415
Copy link

@yongcong1415 no. my personal dataset, now the obj is decreasing while training,,.....

i mean you dataset format,you need use yolo_mark.exe to check you boxes position;

@clydebailey
Copy link
Author

clydebailey commented Nov 13, 2018

Try maintaining your images under "JPEG images" and annotations under "Annotations". This is the file format for Pascal training.
And yes, use yolo_mark to check annotations.

@sporterman
Copy link

@clydebailey how to use yolo_mark to check my data and label,

@clydebailey
Copy link
Author

  1. Clone https://github.com/AlexeyAB/Yolo_mark/
  2. Make sure Opencv is installed
  3. Keep all your images and annotations(yolo format) in x64/Release/data/img
  4. Update the .data and .names in /data
  5. Run ./linux_mark.sh

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

3 participants