mac-network
mac-network copied to clipboard
-bash: fork: Cannot allocate memory
Thanks for the repo
On trying to evaluate the model using python main.py --expName "gqaExperiment" --finalTest --testedNum 1000 --netLength 4 -r --submission --getPreds @configs/gqa/gqa.txt
, it always seems to stop preprocessing at 64% and gives the error -bash: fork: Cannot allocate memory
Does this have something to do with having only 16 GB of RAM or would this be because of some other issue?
Thanks
Thanks a lot for the interest in the repo! I haven't tested recently the memory consumption, but yep I'm pretty sure it needs more RAM. It should be very possible to change the code a bit to avoid that (because right now it holds all the questions in memory instead of re-reading them e.g. from some h5 file) will be happy to do it when I get the chance!