vscode远程调试 bash 文件的 launch.json写法示例
{
(图片来源网络,侵删)
"version": "2.0.0",
"tasks": [
{
"label": "Train Mask2Former Model",
"type": "shell",
"command": "python",
"args": [
"train_net.py",
"--config-file",
"configs/coco-stuff-164k-156/mask2former_freeseg.yaml",
"--num-gpus",
"1"
],
"options": {
"env": {
"DETECTRON2_DATASETS": "/home/zhongqiang.zhang/data/"
}
},
"problemMatcher": [],
"group": {
"kind": "build",
"isDefault": true
}
}
]
}
文章版权声明:除非注明,否则均为主机测评原创文章,转载或复制请以超链接形式并注明出处。