Open RachelBaird opened 4 years ago
Pull the docker image:
docker pull zhang0jhon/demo:ocr
and export the filesystem
docker export ContainerID > myexport.tar
To list containers use
docker ps -a
If you don't have permission, make yourself root
sudo -i
You can then copy the pb modle files from inside of the tar file
text_recognition_5435.pb,谁能给个百度网盘的地址,没安装docker....谢谢啦~
请问你们有数据吗?我出现以下错误: [Errno 2] No such file or directory: './data/lsvt/train_full_labels.json' 'lsvt/train_full_labels.json' 和 'art/train_task2_labels.json' 这些数据该怎么获取啊 @RachelBaird @Johndirr @lightning0016
dataset.py里面注释了下载链接 @Tian14267
我已经拿到了.pb模型了,但是为什么用了这个pb模型之后,test.py跑出来的结果异常的差甚至什么都不能识别呢
用docker里的模型进行预测,为什么test.py跑出来的结果异常什么都不能识别,是我使用方法的问题麽
我已经拿到了.pb模型了,但是为什么用了这个pb模型之后,test.py跑出来的结果异常的差甚至什么都不能识别呢
可以发一下吗,希望可以一起讨论一下
我已经拿到了.pb模型了,但是为什么用了这个pb模型之后,test.py跑出来的结果异常的差甚至什么都不能识别呢
你好,我使用过程中有两个问题请教一下:
test.py过程中使用作者docker中的模型text_recognition5435.pb,在 = tf.import_graph_def(graph_def, name='')时报错 InvalidArgumentError (see above for traceback): The second input must be a scalar, but it has shape [1,33]
2.在train.py时报错 File "/usr/local/lib/python3.5/dist-packages/tensorpack/train/config.py", line 119, in init assert_type(model, ModelDescBase, 'model') File "/usr/local/lib/python3.5/dist-packages/tensorpack/train/config.py", line 107, in assert_type name, tp.name, v.class.name) AssertionError: model has to be type 'ModelDescBase', but an object of type 'AttentionOCR' found.
Hey Thank you for all this work couldn't find the checkpoint folder and the text_recognition_5435.pb model