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!
------------------ 原始邮件 ------------------ 发件人:***@***.***>; 发送时间: 2021年8月16日(星期一) 上午10:08 收件人:***@***.***>; 抄送:***@***.***>;***@***.***>; 主题: Re: [PaddlePaddle/Paddle] max_iters和snapshot_iter可以不设置吗? (#34904) 可以加一个保存模型的逻辑,在训练中做评估,比较每次的评估指标,保存最优评估指标的模型即可 — 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.
4条答案
按热度按时间lf5gs5x21#
您好,我们已经收到了您的问题,会安排技术人员尽快解答您的问题,请耐心等待。请您再次检查是否提供了清晰的问题描述、复现代码、环境&版本、报错信息等。同时,您也可以通过查看官网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!
blmhpbnm2#
可以加一个保存模型的逻辑,在训练中做评估,比较每次的评估指标,保存最优评估指标的模型即可
x0fgdtte3#
这个似乎是train.py函数自带的,我是希望中途能不存不要的模型,这样不会导致程序过大…
------------------ 原始邮件 ------------------ 发件人:***@***.***>; 发送时间: 2021年8月16日(星期一) 上午10:08 收件人:***@***.***>; 抄送:***@***.***>;***@***.***>; 主题: Re: [PaddlePaddle/Paddle] max_iters和snapshot_iter可以不设置吗? (#34904) 可以加一个保存模型的逻辑,在训练中做评估,比较每次的评估指标,保存最优评估指标的模型即可 — 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.
kd3sttzy4#
train.py函数里的逻辑是可以修改的,如果你当前保存的模型和上次保存的模型名字是一样的,会覆盖掉之前的;
或者每次保存最新模型的时候删除掉之前保存的模型也可以
你用的是哪个模型和算法,我看下保存模型的逻辑