mlverse / torchvision

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

bug in transform_random_rotation #102

Closed sebffischer closed 4 months ago

sebffischer commented 11 months 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 4 months ago

I can no longer reproduce this error.