You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@2375963934a hello! Thanks for reaching out. 😊 To boost your YOLOv5-seg model training speed with a low GPU utilization issue, here are a few tips that might help:
Batch Size: Increase your batch size as much as your GPU memory allows. This often leads to better GPU utilization.
Workers: Increase the number of workers in your dataloader. Try setting it to 2x the number of your CPU cores.
Mixed Precision Training: Use mixed precision training by setting --amp flag, which can significantly improve training speed with minimal impact on accuracy.
Image Size: Training on smaller images can speed things up. Ensure the size is divisible by 64 (e.g., 640, 320).
Optimizer: Experiment with different optimizers. Sometimes, changing the optimizer can affect training speed.
Code snippet example for training command with mixed precision:
👋 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 ⭐
Search before asking
Question
怎么可以提高yolov5-seg模型的训练速度,调用了GPU,但是利用率很低,3070ti的显卡训练八千张图片一轮需要九分钟
Additional
No response
The text was updated successfully, but these errors were encountered: