Skip to content

Commit

Permalink
fix torch test on mix_up (#20623)
Browse files Browse the repository at this point in the history
  • Loading branch information
sampathweb authored Dec 10, 2024
1 parent 9294db1 commit a0f586b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ def get_random_transformation(self, data, training=True, seed=None):
}

def transform_images(self, images, transformation=None, training=True):
images = self.backend.cast(images, self.compute_dtype)
mix_weight = transformation["mix_weight"]
permutation_order = transformation["permutation_order"]

Expand Down

0 comments on commit a0f586b

Please sign in to comment.