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

Segmentation fault caused by: f_grad_shared(qi_i, D_gt_id, is_train) #4

Open
johnnyflame opened this issue Jul 16, 2018 · 2 comments
Open

Comments

@johnnyflame
Copy link

Hi there,

When running the program, it appears to crash due to segmentation fault at line 827 in run.py:
out = f_grad_shared(qi_i, D_gt_id, is_train)

The program is running on CentOS, with Theano 0.9.

Any help/insight would be greatly appreciated. Cheers.

@rodrigonogueira4
Copy link
Collaborator

How many RAM do you have? I had segmentation fault problems when running on machines with less than 32 GB of RAM. If that is your case, try using smaller batch_size_train and batch_size_pred (for example 32 or 16).

@johnnyflame
Copy link
Author

I have 56 GB of RAM, and have experimented with different batch sizes (32,16 and 8). Unfortunately it made no differences, still produces the same error.

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

2 participants