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

Truncation psi not doing anything? #51

Open
mewo2 opened this issue Jan 24, 2021 · 1 comment
Open

Truncation psi not doing anything? #51

mewo2 opened this issue Jan 24, 2021 · 1 comment

Comments

@mewo2
Copy link

mewo2 commented Jan 24, 2021

This may be me missing something screamingly obvious, but I can't see anywhere in the code where the trunc_psi parameter is actually used. In particular, generate_truncated looks like this:

    def generate_truncated(self, G, style, trunc_psi = 0.75, num_image_tiles = 8):
        generated_images = evaluate_in_chunks(self.batch_size, G, style)
        return generated_images.clamp_(0., 1.)

That doesn't seem to do the truncation at all, and experimentation backs this up: varying psi has no discernible effect on the generated images.

@lucidrains
Copy link
Owner

@mewo2 yup, i tried to add truncation but wasn't getting good results. i've remove all traces of it in the latest commit!

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