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

mAP is 0% and the chart goes up and down... #8904

Open
hechoel opened this issue May 9, 2024 · 4 comments
Open

mAP is 0% and the chart goes up and down... #8904

hechoel opened this issue May 9, 2024 · 4 comments
Labels
Training issue Training issue - no-detections / Nan avg-loss / low accuracy:

Comments

@hechoel
Copy link

hechoel commented May 9, 2024

#1 - Installation information
CUDA-version: 11010 (12000), cuDNN: 8.9.7, CUDNN_HALF=1, GPU count: 1
CUDNN_HALF=1
OpenCV version: 4.6.0
0 : compute_capability = 890, cudnn_half = 1, GPU: NVIDIA GeForce RTX 4060 Laptop GPU
net.optimized_memory = 0
mini_batch = 1, batch = 64, time_steps = 1, train = 0

#2 - Command
darknet detector train data/projectname4/obj.data data/projectname4/yolov4-custom.cfg yolov4.conv.137 -map

#3 - cfg file
yolov4-custom.txt

#4 - data file
projectname4.zip

#5 - problem
chart_yolov3_testing

A few things I tried to solve

  1. Change from v3 to v4
  2. Read and change anchors values
  3. Recheck labeling image
  4. Edit batch, subdivision size (64 -> 32/There is an issue where it turns off due to an unknown error)

Is the image the problem?..
What is the problem?
I need help..

@hechoel hechoel added the Training issue Training issue - no-detections / Nan avg-loss / low accuracy: label May 9, 2024
@stephanecharette
Copy link
Collaborator

Please try the new Darknet/YOLO repo: https://github.com/hank-ai/darknet?tab=readme-ov-file#table-of-contents

@hechoel
Copy link
Author

hechoel commented May 16, 2024

새로운 다크넷/욜로(Darknet/YOLO) 저장소를 사용해 보세요 https://github.com/hank-ai/darknet?tab=readme-ov-file#table-of-contents.

I training the tiny model with the new version, but the symptoms are the same.
Is it because there are not enough sample images?
[yolov4-tiny-custo
projectname6.zip
m.txt](https://github.com/AlexeyAB/darknet/files/15328169/yolov4-tiny-custom.txt)
chart

@hechoel
Copy link
Author

hechoel commented May 16, 2024

Please try the new Darknet/YOLO repo: https://github.com/hank-ai/darknet?tab=readme-ov-file#table-of-contents

"darknet detector train data/projectname6/obj.data data/projectname6/yolov4-tiny-custom.cfg -map"
The order is as follows:
Older versions include pre-training files. Is it that important?

@stephanecharette
Copy link
Collaborator

Join us on the discord server if you'd like more assistance, as these issue tickets aren't great for conversations. https://discord.gg/zSq8rtW

What would be best is if you can share your dataset so we can replicate your results.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Training issue Training issue - no-detections / Nan avg-loss / low accuracy:
Projects
None yet
Development

No branches or pull requests

2 participants