-
-
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
ultralytics 8.2.16
DDP pretrained
argument fix
#11787
ultralytics 8.2.16
DDP pretrained
argument fix
#11787
Conversation
All Contributors have signed the CLA. β
|
I have read the CLA Document and I sign the CLA |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
π Hello @comlhj1114, thank you for submitting an Ultralytics YOLOv8 π PR! To allow your work to be integrated as seamlessly as possible, we advise you to:
- β
Verify your PR is up-to-date with
ultralytics/ultralytics
main
branch. If your PR is behind you can update your code by clicking the 'Update branch' button or by runninggit pull
andgit merge main
locally. - β Verify all YOLOv8 Continuous Integration (CI) checks are passing.
- β Update YOLOv8 Docs for any new or updated features.
- β Reduce changes to the absolute minimum required for your bug fix or feature addition. "It is not daily increase but daily decrease, hack away the unessential. The closer to the source, the less wastage there is." β Bruce Lee
See our Contributing Guide for details and let us know if you have any questions!
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #11787 +/- ##
==========================================
- Coverage 74.77% 70.60% -4.18%
==========================================
Files 122 122
Lines 15634 15632 -2
==========================================
- Hits 11691 11037 -654
- Misses 3943 4595 +652
Flags with carried forward coverage won't be shown. Click here to find out more. β View full report in Codecov by Sentry. |
I have read the CLA Document and I sign the CLA |
@Laughing-q can you review this proposed fix? Is it necessary? Thanks! |
@glenn-jocher yes I tested and confirmed yolo detect train data=coco128.yaml model=yolov8n.yaml pretrained=yolov8n.pt device=0,1 and it got exactly the same results as directly loading model by yolo detect train data=coco128.yaml model=yolov8n.pt which means |
@johnnynunez is the one with dark blue that trained with |
|
@johnnynunez got it! Thanks! Then it means the PR is working! |
@Laughing-q @johnnynunez awesome, thanks guys! |
ultralytics 8.2.16
DDP pretrained
argument fix
@comlhj1114 PR merged! Thank you for your contributions. Please let us know if you spot any other areas we could improve :) |
Co-authored-by: UltralyticsAssistant <web@ultralytics.com> Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com> Co-authored-by: Laughing-q <1185102784@qq.com> Co-authored-by: Laughing <61612323+Laughing-q@users.noreply.github.com>
This PR solves an issue (#11769), which is related to loading a pretrained model in multi-gpu training.
I solved the problem by using the "pretrained" argument and modifying setup_model function in BaseTrainer to load a pretrained weight.
π οΈ PR Summary
Made with β€οΈ by Ultralytics Actions
π Summary
Enhancements and bug fixes in the Ultralytics framework, bringing it to version 8.2.16.
π Key Changes
tutorial.ipynb
) cleaned up to remove error messages related to cuDNN, cuFFT, and cuBLAS registration failures.__init__.py
from 8.2.15 to 8.2.16.trainer.py
, improved model setup logic by refining the handling of configuration files and pretrained weights, ensuring that the correct setup path is chosen based on the input.π― Purpose & Impact