Hi! We've received your issue and please be patient to get responded. We will arrange technicians to answer your questions as soon as possible. Please make sure that you have posted enough message to demo your request. You may also check out the API,FAQ,Github Issue and AI community to get the answer.Have a nice day!
------------------ 原始邮件 ------------------ 发件人: "PaddlePaddle/Paddle"***@***.***>; 发送时间: 2021年9月23日(星期四) 晚上10:10***@***.***>;***@***.******@***.***>; 主题: Re: [PaddlePaddle/Paddle] 如何固定随机种子,保证网络训练过程可以复现 (#36029) 是不是什么地方用到了numpy,把numpy的随机种子也固定一下 paddle.seed(123) np.random.seed(2021) — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.
------------------ 原始邮件 ------------------ 发件人: "PaddlePaddle/Paddle"***@***.***>; 发送时间: 2021年9月24日(星期五) 下午2:01***@***.***>;***@***.******@***.***>; 主题: Re: [PaddlePaddle/Paddle] 如何固定随机种子,保证网络训练过程可以复现 (#36029) 跑的静态图还是动态图,再试试paddle.static.default_main_program().random_seed = 102 — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.
------------------ 原始邮件 ------------------ 发件人: "PaddlePaddle/Paddle"***@***.***>; 发送时间: 2021年9月24日(星期五) 晚上7:52***@***.***>;***@***.******@***.***>; 主题: Re: [PaddlePaddle/Paddle] 如何固定随机种子,保证网络训练过程可以复现 (#36029) 是不是还有python的random随机种子需要固定random.seed(123) — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.
8条答案
按热度按时间eqqqjvef1#
您好,我们已经收到了您的问题,会安排技术人员尽快解答您的问题,请耐心等待。请您再次检查是否提供了清晰的问题描述、复现代码、环境&版本、报错信息等。同时,您也可以通过查看官网API文档、常见问题、历史Issue、AI社区来寻求解答。祝您生活愉快~
Hi! We've received your issue and please be patient to get responded. We will arrange technicians to answer your questions as soon as possible. Please make sure that you have posted enough message to demo your request. You may also check out the API,FAQ,Github Issue and AI community to get the answer.Have a nice day!
8iwquhpp2#
是不是什么地方用到了numpy,把numpy的随机种子也固定一下
paddle.seed(123)
np.random.seed(2021)
piah890a3#
您好,好像并不起作用, 而且我的模型用的是何凯明初始化, 我的输入是固定的1张图片 用了paddle。seed每次输出的结果并不相同…
------------------ 原始邮件 ------------------ 发件人: "PaddlePaddle/Paddle"***@***.***>; 发送时间: 2021年9月23日(星期四) 晚上10:10***@***.***>;***@***.******@***.***>; 主题: Re: [PaddlePaddle/Paddle] 如何固定随机种子,保证网络训练过程可以复现 (#36029) 是不是什么地方用到了numpy,把numpy的随机种子也固定一下 paddle.seed(123) np.random.seed(2021) — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.
doinxwow4#
跑的静态图还是动态图,再试试
paddle.static.default_main_program().random_seed = 102
bq8i3lrv5#
是在aistudio paddle2.1.2中跑的动态图…
------------------ 原始邮件 ------------------ 发件人: "PaddlePaddle/Paddle"***@***.***>; 发送时间: 2021年9月24日(星期五) 下午2:01***@***.***>;***@***.******@***.***>; 主题: Re: [PaddlePaddle/Paddle] 如何固定随机种子,保证网络训练过程可以复现 (#36029) 跑的静态图还是动态图,再试试paddle.static.default_main_program().random_seed = 102 — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.
ippsafx76#
是不是还有python的random随机种子需要固定
random.seed(123)
bn31dyow7#
并没有效果…
------------------ 原始邮件 ------------------ 发件人: "PaddlePaddle/Paddle"***@***.***>; 发送时间: 2021年9月24日(星期五) 晚上7:52***@***.***>;***@***.******@***.***>; 主题: Re: [PaddlePaddle/Paddle] 如何固定随机种子,保证网络训练过程可以复现 (#36029) 是不是还有python的random随机种子需要固定random.seed(123) — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.
yiytaume8#
能提供复现代码吗?是否代码里有修改随机状态。