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

The sampling question #85

Open
Emberss opened this issue Jun 18, 2024 · 1 comment
Open

The sampling question #85

Emberss opened this issue Jun 18, 2024 · 1 comment

Comments

@Emberss
Copy link

Emberss commented Jun 18, 2024

In the paper, I see the sampling trick:
"we show that using the full model (all layers) in the first half of the sampling steps and only using the original layers (without
the gated Transformer layers) in the latter half can lead to generation results that accurately reflect the grounding conditions while also having high image quality."
But in the inference code, it seems this tirck is not implemented. Could you please tell the reason?

@iLori-Jiang
Copy link

That should refer to 'alpha_type = [0.3, 0.0, 0.7]' in the code

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