deeplearningshare / multi-line-plate-recognition

Multi-line license plate recognition
75 stars 20 forks source link

test acc is :0.0% #3

Open kunyao2015 opened 5 years ago

kunyao2015 commented 5 years ago

in the test function : `y_pred = base_model.predict(data)

print(y_pred)

shape = y_pred[:, :, :].shape out = K.get_value(K.ctc_decode(y_pred[:,:,:],input_length=np.ones(shape[0])*shape[1])[0][0])[:, :7] print(out) ` out is [] don't know why?

17702513221 commented 5 years ago

我也遇到这一问题,没有任何改变,运行程序没有输出,acc为0。请问作者的环境和版本是多少

deeplearningshare commented 5 years ago

训练的时候loss降了没?

yu1206 commented 5 years ago

用你的模型测试的 acc 一样为0 请问作者的环境和版本是多少

yu1206 commented 5 years ago

用你的模型测试的 acc 一样为0 请问作者的环境和版本是多少

JimLee1996 commented 4 years ago

作者居然把输入的shape都能搞错,所以可以说与训练的模型是废的,没法测试的。

input_tensor = Input(name='the_input', shape=(96, 64, 3))

应当为

input_tensor = Input(name='the_input', shape=(64, 96, 3))

resize的时候是传入图像的(W, H) 当成tensor看的时候是(H, W)

要么就不开源,开源就把code base做好,不要随便弄弄就跑路。

deeplearningshare commented 4 years ago

抱歉,忙于工作,该项目没有维护,您觉得不满意,可以出门慢走,不送,谢谢,还有开不开源是我的事,您要觉得您行,自己写个传上来,谢谢

Seaor commented 4 years ago

训练loss一直为25左右不降,且预测输出都是一个固定值,acc为0.0%,请问是哪里有问题呢,有人遇到过吗