-
Notifications
You must be signed in to change notification settings - Fork 13
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 (core dumped) #5
Comments
@littlejerry411 Could you please share the solution if you found it? |
Unfortunately, I am not able to reproduce the problem. On my system, the code runs without errors. |
@mesnico Thanks for your nice work Nicola. I have a similar problem. When I run "python3 test.py model_best_ndcg.pth --config configs/tern.yaml --size 1k ", I get error in "checkpoint = torch.load(model_checkpoint)". The error is "Segmentation fault". I appreciate it if you could run your model on a system other than your own system and help us to reproduce your nice experiments. Thanks! |
@mesnico I tried running with gdb and here is the result:
|
The beginning of the stack trace seems related to this one. It may be something related to cuda initialization for some variables. I will try to work on this in the next few days. In the meantime, you can try to substitute the following line in |
@mesnico Thanks for your response. I tried
, but the same error happened again. |
After I configured the environment according to readme, I started this command "python3 test.py model_best_ndcg.pth --config configs/tern.yaml --size 1k ", I found this error "Segmentation fault (core dumped)". Then I tried debugging test.py and found that there was something wrong after the code"loaded_config = checkpoint['config']" , I couldn't print checkpoint['config'] and found this error "Segmentation fault (core dumped)". I would appreciate it if you told me how to solve it.
The text was updated successfully, but these errors were encountered: