我是靠谱客的博主 虚幻口红,这篇文章主要介绍vscode里面launch.json 写法,供参考,现在分享给大家,希望可以做个参考。

vscode里面launch.json 写法,供参考 (2021-09-30)

{
	// 使用 IntelliSense 了解相关属性。 
	// 悬停以查看现有属性的描述。
	// 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387
	"version": "0.2.0",
	"configurations": [
		{
			"name": "随便自己起",
			"type": "python",
			"request": "launch",
			"program": "/media/data/....../network_test.py(自己代码路径)", 
			"console": "integratedTerminal",
			"env": {"CUDA_VISIBLE_DEVICES":"0"}, 
			"args": ["--dataset", "kinetics","--ckp","./result/model_full_kinetics.pkl","--k_shot","1"]   
		}
	]
}

最后

以上就是虚幻口红最近收集整理的关于vscode里面launch.json 写法,供参考的全部内容,更多相关vscode里面launch.json内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(62)

评论列表共有 0 条评论

立即
投稿
返回
顶部