torchvision
torchvision copied to clipboard
transform_grayscale not implementet for class(x)
Hey there,
I was wondering if I'm doing anything wrong, or if the transform_grayscale functionality is actually not implemented for any class?
Backtrace: ▆
- ├─torchvision::transform_grayscale(img = img, num_output_channels = 3)
- └─torchvision:::transform_grayscale.default(img = img, num_output_channels = 3)
- └─torchvision:::not_implemented_for_class(img)
-
└─torchvision:::not_implemented_error(paste0("not implemented for ", class(x)))
Run rlang::last_trace(drop = FALSE) to see 1 hidden frame.
Hi, can you please provide a reproducible example? Thanks!