1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798 |
- {
- // 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": "General training paradigm",
- "type": "python",
- "request": "launch",
- "program": "general_grasp_training.py",
- "console": "integratedTerminal",
- "cwd": "${workspaceFolder}/backend",
- "justMyCode": true,
- "args": ["--subj", "XW01",
- "--n-trials", "15",
- // "--hand-feedback",
- "--com", "COM3",
- "-fm", "flex",
- "-vfr", "0.",
- "-scth", "0.75",
- "--difficulty", "hard",
- "--model-path", "./static/models/XW01/riemann_rest+flex_11-27-2023-10-07-18.pkl"]
- },
- {
- "name": "Free grasping paradigm",
- "type": "python",
- "request": "launch",
- "program": "free_grasp.py",
- "console": "integratedTerminal",
- "cwd": "${workspaceFolder}/backend",
- "justMyCode": true,
- "args": ["--subj", "XW01",
- "--com", "COM3",
- "-scth", "0.75",
- "--model-path", "./static/models/XW01/riemann_rest+flex_11-27-2023-10-07-18.pkl"]
- },
- {
- "name": "Band selection",
- "type": "python",
- "request": "launch",
- "program": "band_selection.py",
- "console": "integratedTerminal",
- "cwd": "${workspaceFolder}/backend",
- "justMyCode": true,
- "args": ["--subj", "XW01",
- "--band-min", "5",
- "--band-max", "150"]
- },
- {
- "name": "Train model",
- "type": "python",
- "request": "launch",
- "program": "training.py",
- "console": "integratedTerminal",
- "cwd": "${workspaceFolder}/backend",
- "justMyCode": true,
- "args": ["--subj", "XW01",
- "--model-type", "riemann"]
- },
- {
- "name": "Validate model",
- "type": "python",
- "request": "launch",
- "program": "validation.py",
- "console": "integratedTerminal",
- "cwd": "${workspaceFolder}/backend",
- "justMyCode": true,
- "args": ["--subj", "XW01",
- "-scth", "0.75",
- "--model-filename", "riemann_rest+flex_11-27-2023-11-14-08.pkl"]
- },
- {
- "name": "Python: 当前文件",
- "type": "python",
- "request": "launch",
- "program": "${file}",
- "console": "integratedTerminal",
- "cwd": "${workspaceFolder}/backend",
- "justMyCode": true
- },
- {
- "name": "Python: Debug Tests",
- "type": "python",
- "request": "launch",
- "program": "${file}",
- "purpose": [
- "debug-test"
- ],
- "console": "integratedTerminal",
- "cwd": "${workspaceFolder}/backend",
- "env": {
- "PYTHONPATH": "${workspaceFolder}/backend"
- },
- "justMyCode": false,
- }
- ]
- }
|