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,

}

]

}

相关推荐
唐叔在学习5 小时前
就算没有服务器,我照样能够同步数据
后端·python·程序员
雨白7 小时前
Android 快捷方式实战指南:静态、动态与固定快捷方式详解
android
hqk7 小时前
鸿蒙项目实战:手把手带你实现 WanAndroid 布局与交互
android·前端·harmonyos
曲幽7 小时前
FastAPI流式输出实战与避坑指南:让AI像人一样“边想边说”
python·ai·fastapi·web·stream·chat·async·generator·ollama
Flittly7 小时前
【从零手写 AI Agent:learn-claude-code 项目实战笔记】(1)The Agent Loop (智能体循环)
python·agent
LING7 小时前
RN容器启动优化实践
android·react native
后端AI实验室8 小时前
用AI写代码,我差点把漏洞发上线:血泪总结的10个教训
java·ai
vivo互联网技术9 小时前
ICLR2026 | 视频虚化新突破!Any-to-Bokeh 一键生成电影感连贯效果
人工智能·python·深度学习
程序员清风10 小时前
小红书二面:Spring Boot的单例模式是如何实现的?
java·后端·面试