[Datasets] [AIR] Add TorchVisionPreprocessor
#30403
Labels
data
Ray Data-related issues
enhancement
Request for new feature and/or capability
P1
Issue that should be fixed within a few weeks
Description
Add a preprocessor like
that applies TorchVision transforms.
Use case
To apply a simple
TorchVision
transform like:You need to something like this:
which is complicated.
With a
TorchVisionTransformer
, you could instead do:which is simpler.
The text was updated successfully, but these errors were encountered: