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

ckpt的路径问题

Open zhaochl opened this issue 5 years ago • 2 comments

ckpt_path = '/Users/xiaofeng/Code/Github/dataset/CHINESE_OCR/ctpn/ctpn/retrain/ckpt' ckpt = tf.train.get_checkpoint_state(ckpt_path) reader = tf.train.NewCheckpointReader(ckpt.model_checkpoint_path) var_to_shape_map = reader.get_variable_to_shape_map() for key in var_to_shape_map:

image

这里怎么改呢

zhaochl avatar Aug 28 '19 00:08 zhaochl

I got the same problem, I used tensorflow 1.14.0. I changed ckpt_path and tensorflow to 1.7.0. Cannot fix it. I think the author deleted the pretrained model as checkpoint. Can anyone resolve it?

mangoHoli avatar Aug 29 '19 06:08 mangoHoli

I Have sovled the problem

view this issue

https://github.com/xiaofengShi/CHINESE-OCR/issues/83 Just download the modes step by step and set your path! @mangoHoli

zhaochl avatar Aug 29 '19 09:08 zhaochl