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

about eval.py #12958

Open
1 task done
Cho-Hong-Seok opened this issue Apr 24, 2024 · 2 comments
Open
1 task done

about eval.py #12958

Cho-Hong-Seok opened this issue Apr 24, 2024 · 2 comments
Labels
question Further information is requested Stale

Comments

@Cho-Hong-Seok
Copy link

Search before asking

Question

Thank you for your always kind and detailed responses.
I apologize for the question about YOLOv6.
I didn't find the answer on the YOLOv6 github, so I apologize for posting my question here. :(

After I finished training with the YOLOv6 model, I ran eval.py to get the metrics related to Precision, mAP. I specified the save path as 'runs/result' as I thought it was in the executable code. But when it said that the evaluation was completed on the terminal, only the 'exp' folder existed in the path and the inside of the folder was empty. How can I solve this problem?

I ran this code on terminal.
's_50.pt' is This is the segmentation .pt file that trained the fire and smoke.
python tools/eval.py --data ./FST1/data.yaml --batch 32 --weights runs/train/s_50.pt --task val --save_dir runs/result --device 0
yolov6 eval
exp_empty

Additional

No response

@Cho-Hong-Seok Cho-Hong-Seok added the question Further information is requested label Apr 24, 2024
@glenn-jocher
Copy link
Member

Hello! First off, thank you for reaching out and for your kind words. 😊

It looks like you have a question related to YOLOv6, which is not a part of the Ultralytics family of models. YOLOv5 is our current offering. For YOLOv6 inquiries, you might want to contact the appropriate maintainers or community for support.

That said, if you were working with YOLOv5 and encountered similar issues, here are a few general troubleshooting tips:

  1. Ensure your data.yaml is correctly formatted and points to valid data directories.
  2. Verify that the --weights path is correct and points to a valid .pt file.
  3. Double-check if the --save_dir parameter is being properly parsed. Sometimes a slight syntax error or oversight could lead to unexpected behaviors.

In the meantime, if you have any YOLOv5 specific questions or need further assistance with our models, don't hesitate to ask. Be sure to check out our documentation on https://docs.ultralytics.com/yolov5/ for more detailed guidance and troubleshooting tips.

Hope you find the help you need for your project! 🌟

Copy link
Contributor

👋 Hello there! We wanted to give you a friendly reminder that this issue has not had any recent activity and may be closed soon, but don't worry - you can always reopen it if needed. If you still have any questions or concerns, please feel free to let us know how we can help.

For additional resources and information, please see the links below:

Feel free to inform us of any other issues you discover or feature requests that come to mind in the future. Pull Requests (PRs) are also always welcomed!

Thank you for your contributions to YOLO 🚀 and Vision AI ⭐

@github-actions github-actions bot added the Stale label May 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested Stale
Projects
None yet
Development

No branches or pull requests

2 participants