Skip to content

Conversation

@GdoongMathew
Copy link
Contributor

@GdoongMathew GdoongMathew commented Jun 28, 2025

Raise validation error when no transforms passed to RandomApply, RandomChoice and RandomOrder.

fix #9022

cc @vfdev-5

@pytorch-bot
Copy link

pytorch-bot bot commented Jun 28, 2025

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/vision/9130

Note: Links to docs will display an error until the docs builds have been completed.

❌ 15 New Failures, 15 Cancelled Jobs

As of commit 196524f with merge base b818d32 (image):

NEW FAILURES - The following jobs have failed:

CANCELLED JOBS - The following jobs were cancelled. Please retry:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@GdoongMathew
Copy link
Contributor Author

A friendly ping to @NicolasHug for a code review.

@NicolasHug NicolasHug changed the title fix #9022 Raise validation error when no transforms passed to RandomApply, RandomChoice and RandomOrder. Aug 8, 2025
Copy link
Member

@NicolasHug NicolasHug left a comment

Choose a reason for hiding this comment

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

Thanks a lot for the PR @GdoongMathew . Failures seem unrelated, merging

@NicolasHug NicolasHug merged commit dffbf2d into pytorch:main Aug 8, 2025
42 of 46 checks passed
@github-actions
Copy link

github-actions bot commented Aug 8, 2025

Hey @NicolasHug!

You merged this PR, but no labels were added.
The list of valid labels is available at https://github.com/pytorch/vision/blob/main/.github/process_commit.py

facebook-github-bot pushed a commit that referenced this pull request Aug 8, 2025
…ply, RandomChoice and RandomOrder. (#9130) Summary: Co-authored-by: Nicolas Hug <nh.nicolas.hug@gmail.com> Reviewed By: scotts Differential Revision: D79882551 fbshipit-source-id: b3a14a217134ceef12a42aa1436b532ca7c51827
@GdoongMathew GdoongMathew deleted the fix/err_msg_random_apply branch October 24, 2025 09:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment