CHINESE-OCR icon indicating copy to clipboard operation
CHINESE-OCR copied to clipboard

关于ocr的模型

Open harlanhong opened this issue 6 years ago • 4 comments

image 请问这个h5文件没有下载地址吗

harlanhong avatar Dec 21 '18 02:12 harlanhong

https://pan.baidu.com/s/1vTG6-i_bFMWxQ_7xF06usg 作者写了呀。。

aabbcc1234mxd avatar Jan 20 '19 07:01 aabbcc1234mxd

my_model_keras.h5 运行不对啊 File "/home/.../.../venv/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 1567, in _create_c_op c_op = c_api.TF_FinishOperation(op_desc) tensorflow.python.framework.errors_impl.InvalidArgumentError: Shape must be rank 1 but is rank 0 for 'batch_normalization_1/cond/Reshape_4' (op: 'Reshape') with input shapes: [1,4,1,1], [].

During handling of the above exception, another exception occurred

marshorizon5318 avatar Apr 04 '19 06:04 marshorizon5318

兄弟keras版本降低一下就行,网上能查到这个问题

aabbcc1234mxd avatar Apr 04 '19 06:04 aabbcc1234mxd

my_model_keras.h5 运行不对啊 File "/home/.../.../venv/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 1567, in _create_c_op c_op = c_api.TF_FinishOperation(op_desc) tensorflow.python.framework.errors_impl.InvalidArgumentError: Shape must be rank 1 but is rank 0 for 'batch_normalization_1/cond/Reshape_4' (op: 'Reshape') with input shapes: [1,4,1,1], [].

During handling of the above exception, another exception occurred

请问你解决这个问题了。keras版本降低一下也不行。。。

flxabcz avatar Sep 07 '19 08:09 flxabcz