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

如何在yolov5中添加FPS和mAPs评价指标? #13427

Open
1 task done
lqh964165950 opened this issue Nov 22, 2024 · 2 comments
Open
1 task done

如何在yolov5中添加FPS和mAPs评价指标? #13427

lqh964165950 opened this issue Nov 22, 2024 · 2 comments
Labels
question Further information is requested

Comments

@lqh964165950
Copy link

Search before asking

Question

如何在yolov5中添加FPS和mAPs评价指标?

Additional

No response

@lqh964165950 lqh964165950 added the question Further information is requested label Nov 22, 2024
@UltralyticsAssistant
Copy link
Member

👋 Hello @lqh964165950, thank you for your interest in YOLOv5 🚀!

If you're looking to add FPS and mAP evaluation metrics in YOLOv5, please make sure you are familiar with the evaluation process outlined in our official documentation.

If this is a 🐛 Bug Report, please provide a minimum reproducible example to help us debug it. This helps us understand the context better and provide a more accurate solution to the issue.

For custom training ❓ questions, please provide as much detail as possible, including examples of your dataset images and any training logs you have. Ensure you are following our guidelines for best training results, which cover topics like model hyperparameters and data preparation.

Requirements

To run YOLOv5, you need Python>=3.8.0 with all required dependencies installed. You can set up your environment by cloning the YOLOv5 repository and installing the dependencies listed in the requirements file.

Environments

YOLOv5 can be executed in various environments such as cloud-based notebooks with free GPU support, Google Cloud, Amazon Deep Learning AMI, and through Docker images.

Status

If you check the status badge in our GitHub repository, it indicates whether all Continuous Integration (CI) tests are currently passing. This badge gives you a quick overview of the repository's health and functionality.

This is an automated response, but rest assured an Ultralytics engineer will assist you soon! 😊

@pderrenger
Copy link
Member

@lqh964165950 to add FPS and mAP evaluation metrics in YOLOv5, you can utilize the validation script val.py for mAP calculations. FPS can be measured by running inference using detect.py while timing the inference process. For customized benchmarking, consider integrating tools and metrics into val.py or using external profiling libraries. You may find these guides helpful:

Feel free to adapt the code for specific metric computations. Let us know if you encounter issues!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants