eragonruan / text-detection-ctpn

text detection mainly based on ctpn model in tensorflow, id card detect, connectionist text proposal network
MIT License
3.43k stars 1.34k forks source link

> 'NoneType' object has no attribute 'model_checkpoint_path' #451

Open bowen-cmd opened 4 years ago

bowen-cmd commented 4 years ago

'NoneType' object has no attribute 'model_checkpoint_path' how to fix this question

i mat same problem in line 73, in main model_path = os.path.join(FLAGS.checkpoint_path, os.path.basename(ckpt_state.model_checkpoint_path))

Originally posted by @Bejita123 in https://github.com/eragonruan/text-detection-ctpn/issues/359#issuecomment-559639770

alisonmark commented 4 years ago

As the following setup to build @bowen-cmd Download the ckpt file from googl drive or baidu yun Put checkpoints_mlt/ in text-detection-ctpn/

https://drive.google.com/file/d/1HcZuB_MHqsKhKEKpfF1pEU85CYy4OlWO/view?usp=sharing