123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180 |
- {
- // 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": "Daily routine",
- "type": "debugpy",
- "request": "launch",
- "program": "daily_routine.py",
- "console": "integratedTerminal",
- "cwd": "${workspaceFolder}/backend",
- "justMyCode": true,
- "args": ["--side","right",
- "--trial-num","15",
- "--major-side-num", "10",
- "--trigger-port", "COM7",
- "--hand-port","COM15"]
- },
- {
- "name": "General training paradigm",
- "type": "debugpy",
- "request": "launch",
- "program": "general_grasp_training.py",
- "console": "integratedTerminal",
- "cwd": "${workspaceFolder}/backend",
- "justMyCode": true,
- "args": ["--subj", "XW01",
- "--side","left",
- "--n-trials", "15",
- "--hand-feedback",
- "--hand-port", "COM3",
- "--trigger-port", "COM6",
- "-fm", "flex",
- "-vfr", "0",
- "--difficulty", "easy",
- "--model-filename", "riemann_rest+flex_01-12-2024-21-15-11.pkl"]
- },
- {
- "name": "Free grasping paradigm",
- "type": "debugpy",
- "request": "launch",
- "program": "free_grasp.py",
- "console": "integratedTerminal",
- "cwd": "${workspaceFolder}/backend",
- "justMyCode": true,
- "args": ["--subj", "XW01",
- "--hand-port", "COM3",
- "--trigger-port", "COM6",
- "--arduino-port","COM12",
- "-scth", "0.8",
- "-stp", "0.9",
- "--momentum", "0.7",
- "--model-filename", "riemann_rest+flex_01-12-2024-21-15-11.pkl"]
- },
- // {
- // "name": "No peneumatic comparison",
- // "type": "debugpy",
- // "request": "launch",
- // "program": "no_pneumatic_hand.py",
- // "console": "integratedTerminal",
- // "cwd": "${workspaceFolder}/backend",
- // "justMyCode": true,
- // "args": ["--trigger-port", "COM6",
- // "--arduino-port","COM12"]
- // },
- {
- "name": "Band selection",
- "type": "debugpy",
- "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": "debugpy",
- "request": "launch",
- "program": "training.py",
- "console": "integratedTerminal",
- "cwd": "${workspaceFolder}/backend",
- "justMyCode": true,
- "args": ["--subj", "XW01",
- "--model-type", "riemann"]
- },
- {
- "name": "Validation",
- "type": "debugpy",
- "request": "launch",
- "program": "validation.py",
- "console": "integratedTerminal",
- "cwd": "${workspaceFolder}/backend",
- "justMyCode": true,
- "args": ["--subj", "XW01",
- "--model-filename",
- "riemann_rest+flex_01-02-2024-12-04-19.pkl"
- // "baseline_rest+flex_01-05-2024-08-30-42.pkl"
- // "csp_rest+flex_03-15-2024-13-48-19.pkl"
- ]
- },
- {
- "name": "Online simulation",
- "type": "debugpy",
- "request": "launch",
- "program": "online_sim.py",
- "console": "integratedTerminal",
- "cwd": "${workspaceFolder}/backend",
- "justMyCode": true,
- "args": ["--subj", "XW01",
- "-scth", "0.5",
- "-stp", "0.9",
- "--momentum", "0.7",
- "--model-filename",
- // "riemann_rest+flex_01-02-2024-12-04-19.pkl"
- // "csp_rest+flex_03-15-2024-13-48-19.pkl"
- "baseline_rest+flex_01-05-2024-08-30-42.pkl"
- // "riemann_rest+flex_0.25s.pkl"
- // "riemann_rest+flex_1.5s.pkl"
- // "riemann_rest+flex_0.1s.pkl"
- ]
- },
- {
- "name": "Train hmm",
- "type": "debugpy",
- "request": "launch",
- "program": "train_hmm.py",
- "console": "integratedTerminal",
- "cwd": "${workspaceFolder}/backend",
- "justMyCode": true,
- "args": ["--subj", "XW01",
- "--model-filename",
- "riemann_rest+flex_01-02-2024-12-04-19.pkl"
- // "csp_rest+flex_03-15-2024-13-48-19.pkl"
- // "baseline_rest+flex_01-05-2024-08-30-42.pkl"
- // "riemann_rest+flex_0.25s.pkl"
- // "riemann_rest+flex_1.5s.pkl"
- // "riemann_rest+flex_0.1s.pkl"
- ]
- },
- {
- "name": "Signal visualization",
- "type": "debugpy",
- "request": "launch",
- "program": "signal_visualization.py",
- "console": "integratedTerminal",
- "cwd": "${workspaceFolder}/backend",
- "justMyCode": true,
- "args": ["--subj", "XW01"]
- },
- {
- "name": "Python: 当前文件",
- "type": "debugpy",
- "request": "launch",
- "program": "${file}",
- "console": "integratedTerminal",
- "cwd": "${workspaceFolder}/backend",
- "justMyCode": true
- },
- {
- "name": "Python: Debug Tests",
- "type": "debugpy",
- "request": "launch",
- "program": "${file}",
- "purpose": [
- "debug-test"
- ],
- "console": "integratedTerminal",
- "cwd": "${workspaceFolder}/backend",
- "env": {
- "PYTHONPATH": "${workspaceFolder}/backend"
- },
- "justMyCode": false,
- }
- ]
- }
|