New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
getting memory error on Tesla K80 #23
Comments
The problem is you need more Memory and swap space, |
Thanks for your response @ZhuFengdaaa . I increased my swap space with total of more than 50G. How much memory does it need to train? Or do we have pertained model for doing evaluation/inference? |
I use I have 40G physical memory so I just created 50G swap. You might need more. |
Thanks a lot @ZhuFengdaaa . Training is pretty slow, but its running.. |
So, if i got it right, i need to create more virtual memory? Can you tell me how to do that and as i see i need >50 gb virtual memory? |
I encountered the same problem and fixed it by modifying the dataset.py file like following: |
division par 10 de la RAM utilisée: passe de ~90GB à 9GB. solution proposée par YuanEZhou ici: hengyuan-hu/bottom-up-attention-vqa#23
getting error on loading:
Traceback (most recent call last):
File "main.py", line 33, in
train_dset = VQAFeatureDataset('train', dictionary)
File "/home/sujitmishra/bottom-up-attention-vqa/dataset.py", line 120, in init
self.features = np.array(hf.get('image_features'))
File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper
File "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper
File "/home/sujitmishra/py2/local/lib/python2.7/site-packages/h5py/_hl/dataset.py", line 690, in array
arr = numpy.empty(self.shape, dtype=self.dtype if dtype is None else dtype)
MemoryError
How much gpu does it need for training?
The text was updated successfully, but these errors were encountered: