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

what is bs_scale for? #145

Open
indigopyj opened this issue Dec 12, 2023 · 0 comments
Open

what is bs_scale for? #145

indigopyj opened this issue Dec 12, 2023 · 0 comments

Comments

@indigopyj
Copy link

indigopyj commented Dec 12, 2023

bs_scale = 2 if positive_t5_embs is None else 3

I am interested in inpainting model and I found the variable 'bs_scale'.
However, I don't know what is the purpose of this variable.
Why do we have to multiple batch_size by 2 ?

Does anyone know about it?

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

1 participant