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

Size of output. #45

Closed
MAGLeb opened this issue Apr 28, 2022 · 2 comments
Closed

Size of output. #45

MAGLeb opened this issue Apr 28, 2022 · 2 comments

Comments

@MAGLeb
Copy link

MAGLeb commented Apr 28, 2022

Right now the size of the output is 1024x1024 pixels. Can I change the size of the output?

@rinongal
Copy link
Owner

rinongal commented May 3, 2022

In what sense are you trying to change the size of the output? If you have a pre-trained model with another output size, you can use the --size argument to tell the model to expect this alternative size. If you're asking whether a pre-trained 1024x1024 model can be used to produce images of other resolutions - the answer is no. You'll have to resize the output yourself. For decreasing resolution you can probably just work with PIL's resize. If you want to increase resolution, I'd have a look at super resolution models like ESRGAN.

@MAGLeb
Copy link
Author

MAGLeb commented May 13, 2022

I really appreciate your help here!

I looked through the closed issues and found some tips about the quality of images, increasing iterations, and decreasing learning_rate. Also, tried to use the ESRGAN model, and the resolution is increased but the quality and blur effect remained the same.

@MAGLeb MAGLeb closed this as completed May 13, 2022
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

2 participants