Skip to content

Instantly share code, notes, and snippets.

@thomasweng15
Last active November 18, 2022 17:23
Show Gist options
  • Save thomasweng15/d74e6d4a2fdbdd81ac89f60dbb45b933 to your computer and use it in GitHub Desktop.
Save thomasweng15/d74e6d4a2fdbdd81ac89f60dbb45b933 to your computer and use it in GitHub Desktop.
VSCode debugger launch.json for softgym
// Softgym Fabric Touch
{
"name": "Debug: Sawyer Cloth Env",
"type": "python",
"request": "launch",
"console": "integratedTerminal",
"cwd": "/home/exx/projects/IDM/softgym_implicit_cloth_proj",
"python": "/home/exx/miniconda3/envs/softgym-ft/bin/python",
"program": "/home/exx/projects/IDM/softgym_implicit_cloth_proj/examples/demonstrator.py",
"env": {
"PYTORCH_JIT": "0",
"PYFLEXROOT": "/home/exx/projects/IDM/softgym_implicit_cloth_proj/PyFlexRobotics",
"PYTHONPATH": "/home/exx/projects/IDM/softgym_implicit_cloth_proj:/home/exx/projects/IDM/softgym_implicit_cloth_proj/softgym:/home/exx/projects/IDM/softgym_implicit_cloth_proj/PyFlexRobotics/bindings/build:$PYTHONPATH",
"LD_LIBRARY_PATH": "/home/exx/projects/IDM/softgym_implicit_cloth_proj/PyFlexRobotics/external/SDL2-2.0.4/lib/x64:$LD_LIBRARY_PATH",
"PATH": "/home/exx/miniconda3/bin:$PATH"
},
"args": [
"--camera=sawyer_multilayer",
"--num_variations=1",
"--use_cached_states",
"--headless=0",
"--obs_mode=cam_rgbd",
// "--record_continuous_video"
]
}
// FabricFlowNet
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Release: Eval Tshirt Env",
"type": "python",
"request": "launch",
"console": "integratedTerminal",
"cwd": "/home/exx/projects/ffn_release/FabricFlowNet",
"python": "/home/exx/miniconda3/envs/softgym_ffn_release/bin/python",
"program": "/home/exx/projects/ffn_release/FabricFlowNet/fabricflownet/eval.py",
"env": {
"PYTORCH_JIT": "0",
"PYFLEXROOT": "/home/exx/projects/ffn_release/FabricFlowNet/softgym/PyFlex",
"PYTHONPATH": "/home/exx/projects/ffn_release/FabricFlowNet:/home/exx/projects/ffn_release/FabricFlowNet/softgym:/home/exx/projects/ffn_release/FabricFlowNet/softgym/PyFlex/bindings/build:$PYTHONPATH",
"LD_LIBRARY_PATH": "/home/exx/projects/ffn_release/FabricFlowNet/softgym/PyFlex/external/SDL2-2.0.4/lib/x64:$LD_LIBRARY_PATH",
"PATH": "/home/exx/miniconda3/bin:$PATH"
},
"args": [
"--run_path=data/picknet_run",
"--ckpt=105000",
"--cloth_type=tshirt"
]
}
]
}
// GIFS Cloth Training
{
"name": "Debug: GIFS Cloth Training",
"type": "python",
"request": "launch",
"console": "integratedTerminal",
"cwd": "/home/exx/projects/IDM/gifs_cloth",
"python": "/home/exx/miniconda3/envs/gifscloth/bin/python",
"program": "/home/exx/projects/IDM/gifs_cloth/ddp_train.py",
"args": [
"--config",
"configs/traj101123.txt",
"--exp_name",
"dbg",
"--lr",
"6e-7",
]
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment