-
Notifications
You must be signed in to change notification settings - Fork 325
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
Training problem..... #62
Comments
I had the same problem earlier but couldn't resolve it and moved ahead. I think it needs larger memory (48GB+). Do you have enough? |
This is my GPU configuration. I think enough memory. But Still got this error..... +-----------------------------------------------------------------------------+ |
Upgrade your memory to 64GB and you will be fine. |
@HongyuanL to solve memory error, is there not the other methods? |
@SinDongHwan If you work in Linux, you can also increase the swap space. |
I have 64GB GeForce GTX1070 machine and I still see the same issue. I have increased the swap space using the instructions on this page (https://askubuntu.com/questions/178712/how-to-increase-swap-space) and still see the same issue. |
have you guys got any luck in solving the memory error? On which line are you all getting the memory error? |
chage type of fearure from float32 to float16, it can save many memory |
TangZwei can you explain prepro.py file to me. I mean why are we not simply extracting features only? |
When I train the system I got the following error. I am using single GPU. How I can solve this problem...?
Traceback (most recent call last):
File "/home/kunolab/Matiqul/Show-Attend-Tell/train.py", line 29, in
main()
File "/home/kunolab/Matiqul/Show-Attend-Tell/train.py", line 10, in main
data = load_coco_data(data_path='./data', split='train')
File "/home/kunolab/Matiqul/Show-Attend-Tell/core/utils.py", line 13, in load_coco_data
data['features'] = hickle.load(os.path.join(data_path, '%s.features.hkl' %split))
File "/usr/local/lib/python2.7/dist-packages/hickle.py", line 561, in load
py_container = _load(py_container, h_root_group)
File "/usr/local/lib/python2.7/dist-packages/hickle.py", line 674, in _load
py_subcontainer = _load(py_subcontainer, h_node)
File "/usr/local/lib/python2.7/dist-packages/hickle.py", line 681, in _load
subdata = load_dataset(h_group)
File "/usr/local/lib/python2.7/dist-packages/hickle.py", line 599, in load_dataset
return np.array(data)
MemoryError
The text was updated successfully, but these errors were encountered: