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

Is the backbone Denoising Unet need training? #106

Open
TZYSJTU opened this issue Jan 22, 2024 · 2 comments
Open

Is the backbone Denoising Unet need training? #106

TZYSJTU opened this issue Jan 22, 2024 · 2 comments

Comments

@TZYSJTU
Copy link

TZYSJTU commented Jan 22, 2024

Is the backbone Denoising Unet need to be finetuned? Or it is frozen as the SD 1.5 model?
In the paper, it says, "During this stage (second), we only train the temporal layer while fixing the weights of
the rest of the network.‘’
But I see you said "Freezing unet is not a good choice" ?
So I got confused, please answer this question, thanks!

@guoqincode
Copy link
Owner

Stage1 requires training and Stage2 is frozen

@XingML
Copy link

XingML commented Apr 18, 2024

Stage1 requires training and Stage2 is frozen

But I find that the unet is frozen in the stage 1 in your code. Is that normal?

unet.requires_grad_(False)

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

3 participants