Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

About input photo pixel? #38

Open
boboqazqaz opened this issue Aug 8, 2021 · 5 comments
Open

About input photo pixel? #38

boboqazqaz opened this issue Aug 8, 2021 · 5 comments

Comments

@boboqazqaz
Copy link

boboqazqaz commented Aug 8, 2021

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?

@BlexFx
Copy link

BlexFx commented Sep 5, 2021

I also ran into this
why only width = height

@jiupinjia
Copy link
Owner

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.

@BlexFx
Copy link

BlexFx commented Oct 27, 2021

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

@jiupinjia
Copy link
Owner

@BlexFx Cheers!

@tyrionhuu
Copy link

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. )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants