Chunyu Hao

Results 17 comments of Chunyu Hao

@bobo0810 你好,我用的第六章,0.3分支的代码,训练过程中报错,一直没解决,能帮忙看下嘛,谢谢。 Traceback (most recent call last): File "main.py", line 172, in fire.Fire() File "/opt/anaconda3/lib/python3.6/site-packages/fire/core.py", line 127, in Fire component_trace = _Fire(component, args, context, name) File "/opt/anaconda3/lib/python3.6/site-packages/fire/core.py", line 366, in...

@bobo0810 我知道了。。。谢谢,我把数据放到root账户下了。。。谢谢,解决了

CHINESE-OCR/ctpn/目录下是不是少了个lib文件夹,这边导入模型失败。 --------------------------------------------------------------------------- ModuleNotFoundError Traceback (most recent call last) in () ----> 1 import model ~/code/hcy/chinese_ocr/chinese-ocr-test/chinese-ocr-xaiofengshi/model.py in () 13 from crnn.crnn import crnnOcr 14 ---> 15 from ctpn.text_detect import text_detect 16...

@xiaofengShi 谢谢指教,麻烦了

@xiaofengShi ctpn和crnn模型参数可以分享下吗,谢谢~

@xiaofengShi 只看到了vgg的还有crnn的keras和pytorch预训练参数。。。不好意思。。。 ~/code/hcy/chinese_ocr/chinese-ocr-test/chinese-ocr-xiaofengshi/ctpn/ctpn/model.py in load_tf_model() 34 ckpt = tf.train.get_checkpoint_state( 35 '/Users/xiaofeng/Code/Github/dataset/CHINESE_OCR/ctpn/checkpoints/') ---> 36 reader = tf.train.NewCheckpointReader(ckpt.model_checkpoint_path) 37 var_to_shape_map = reader.get_variable_to_shape_map() 38 for key in var_to_shape_map: AttributeError: 'NoneType' object has no...

@xiaofengShi 谢谢耐心指导。。。

@xiaofengShi ctpn/ctpn/model.py中代码 ckpt=tf.train.get_checkpoint_state('/Users/xiaofeng/Code/Github/dataset/CHINESE_OCR/ctpn/checkpoints/') reader = tf.train.NewCheckpointReader(ckpt.model_checkpoint_path) 这个checkpoints文件夹一直没有找到。

@xiaofengShi 谢谢啦,耽误你这么长时间

具体错误日志粘一下吧,你ctpn/utils有这个文件夹吗 @snowwindy