Closed brandonjabr closed 6 years ago
please see #6
Thanks! Got it figured out.
I got OSError: [Errno 12] Cannot allocate memory
at for i, (v, b, q, a) in enumerate(train_loader):
. And my machine have 64 GB RAM which is large enough I think. Issue #6 has been deleted.
So can you please tell me what is the solution ?
Thank you.
The easiest fix is to create a swapfile. The cause may be that pytorch dataloader will consume more memory when using subprocesses but I am not sure.
Creating swapfile works! It costs me 64G RAM and 64G swap to meet the needs. Thank you.
Thanks for the great implementation. Unfortunately after downloading the data and processing successfully, I run the main.py file but find that even with 32GB of RAM, the run fails while loading features from the .hdf5 files from running out of RAM. Is there a workaround to this, or am I doing something wrong here?
Thank you!