51 lines
1.4 KiB
JSON
51 lines
1.4 KiB
JSON
{
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "Start TensorBoard",
|
|
"type": "shell",
|
|
"command": "python",
|
|
"args": [
|
|
"utils/launch_tensorboard.py",
|
|
"--logdir=NN/models/saved/logs",
|
|
"--preferred-port=6007",
|
|
"--port-range=6000-7000",
|
|
"--kill-stale"
|
|
],
|
|
"isBackground": true,
|
|
"problemMatcher": {
|
|
"pattern": {
|
|
"regexp": "^.*$",
|
|
"file": 1,
|
|
"location": 2,
|
|
"message": 3
|
|
},
|
|
"background": {
|
|
"activeOnStart": true,
|
|
"beginsPattern": ".*TensorBoard.*",
|
|
"endsPattern": ".*TensorBoard available at.*"
|
|
}
|
|
},
|
|
"presentation": {
|
|
"reveal": "always",
|
|
"panel": "new"
|
|
},
|
|
"runOptions": {
|
|
"runOn": "folderOpen"
|
|
}
|
|
},
|
|
{
|
|
"label": "Kill Stale Processes",
|
|
"type": "shell",
|
|
"command": "python",
|
|
"args": [
|
|
"utils/port_manager.py",
|
|
"--kill-stale"
|
|
],
|
|
"presentation": {
|
|
"reveal": "always",
|
|
"panel": "shared"
|
|
}
|
|
}
|
|
]
|
|
} |