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

Abut the different of code and paper #27

Open
Yi-Qi638 opened this issue Jul 2, 2023 · 1 comment
Open

Abut the different of code and paper #27

Yi-Qi638 opened this issue Jul 2, 2023 · 1 comment

Comments

@Yi-Qi638
Copy link

Yi-Qi638 commented Jul 2, 2023

The paper claims that ODISE freezes the Denoising Unet. However, upon inspecting the code from ODISE's "ldm.py" file, I encountered some aspects that left me uncertain about the actual freezing status of the Unet. This code is from ODISE/odise/modeling/meta_arch/ldm.py 974
20230626-103552

@xvjiarui
Copy link
Contributor

xvjiarui commented Jul 3, 2023

Hi @wangyiqi
Since we need to back propagate the gradient through UNet ( we are not changing the UNet feature, we just need the grad to optimizer the MLP of implicit captioner), so we need to set the grad before we forward.

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