VS code 远程python代码debug

远程安装Python和Python Debugger

对于以下命令,可以设置launch.json:

python slide_inference_stats.py --csv_path '/proj01/zhengyiran/04.BC1600Lite/00.data/01.slide_info/NK_slides_info默默20251215至20251224TEST.csv' --json_folders '/proj01/zhengyiran/04.BC1600Lite/03.plots/rknn/NK/BC1600.6.20251104' --model_type '6' --config_path '.../hyps/config.json' --output_dir /proj01/zhengyiran/04.BC1600Lite/04.results/00.model_inference_stats/rknn

{

"version": "0.2.0",

"configurations": [

{

"name": "Python: slide_inference_stats.py",

"type": "python",

"request": "launch",

"cwd": "/proj01/zhengyiran/04.BC1600Lite/01.code/00.bc1600_model_devlop/regresson_test",

"program": "/proj01/zhengyiran/04.BC1600Lite/01.code/00.bc1600_model_devlop/regresson_test/slide_inference_stats.py",

"pythonPath": "/home/zhengyiran/.conda/envs/uv1610/bin/python",

"args": [

"--csv_path",

"/proj01/zhengyiran/04.BC1600Lite/00.data/01.slide_info/NK_slides_info默默20251215至20251224.csv",

"--json_folders",

"/proj01/zhengyiran/04.BC1600Lite/03.plots/rknn/NK/BC1600.6.20251104",

"--model_type",

"6",

"--config_path",

".../hyps/config.json",

"--output_dir",

"/proj01/zhengyiran/04.BC1600Lite/04.results/00.model_inference_stats/rknn"

],

"console": "integratedTerminal",

"justMyCode": true,

}

]

}

相关推荐
翊谦8 小时前
Java Agent开发 Milvus 向量数据库安装
java·数据库·milvus
晓晓hh8 小时前
JavaSE学习——迭代器
java·开发语言·学习
查古穆8 小时前
栈-有效的括号
java·数据结构·算法
Java面试题总结8 小时前
Spring - Bean 生命周期
java·spring·rpc
硅基诗人8 小时前
每日一道面试题 10:synchronized 与 ReentrantLock 的核心区别及生产环境如何选型?
java
014-code8 小时前
String.intern() 到底干了什么
java·开发语言·面试
极梦网络无忧9 小时前
OpenClaw 基础使用说明(中文版)
python
codeJinger9 小时前
【Python】操作Excel文件
python·excel
摇滚侠9 小时前
JAVA 项目教程《苍穹外卖-12》,微信小程序项目,前后端分离,从开发到部署
java·开发语言·vue.js·node.js
楚国的小隐士9 小时前
为什么说Rust是对自闭症谱系人士友好的编程语言?
java·rust·编程·对比·自闭症·自闭症谱系障碍·神经多样性