0
点赞
收藏
分享

微信扫一扫

Tomcat 启动时出现 java.util.zip.ZipException: error in opening zip file

小磊z 2024-08-19 阅读 27
{
    "version": "0.2.0",
    "configurations": [
        {
            "name": "VL-PET Script",
            "type": "python",  // "debugpy" is often just referred to as "python" in VSCode
            "request": "launch",
            "program": "${workspaceFolder}/scripts/image-text/VL-PET-middleX.sh",
            "args": [
                "20000",
                "96",
                "4",
                "96",
                "1e-3",
                "42"
            ],
            "console": "integratedTerminal",
            "env": {
                "PYTHONPATH": "${workspaceFolder}/src:${env:PYTHONPATH}",
                "TOKENIZERS_PARALLELISM": "true",
                "CUDA_VISIBLE_DEVICES": "1,3"
            },
            "cwd": "${workspaceFolder}",
            "python": "${workspaceFolder}/path_to_your_virtualenv/bin/python",  // 指定 Python 虚拟环境的路径
            "justMyCode": false
        }
    ]
}

其中,${workspaceFolder}:是 VSCode 中的一个变量,占位符,用于表示当前打开的工作空间的根目录路径。 指向你在 VSCode 中当前打开的项目的根目录。如果你在 VSCode 中打开了一个文件夹作为工作区,这个变量就会指向该文件夹的路径。

举报

相关推荐

0 条评论