Replies: 1 comment 1 reply
-
Hi @rcremese, since the |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I don't want to polute the issue tracker with this but won't it be possible to be more permissive types in transforms like Resize ?
I fact I realized an error is raised when using the "longest" size_mode.
Resize(new_dim, size_mode="longest", mode="nearest")
If new_dim is an instance of numpy.int64 or torch.int32 it raise the following exception :
I understand why but can't it convert value to an
int
first and raise the error if the type is different ?Beta Was this translation helpful? Give feedback.
All reactions