dusty-nv / jetson-reinforcement

Deep reinforcement learning GPU libraries for NVIDIA Jetson TX1/TX2 with PyTorch, OpenAI Gym, and Gazebo robotics simulator.
MIT License
874 stars 225 forks source link

c++ wrapper pyimport #11

Open reinaldomaslim opened 6 years ago

reinaldomaslim commented 6 years ago

Hi Dustin, thanks for this repo. I am stuck at c++ wrapper especially this line results in segmentation fault (core dumped): pyModule = PyImport_Import(pyModuleName);

Thanks

reinaldomaslim commented 6 years ago

it seems that segfault at import torch line in DQN.py

dusty-nv commented 6 years ago

Hi Reinaldo,

Which platform are you running the repo on?

Were you able to run the "Verifying PyTorch" step OK and import torch from Python interactive terminal?

Thanks, Dusty

-------- Original message -------- From: Reinaldo Maslim notifications@github.com Date: 4/19/18 4:20 AM (GMT-05:00) To: dusty-nv/jetson-reinforcement jetson-reinforcement@noreply.github.com Cc: Subscribed subscribed@noreply.github.com Subject: Re: [dusty-nv/jetson-reinforcement] c++ wrapper pyimport (#11)

it seems that segfault at import torch line in DQN.py

- You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/dusty-nv/jetson-reinforcement/issues/11#issuecomment-382651435, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AOpDK9R11sfd6yVTHoYYI3qLTylPxFt6ks5tqEi8gaJpZM4TbTdb.


This email message is for the sole use of the intended recipient(s) and may contain confidential information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message.

reinaldomaslim commented 6 years ago

Hi Dusty,

Yes, pytorch runs well in python. It didn't work on this platform: ubuntu 16.04 cuda 8 cudnn 6 gcc 5.4 gtx 1080ti, but it works on other similar machine with gtx1050. Thanks