train-CRF-RNN icon indicating copy to clipboard operation
train-CRF-RNN copied to clipboard

std::bad_alloc error while running python solve.py 2>&1 | tee train.log

Open gopi77 opened this issue 7 years ago • 3 comments

log.txt

OS: Ubuntu 16.04 Python: 2.7.12 GPU: Nvidia 1070

gopi77 avatar May 15 '17 13:05 gopi77

seems something wrong with your lmdb loading? Wrong path? Use absolute path could be safer?

KleinYuan avatar May 17 '17 19:05 KleinYuan

These path looks fine (if i rename the train_images_3_lmdb folder then i get different error-> No such file or directory ) Note: within the folder train-CRF-RNN/train_images_3_lmdb, I have 2 files named data.mdb & lock.mdb.

While running the command python solve.py 2>&1 | tee train.log, first I get error (log.txt in my previous post) and then the python console crashes.

I have GTX 1070 GPU with 8GB memory, will it be good enough for training? Or this error due to some other configuration/installation issues?

gopi77 avatar Jun 05 '17 11:06 gopi77

@gopi77 I still think it's the wrong path error. You should check your config file.

I don't think 8GB memory is enough for training.

Most straight forward way I think is to use AWS K80.

KleinYuan avatar Jun 05 '17 17:06 KleinYuan