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

两个main里面保存模型的判断有bug #1

Open
Yyeese opened this issue Jun 8, 2023 · 1 comment
Open

两个main里面保存模型的判断有bug #1

Yyeese opened this issue Jun 8, 2023 · 1 comment

Comments

@Yyeese
Copy link

Yyeese commented Jun 8, 2023

if global_step % self.save_step:
这么写岂不是每一步都在保存了
是不是想写
if global_step % self.save_step == 0:

@taishan1994
Copy link
Owner

if global_step % self.save_step: 这么写岂不是每一步都在保存了 是不是想写 if global_step % self.save_step == 0:

是的,感谢指出。

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