jiupinjia / stylized-neural-painting

Official Pytorch implementation of the preprint paper "Stylized Neural Painting", in CVPR 2021.

Home Page:https://jiupinjia.github.io/neuralpainter/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

About input photo pixel?

boboqazqaz opened this issue · comments

Can I use photo pixel like 1280 * 720?
When I use --canvas_size 720
The photo size will be forced to be 720 * 720.
How to change the output photo size to 1280*720?

I also ran into this
why only width = height

Hi @BlexFx and @boboqazqaz, sorry for the late reply. You can try --keep_aspect_ratio if you want your aspect ratio unchanged. Please let me know if you have any further questions.

Hi @jiupinjia Thank you!
No questions yet
I will share my generations soon /ᐠ。ꞈ。ᐟ\

I used --keep_aspect_ratio and the canvas was still square. What had I done wrong?(・_・;
python3 demo_prog.py --img_path ./test_images/apple.jpg --canvas_color 'white' --keep_aspect_ratio --max_m_strokes 500 --max_divide 5 --renderer oilpaintbrush --renderer_checkpoint_dir checkpoints_G_oilpaintbrush --net_G zou-fusion-net
(I change the size of apple.jpg. )