Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

transform_grayscale not implementet for class(x) #84

Open
Slimnshady opened this issue Mar 29, 2023 · 1 comment
Open

transform_grayscale not implementet for class(x) #84

Slimnshady opened this issue Mar 29, 2023 · 1 comment

Comments

@Slimnshady
Copy link

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:

  1. ├─torchvision::transform_grayscale(img = img, num_output_channels = 3)
  2. └─torchvision:::transform_grayscale.default(img = img, num_output_channels = 3)
  3. └─torchvision:::not_implemented_for_class(img)
  4. └─torchvision:::not_implemented_error(paste0("not implemented for ", class(x)))
    

Run rlang::last_trace(drop = FALSE) to see 1 hidden frame.

@skeydan
Copy link
Contributor

skeydan commented Mar 29, 2023

Hi,
can you please provide a reproducible example?
Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants