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
Hi, playing around with the package I just saw that it is often not type stable, e.g. putting in an image containing Float32 it returns a Float64 image. Affected functions I have tested:
Resize
Rotate
Shear
Zoom
I think working on this issue would increase the performance even more.
Edit: Example:
raw =rand(Float32,8,100,100)
img =view(reinterpret(SVector{8,Float32}, raw), 1,:,:) # now its an AbstractMatrix
imgcp =copy(img) # for demo purposes
pl =Rotate(123)
aug =augment(imgcp, pl)
typeof(aug) ==typeof(imgcp)
The text was updated successfully, but these errors were encountered:
Hi, playing around with the package I just saw that it is often not type stable, e.g. putting in an image containing Float32 it returns a Float64 image. Affected functions I have tested:
Resize
Rotate
Shear
Zoom
I think working on this issue would increase the performance even more.
Edit: Example:
The text was updated successfully, but these errors were encountered: