-
Notifications
You must be signed in to change notification settings - Fork 9
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 when running sequence planning #1
Comments
Hi @yuezhezhang , Thank you for your interest. I just tried a fresh install and ran the above command but I couldn't replicate this error. The command runs smoothly on my ubuntu machine (also tested using M1 MacBook). However I believe this error should come from the physics simulation. This happens usually when I mess up the c++ simulation code, or pass the wrong arguments to the c++ simulation API calls, or forget to reinstall simulation after I change the simulation code. To locate this error, could you please add some debugging prints on the python side and figure out which line triggers this error? Then I might have a better idea. |
I am not sure if it helps, but I was getting some issues with version mismatch especially with |
Thanks @anujay28 ! I also met some issues with torch-sparse and torch-scatter when doing fresh installs. Not sure what's the most elegant solution here but what worked for me is to install torch-sparse and torch-scatter separately after the other packages. I will update the installation instructions later regarding this issue. |
Thank you for your reply! I think you are right, the My solution is:
This works for me and all the code runs smoothly! |
Glad to hear! I've also updated the instructions in README accordingly. Thanks again for your feedback. |
Hi Yunsheng,
I am interested in your work and try to follow the steps to run the code. It seems the installation is good and I can also visualize the simulation of beam_assembly. But when I try to run the sequence planning:
python plan_sequence/run_seq_plan.py --dir beam_assembly --id original --planner dfs --generator heur-out --max-gripper 2 --base-part 6 --log-dir logs/beam_seq --early-term
It shows
Segmentation fault (core dumped)
. Do you know what might be the reason and how to fix it. Thanks in advance!The text was updated successfully, but these errors were encountered: