A-bone1 / Attention-ocr-Chinese-Version

Attention OCR Based On Tensorflow
431 stars 141 forks source link

运行程序训练时报错 #44

Open aagainbeyond2 opened 5 years ago

aagainbeyond2 commented 5 years ago

Instructions for updating: Please switch to tf.train.get_or_create_global_step INFO:tensorflow:Restoring parameters from /home/ucmed/opt/python/models-master/research/attention_ocr/python/logs/model.ckpt-0 INFO 2019-01-03 02:14:41.000888: tf_logging.py: 82 Restoring parameters from /home/ucmed/opt/python/models-master/research/attention_ocr/python/logs/model.ckpt-0 INFO:tensorflow:Starting Session. INFO 2019-01-03 02:14:55.000713: tf_logging.py: 82 Starting Session. INFO:tensorflow:Saving checkpoint to path /home/ucmed/opt/python/models-master/research/attention_ocr/python/logs/model.ckpt INFO 2019-01-03 02:14:55.000829: tf_logging.py: 82 Saving checkpoint to path /home/ucmed/opt/python/models-master/research/attention_ocr/python/logs/model.ckpt INFO:tensorflow:Starting Queues. INFO 2019-01-03 02:14:55.000832: tf_logging.py: 82 Starting Queues. INFO:tensorflow:global_step/sec: 0 INFO 2019-01-03 02:15:00.000650: tf_logging.py: 121 global_step/sec: 0 Killed

aagainbeyond2 commented 5 years ago

运行程序时内存会占慢,然后程序被killed

A-bone1 commented 5 years ago

@aagainbeyond2 你好,是不是tfrecord文件太大了呢?

aagainbeyond2 commented 5 years ago

@A-bone1 100张图片也会报错

hhliao commented 5 years ago

@aagainbeyond2 你好,是不是tfrecord文件太大了呢?

请问一下,训练的时候默认会把tfrecord文件全部读到显存吗?不是分片读取?

prasetyoandi commented 4 years ago

hello, did anyone solved this issue? i stuck on this too