garbage_classify
garbage_classify copied to clipboard
垃圾分类本地运行
作者您好 我在本地运行您的run.py文件,用的efficentnet-b5_notop.h5权重文件,input_size=228(没有用456,GPU原因),batch_size=8,epoch=30 但是loss下降的很慢,训练集acc能到0.95,但是测试集acc基本在70%左右不怎么变化 请问下是什么原因呢
你好,size对准确率的影响非常大。建议用大的size发自我的iPhone------------------ 原始邮件 ------------------发件人: flamencoipython [email protected]发送时间: 2019年12月4日 11:29收件人: wusaifei/garbage_classify [email protected]抄送: Subscribed [email protected]主题: 回复:[wusaifei/garbage_classify] 垃圾分类本地运行 (#12)作者您好 我在本地运行您的run.py文件,用的efficentnet-b5_notop.h5权重文件,input_size=228(没有用456,GPU原因),batch_size=8,epoch=30 但是loss下降的很慢,训练集acc能到0.95,但是测试集acc基本在70%左右不怎么变化 请问下是什么原因呢
—You are receiving this because you are subscribed to this thread.Reply to this email directly, view it on GitHub, or unsubscribe. [ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/wusaifei/garbage_classify/issues/12?email_source=notifications\u0026email_token=AGUB6EAZVA3ES3VR2RH4MCDQW4P3NA5CNFSM4JVCKWLKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4H54F4IQ", "url": "https://github.com/wusaifei/garbage_classify/issues/12?email_source=notifications\u0026email_token=AGUB6EAZVA3ES3VR2RH4MCDQW4P3NA5CNFSM4JVCKWLKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4H54F4IQ", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]
第一原因:batch选择的太小,一般情况下batch是16以及以上最佳,不然准确率会下降很多。第二个原因:默认尺寸是最好的,228太小了失去了很多信息。建议size改成380或者456,batch改成16以及以上,准确率就会上升啦。
感谢🙏 还有一个问题 就是您代码里定义标签平滑化的参考网站需要登录名和密码吗?------------------ 原始邮件 ------------------ 发件人: "仵赛飞"[email protected] 发送时间: 2019年12月12日(星期四) 晚上10:55 收件人: "wusaifei/garbage_classify"[email protected]; 抄送: "flamencoipython"[email protected];"Author"[email protected]; 主题: Re: [wusaifei/garbage_classify] 垃圾分类本地运行 (#12)
第一原因:batch选择的太小,一般情况下batch是16以及以上最佳,不然准确率会下降很多。第二个原因:默认尺寸是最好的,228太小了失去了很多信息。建议size改成380或者456,batch改成16以及以上,准确率就会上升啦。
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.
@flamencoipython 你好不需要呀