mlverse / torchvision

R interface to torchvision
https://torchvision.mlverse.org
Other
63 stars 15 forks source link

bug in transform_random_rotation #102

Closed sebffischer closed 5 months ago

sebffischer commented 1 year ago
torchvision::transform_random_rotation(torch::torch_randn(3, 10, 10), degrees = 3)
#> Error in if (mode == "bilinear") {: missing value where TRUE/FALSE needed

Created on 2023-12-01 with reprex v2.0.2

dfalbel commented 5 months ago

I can no longer reproduce this error.