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,

}

]

}

相关推荐
名字还没想好☜4 分钟前
Java 用 LinkedHashMap 三行实现 LRU 缓存:accessOrder、removeEldestEntry 与线程安全
java·后端·安全·spring·缓存
在所不辞兄13 分钟前
【零基础学智能仿真-11】CatBoost——让材料类型和边界条件参与力学预测
人工智能·python·深度学习·神经网络·机器学习·工程技术
谢亮_vipxieliang18 分钟前
ValidX vs Google Guava Preconditions:验证 vs 断言
java·spring boot·后端·spring cloud·hibernate·guava
2601_9620976919 分钟前
python的多线程编程之锁
python·多线程·同步·事件·
吴声子夜歌20 分钟前
ApacheCommons——commons-configuration2(多数据源配置统一管理与热加载)
java·开发语言·算法·apache
星星落进兜里27 分钟前
Java虚拟机面试题-补充
java·开发语言
30 分钟前
Python 图片处理:裁剪缩放至300×200,格式JPG/PNG/GIF,控制大小≤100KB
linux·前端·python
Android-Flutter30 分钟前
android Binder 应用层开发 详解
android·binder
2601_9622946132 分钟前
Python工具软件开发:借助InsCode AI IDE开启智能编程新时代
ide·python·ai·开发工具·智能化编程
2601_962097362 小时前
GraphQL,Grafana和Dash
python·grafana·数据可视化·graphql·dash