【发布时间】:2018-05-05 19:35:21
【问题描述】:
我有自己的6600个数字(0~9)训练图像集,18200个小写英文字母(a~z)训练图像集,18200个大写英文字母(A~Z)训练图像集。
我首先用 CNN 模型训练了我的数字训练集,效果很好。
这是我的 CNN 模型形成。
learning rate = 0.0001
28X28 input image
11X11 output label.(0~9(5500 training sets) and none digit ex)a~z, A~Z(1100 training sets))
CONV1
filter(3,3,1,32)->relu->maxpool(1,2,2,1) and stride(1,2,2,1)
CONV2
filter(3,3,32,64)->relu->maxpool(1,2,2,1) and stride(1,2,2,1)
CONV3
filter(3,3,64,128)->relu->maxpool(1,2,2,1) and stride(1,2,2,1)->reshape(-1, 128*4*4)
FC1
input - (128*4*4)
relu
output - (625)
FC2
input - (625)
relu
output - (11)
its acc :
![enter image description here][1]
its cost : ![enter image description here][2]
我认为这个 CNN 模型训练得很好。
我用自己的英文小写字母(a~z)训练了相同的CNN模型,出现了问题。
digit CNN模型只有一个区别,就是FC2层输出(27)
这是用英文小写字母训练的 CNN 模型的 acc 和 cost
acc:
费用:
acc 和 cost 与 digit CNN 模型相比存在严重的波动情况
我想让这个 CNN 模型更稳定。如果你有兴趣,能给我一些建议吗?
我认为CNN模型形成是原因,但无法具体解释问题所在
【问题讨论】:
标签: python tensorflow conv-neural-network