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
As you did in your code(function load_bin()), assuming image_size == (112, 112), data_list[flip][idx][:] = torch.from_numpy(img.asnumpy()) indicates that width and height of the origin image must be equal, right? So, how to process an image if its width and height are different in size?
The text was updated successfully, but these errors were encountered:
As you did in your code(
function load_bin()
), assumingimage_size == (112, 112)
,data_list[flip][idx][:] = torch.from_numpy(img.asnumpy())
indicates that width and height of the origin image must be equal, right? So, how to process an image if its width and height are different in size?The text was updated successfully, but these errors were encountered: