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

generate new images from checkpoints #122

Closed
inbalaha opened this issue May 5, 2021 · 2 comments
Closed

generate new images from checkpoints #122

inbalaha opened this issue May 5, 2021 · 2 comments

Comments

@inbalaha
Copy link

inbalaha commented May 5, 2021

Hi, we trained the model with our data and got good samples. Now we are trying to generate new images by using our checkpoint, with the following command "python generate.py checkpoint/train_step-4.model" .
we get this result:
image

the images from the samples lookes like this :
image
it seems like the generated image is a combination of the samples and a random style.
is there a way to generate the image without the style?
thanks in advance

@rosinality
Copy link
Owner

You need to set --size argument to the generate.py that matches with the resolutions model trained with.

@inbalaha
Copy link
Author

inbalaha commented May 5, 2021

thank you, it works!

@inbalaha inbalaha closed this as completed May 5, 2021
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