-
Notifications
You must be signed in to change notification settings - Fork 8
/
deepali.code-workspace
87 lines (87 loc) · 2.19 KB
/
deepali.code-workspace
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
{
"folders": [
{
"path": "."
}
],
"extensions": {
"recommendations": [
// Python
"ms-python.python",
"ms-python.vscode-pylance",
"ms-toolsai.jupyter",
// Remote SSH
"ms-vscode-remote.remote-ssh",
"ms-vscode-remote.remote-ssh-edit",
// Code completion
"visualstudioexptteam.vscodeintellicode",
// Docker
"ms-azuretools.vscode-docker",
// Tables (e.g. CSV)
"grapecity.gc-excelviewer",
// Git
"eamodio.gitlens",
"github.vscode-github-actions",
// Markdown
"yzhang.markdown-all-in-one",
"shd101wyy.markdown-preview-enhanced",
]
},
"settings": {
"files.exclude": {
"**/__pycache__": true,
"**/.ipynb_checkpoints": true,
"**/.git": true,
"**/.DS_Store": true,
"**/._.DS_Store": true,
"**/.pytest_cache": true,
"**/*.egg-info": true,
".venv": true
},
"editor.formatOnSave": false,
"[python]": {
"editor.formatOnSave": true,
"editor.formatOnSaveMode": "file",
"editor.defaultFormatter": "ms-python.black-formatter",
},
"python.testing.unittestEnabled": false,
"python.testing.pytestEnabled": true,
"python.testing.pytestArgs": ["tests"],
},
"launch": {
// 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": "FFD: register",
"type": "python",
"request": "launch",
"program": "register.py",
"console": "integratedTerminal",
"args": [
"--config", "params.yaml",
"--target-seg", "seg_00.nii.gz",
"--source-seg", "seg_25.nii.gz",
"--output", "transform.pt",
"--debug-dir", "debug",
"--debug", "0", // 3: write all interim files
"--verbose", "1", // 3: highest verbosity
"--device", "cuda",
],
"cwd": "${workspaceFolder}/examples/ffd",
"env": {"CUDA_LAUNCH_BLOCKING": "0", "CUDA_VISIBLE_DEVICES": "0"},
},
{
"name": "ISTN: train",
"type": "python",
"request": "launch",
"program": "train.py",
"console": "integratedTerminal",
"cwd": "${workspaceFolder}/examples/istn",
"args": ["--config", "params.yaml"],
}
]
}
}