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
resized_image in ResizeTransform should be multiplied by 255.0 before returning. Otherwise the saved image is a just a black void. In the previous line image is divided by 255.0 before resize operation.
resized_image
in ResizeTransform should be multiplied by255.0
before returning. Otherwise the saved image is a just a black void. In the previous lineimage
is divided by255.0
before resize operation.Details:
Replicate:
The images are generated and saved but they are black voids.
On multiplying
resized_image
in theResizeTranform
-transform_item
method the same code produces correct images.The text was updated successfully, but these errors were encountered: