FCHD-Fully-Convolutional-Head-Detector icon indicating copy to clipboard operation
FCHD-Fully-Convolutional-Head-Detector copied to clipboard

为什么做了pytorch的数据增强后效果反而变差了

Open KelvinHuang666 opened this issue 5 years ago • 4 comments

为了提高模型的精度,我想到了如下三个办法1:做增量训练,2:改用Adam优化器,暂时还没有成功,具体报错是数据格式的问题,我稍后再尝试一下,3:做数据增强,可是模型评估的系数一直很低,所以想请教一下有什么办法提议提高模型的精确度,还有就是判断标准就就仅仅看每一个epochs后打印的那个准确值吗??在一定的epoch后选择一个最好的模型再继续往下训练会有效果吗??个人感觉会过拟合,而且评估系数只会越来越低,这又该如何解释呢。

KelvinHuang666 avatar May 17 '19 01:05 KelvinHuang666

please using in english.

sunjunlishi avatar May 22 '19 08:05 sunjunlishi

In order to improve the accuracy of the model, I thought of the following three methods: 1 to do incremental training, 2: to use the Adam optimizer, for the time being has not been successful, the specific error is the data format problem, I will try again later, 3: Data enhancement, but the coefficient of model evaluation has been very low, so I would like to ask if there is any way to propose to improve the accuracy of the model, and the criteria for judging just to see the exact value printed after each epochs? After selecting the best model after epoch, will it be effective to continue training? ? Personal feelings will be over-fitting, and the evaluation coefficient will only get lower and lower, so how to explain it.

KelvinHuang666 avatar May 22 '19 08:05 KelvinHuang666

你好,请问你训练的时候有遇到这个错误吗?OSError: [Errno 12] 无法分配内存,我电脑内存是8个g,是不是不够用了啊?

zzy0724 avatar Oct 25 '19 01:10 zzy0724

模型太复杂或者batch size太大

LeeMMing avatar May 20 '22 09:05 LeeMMing