-
-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
can i calculate the looses in the test dataset #12914
Comments
Hello! To calculate losses on the test dataset using YOLOv8, you can use the yolo val model=yolov8n.pt data=test_data.yaml Make sure your |
@glenn-jocher did this calculate the box lose and cls loses |
Hello! Yes, YOLOv8 calculates both box loss and class loss during training and validation. You can see these losses in the output logs when you run the training or validation process. For example: yolo train model=yolov8n.pt data=coco128.yaml This command will display the box and class losses among other metrics during the training. If you need to specifically track these losses, you can check the logs or modify the logging settings in your configuration. Happy training! 🚀 |
@glenn-jocher can I calculate them without traning,I already have the model, I need to get theses values with the test part of my dataset |
Hello! Yes, you can calculate the box and class losses on your test dataset without additional training by using the yolo val model=path/to/your/model.pt data=test_data.yaml Ensure your |
Search before asking
Question
i want to to calculate the loses in the test part of the dataset .
Additional
No response
The text was updated successfully, but these errors were encountered: