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

Hotfix/alg 1470 drop boxes padding #1107

Merged
merged 13 commits into from
Jun 8, 2023
Merged

Conversation

yurkovak
Copy link
Contributor

Removed max_targets param from:

  • DetectionTargetsFormatTransform
  • DetectionPaddedRescale, it didn't do anything anyway
  • DetectionHorizontalFlip for the case of empty targets, because there won't be a collate to undo it

Updated:

  • detection collates (crowd and without, usual and for PPYolo);
  • all places that were passing max_targets (yamls, tests, notebook)

Trained:

  • yolox
  • ppyolo

(both just to see train/val epoch runs, didn't do metric checks)

@yurkovak
Copy link
Contributor Author

Thanks for the fast review, addressed

@yurkovak yurkovak requested a review from BloodAxe May 31, 2023 14:36
yurkovak and others added 3 commits June 1, 2023 14:00
# Conflicts:
#	src/super_gradients/recipes/dataset_params/coco_detection_yolo_nas_dataset_params.yaml
#	src/super_gradients/training/transforms/transforms.py
# Conflicts:
#	tests/unit_tests/test_deprecations.py
@yurkovak yurkovak requested a review from BloodAxe June 5, 2023 07:25
Copy link
Contributor

@Louis-Dupont Louis-Dupont left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, thanks for your contribution! I left a few comments, let me know your thoughts

src/super_gradients/training/utils/detection_utils.py Outdated Show resolved Hide resolved
src/super_gradients/training/utils/detection_utils.py Outdated Show resolved Hide resolved
src/super_gradients/training/utils/detection_utils.py Outdated Show resolved Hide resolved
@yurkovak yurkovak requested a review from Louis-Dupont June 5, 2023 11:22
@yurkovak
Copy link
Contributor Author

yurkovak commented Jun 8, 2023

@Louis-Dupont @BloodAxe addressed, please take a look

Copy link
Contributor

@Louis-Dupont Louis-Dupont left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@yurkovak yurkovak merged commit 75b6a4f into master Jun 8, 2023
@yurkovak yurkovak deleted the hotfix/ALG-1470_drop-boxes-padding branch June 8, 2023 13:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants