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

DG-Net_Trainer类的forward函数的一个疑问 #64

Closed
RuriApoka opened this issue Oct 20, 2020 · 1 comment
Closed

DG-Net_Trainer类的forward函数的一个疑问 #64

RuriApoka opened this issue Oct 20, 2020 · 1 comment

Comments

@RuriApoka
Copy link

位于trainer.py文件的第343行,
请问为什么是先self.eval(),然后再生成图片呢?生成完成后再次self.train(),
直接处于默认的train模式会有什么问题吗?

还望指点,谢谢

@RuriApoka
Copy link
Author

突然就看明白了,打扰了

@layumi layumi closed this as completed Nov 13, 2020
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