You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I've hardcoded this entire function call -- it's specific to a 3-dimensional array, where the innermost element has 3 channels. This is probably not a good idea at all.
To Reproduce
There's no bug at the moment, so this is redundant. I'm sure this'll lead to a load of different bugs if not fixed though.
Expected behavior
Generalises to different sized input arrays
Maybe something more efficient than 3 nested loops?
Screenshots
N/A
Desktop (please complete the following information):
N/A
Describe the bug
I've hardcoded this entire function call -- it's specific to a 3-dimensional array, where the innermost element has 3 channels. This is probably not a good idea at all.
To Reproduce
There's no bug at the moment, so this is redundant. I'm sure this'll lead to a load of different bugs if not fixed though.
Expected behavior
Screenshots
N/A
Desktop (please complete the following information):
N/A
Additional context
Ref:
pytorchjs/src/torchvision/transforms/transforms.js
Line 48 in 4611105
The text was updated successfully, but these errors were encountered: