junyanz / pytorch-CycleGAN-and-pix2pix

Image-to-Image Translation in PyTorch
Other
22.71k stars 6.27k forks source link

Neural Style Transfer in text,not aspect_ratio #1075

Open zhongqiang92 opened 4 years ago

zhongqiang92 commented 4 years ago

hi,when i use this code for text ,i fond it's not ratio resize(my pic is height>width)

zhongqiang92 commented 4 years ago

it's Irregular rectangle, How to deal with it

junyanz commented 4 years ago

You can use --preprocess none or --preprocess scale_width. See here for more details.