{
// 使用 IntelliSense 了解相关属性。
// 悬停以查看现有属性的描述。
// 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Python:调试S面积之差",
"type": "python",
"request": "launch",
"program": "/home/zhao/code/IOD/IOD-Video-master/src_IOD/train.py",
"console": "integratedTerminal",
"pythonPath": "/home/zhao/anaconda3/envs/IOD/bin/python",
"args":[
"--K","8",
"--exp_id","Train_K8_Imagenet_TLGDM_STA_S1",
"--rgb_model","../experiment/result_model/TEA_STA_K8S1/",
"--batch_size","8",
"--master_batch","8",
"--lr","5e-4",
"--gpus","0",
"--num_workers","2",
"--num_epochs","12",
"--lr_step","6,8",
"--dataset","IODVideo",
"--split","1",
"--arch","TEAresnet_50",
"--pretrain_model","imagenet"
],
"justMyCode": false
}
]
}
参数pythonPath内容为,在激活环境后的终端输入:which python 会出现python路径
1并在右下角设置,配置文件为python格式
2指定python 的conda编译器路径