Skip to content

Kwargs Not Passed in RandZoom #8492

Closed

Description

@rspc-anthony

Describe the bug
The kwargs passed in the RandZoom transform are not passed to the zooming method used. The underlying Zoom class gets them in __init__ but does not use them in __call__.

Expected behavior
Kwargs need to be passed for things like filling values or other arguments to torch or numpy pad functions.

Activity

  1. IamTingTing commented on Jul 1, 2025

    @IamTingTing
    Contributor

    Hi, thanks for reporting this issue!

    I'm looking into a possible fix for this. Could you share which specific kwargs you were trying to pass to the transform?

    Knowing your use case would help me make sure the fix covers it properly. Thanks!

  2. added a commit that references this issue on Jul 11, 2025
    e499362
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions