Closed FrancescoSaverioZuppichini closed 1 year ago
I've printed target.shape and G.img_channels, G.img_resolution, G.img_resolution
torch.Size([3, 570, 728]), 3 1024 1024
ops the target image was not 1024x1024 😓
Since I am here, I'd like to ask the best way to resize the image to preserve aspect ration and run it with run_pti
Hi @FrancescoSaverioZuppichini, To my knowledge bilinear interpolation or quadratic interpolation(if you have the time) works pretty good
Hi there 👋
Thanks a lot for the project, I trying to use
run_pti
with an image but I got this errorI first try to resize the image to
1024x512
then to1024x1024
but the error persist.Thanks a lot
Fra