We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
No description provided.
The text was updated successfully, but these errors were encountered:
您好,很抱歉代码中随机种子固定的策略可能有遗漏。 如果种子设置没问题的话,结果还是不一样可能是torch.backends.cudnn.benchmark的问题。这是python调用cudnn来加速卷积的一个机制。解决方法是将torch.backends.cudnn.benchmark = False,然后直接加一句torch.backends.cudnn.deterministic = True。
Sorry, something went wrong.
作者你好,我也遇到了这个问题,并且我在set_seed里加入了您说的那两行代码,但是每次的结果还是在变化,还有什么解决办法吗
您好,我建议您检查下是否还有部分参数的种子没有fix,我也不是很清楚您这种情况非常抱歉。
No branches or pull requests
No description provided.
The text was updated successfully, but these errors were encountered: