Skip to content
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

gnuplot requires a lot of memory #34

Open
sunshineatnoon opened this issue Sep 1, 2016 · 0 comments
Open

gnuplot requires a lot of memory #34

sunshineatnoon opened this issue Sep 1, 2016 · 0 comments

Comments

@sunshineatnoon
Copy link

sunshineatnoon commented Sep 1, 2016

For convenience and speed, I preload all images (roughly 20000) before training and draw loss curve using gnu at the end of every 10 epochs (so there are total 10 points to draw). Then gnu gives me this error:

cannot open </usr/bin/gnuplot -persist > /dev/null 2>&1> in mode w. This might be because eg the executable doesn't exist, but it could also be because you are out of memory. at /tmp/luarocks_torch-scm-1-5129/torch7/lib/TH/THDiskFile.c:751.

The error is caused by this line:
ff = gnuplot.pngfigure('Training_aug_'..loader.N..'.png')

But if I load less images, say 13000, then gnu works fine. Is there a way to avoid this error while loading 20000 images? THX

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant