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
ValueError: only one element tensors can be converted to Python scalars
In addition, setting a list of one element to magnitude argument works as shown below but it's useless so magnitude argument should only accept int but not list(int):
🐛 Describe the bug
Setting a float value to
magnitude
argument of RandAugment() gets the wrong error message as shown below:But setting
None
tomagnitude
argument doesn't work as shown below so the wrong error message above should be corrected:In addition, setting a list of one element to
magnitude
argument works as shown below but it's useless somagnitude
argument should only acceptint
but not list(int
):Versions
The text was updated successfully, but these errors were encountered: