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

Debug -error-Server[1] disconnected unexpectedly #50

Open
SURE3187774683 opened this issue Dec 21, 2024 · 1 comment
Open

Debug -error-Server[1] disconnected unexpectedly #50

SURE3187774683 opened this issue Dec 21, 2024 · 1 comment

Comments

@SURE3187774683
Copy link

SURE3187774683 commented Dec 21, 2024

self.sim = self.gym.create_sim(self.sim_device_id, self.graphics_device_id, self.physics_engine, self.sim_params)

I can run through all the commands, but when debugging this instruction, it aborts.This folder will have 5G extra temporary files in "C:\Users\xxxx\AppData\Local\Temp\wsl-crashes"

This is my launch.json

"version": "0.2.0",
"configurations": [
{
"name": "Python Debugger: humanoid_gym",
"python": "/home/sure/miniconda3/envs/humanoid_gym/bin/python3",
"type": "debugpy",
"request": "launch",
"program": "${file}",
"console": "integratedTerminal",
"logToFile": true,
"env": {"CUDA_VISIBLE_DEVICES": "0"},
"args": [
"--task=humanoid_ppo",
"--run_name=v1",
"--headless",
"--num_envs=1"
]
},
]

can anyone helg me?

@zlw21gxy
Copy link
Contributor

Debugging with Isaac Gym can be challenging due to its internal processes. It may be more effective to use pdb instead by importing it with import pdb; pdb.set_trace()

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