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

about the freezing of generator #4

Closed
qiuyuda opened this issue Jul 7, 2021 · 2 comments
Closed

about the freezing of generator #4

qiuyuda opened this issue Jul 7, 2021 · 2 comments

Comments

@qiuyuda
Copy link

qiuyuda commented Jul 7, 2021

Thanks for the code~
I'm confused about freezing the specific layers of generator.

After you set the layers of the generator to false in Line 181
requires_grad(generator, False)

What's the purpose of Line 192~195?

@happy-jihye
Copy link
Owner

happy-jihye commented Jul 7, 2021

You can omit the code. (Line 192 ~ 195, 202 ~ 206, 212, 220)
I wrote it so as not to be confused 😊

@qiuyuda
Copy link
Author

qiuyuda commented Jul 8, 2021

Thanks~

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