Error can not find train_summay
WenTingTseng opened this issue · 5 comments
It seems that the training step fails, probably due to an empty feed dict. What is the length printed in the exception? Could you attach the running log? Thanks.
Hi, thank you for your snapshots. It seems that you have a "resource exhausted (out of memory)" error, probably because you are running on a CPU. This should be the reason that a training step fails. If you could refer to the following snapshot. Using a smaller batch size should resolve the issue. Note that a smaller batch size could hurt the performance.
I can see cache/quac is correctly generated. There is no issue with that. Thanks.
It seems that the process was killed by the system without an error. So I agree that it could be due to memory issues. Using a smaller max_seq_length should further alleviate memory consumption but it will hurt the performance.
GPU usage will be handled by TensorFlow automatically, assuming you have set up the CUDA environment and installed the GPU version of TensorFlow. There is no need to modify the code. Thank you.