-
Notifications
You must be signed in to change notification settings - Fork 5.7k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
<<论文复现>>如何对齐paddle中随机数种子与pytorch中随机数种子 #26637
Comments
当前版本还无法做到。具体是用在什么层中呢? |
全局的,像torch.manual_seed(opt.manual_seed)这样 |
hi,我们正在支持torch类似的manual_seed和generator功能。 |
这个问题解决了吗,paddle有对应的API了吗 torch.manual_seed |
paddle.framework.seed(seed) 好像在2.0版本找到了 |
似乎是不能完全对齐的,就算是设置一样的随机数种子,根据这个种子初始化一些参数的时候仍然会与一些区别。只能依靠加载预训练模型来进行对齐 |
Since you haven't replied for more than a year, we have closed this issue/pr. |
paddle.seed(),用paddle.randint测试过自身是能能稳定随机。 |
No description provided.
The text was updated successfully, but these errors were encountered: