123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133 |
- {
- // 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.",
- "--difficulty", "mid",
- "--model-path", "./static/models/XW01/riemann_rest+flex_12-05-2023-19-10-25.pkl"]
- },
- {
- "name": "Grasp training",
- "type": "python",
- "request": "launch",
- "program": "grasp_data_collection.py",
- "console": "integratedTerminal",
- "cwd": "${workspaceFolder}/backend",
- "justMyCode": true,
- "args": ["--n-trials", "15",
- "--com", "COM3",
- "-fm", "flex"]
- },
- {
- "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.9",
- "-stp", "0.9",
- "--model-path", "./static/models/XW01/riemann_rest+flex_12-05-2023-19-10-25.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": "Validation",
- "type": "python",
- "request": "launch",
- "program": "validation.py",
- "console": "integratedTerminal",
- "cwd": "${workspaceFolder}/backend",
- "justMyCode": true,
- "args": ["--subj", "XW01",
- "--model-filename", "riemann_rest+flex_12-06-2023-17-38-27.pkl"]
- },
- {
- "name": "Online simulation",
- "type": "python",
- "request": "launch",
- "program": "online_sim.py",
- "console": "integratedTerminal",
- "cwd": "${workspaceFolder}/backend",
- "justMyCode": true,
- "args": ["--subj", "XW01",
- "-scth", "0.9",
- "-stp", "0.9",
- "--model-filename", "riemann_rest+flex_12-06-2023-17-38-27.pkl"]
- },
- {
- "name": "Train hmm",
- "type": "python",
- "request": "launch",
- "program": "train_hmm.py",
- "console": "integratedTerminal",
- "cwd": "${workspaceFolder}/backend",
- "justMyCode": true,
- "args": ["--subj", "XW01",
- "--model-filename", "riemann_rest+flex_12-06-2023-17-38-27.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,
- }
- ]
- }
|