Spaces:
Runtime error
Runtime error
Upload app.py
Browse files
app.py
CHANGED
@@ -81,13 +81,7 @@ with app:
|
|
81 |
1. [miniconda-Python3.8](https://docs.conda.io/en/latest/miniconda.html#windows-installers)(未测试其他Python版本)[点这里可以直接下载](https://repo.anaconda.com/miniconda/Miniconda3-py38_22.11.1-1-Windows-x86_64.exe),Just Me 与 All Users 都行,其余可无脑下一步
|
82 |
|
83 |
2. [git](https://git-scm.com/download/win)(建议使用便携版)[点这里可以直接下载(便携版v2.39.0.2)](https://github.com/git-for-windows/git/releases/download/v2.39.0.windows.2/PortableGit-2.39.0.2-64-bit.7z.exe),路径填 D:\\SUI\\git\\
|
84 |
-
|
85 |
-
3. [torch-1.12.1+cu113-cp38](https://download.pytorch.org/whl/cu113/torch/)(N卡运算选装)[点这里可以直接下载](https://download.pytorch.org/whl/cu113/torch-1.12.1%2Bcu113-cp38-cp38-win_amd64.whl) 下载后请放至 D:\\SUI\\envs\\
|
86 |
-
|
87 |
-
4. [torchaudio-0.12.1+cu113-cp38](https://download.pytorch.org/whl/cu113/torchaudio/)(N卡运算选装)[点这里可以直接下载](https://download.pytorch.org/whl/cu113/torchaudio-0.12.1%2Bcu113-cp38-cp38-win_amd64.whl) 下载后请放至 D:\\SUI\\envs\\
|
88 |
-
|
89 |
-
5. [torchvision-0.13.1+cu113-cp38](https://download.pytorch.org/whl/cu113/torchvision/)(N卡运算选装)[点这里可以直接下载](https://download.pytorch.org/whl/cu113/torchvision-0.13.1%2Bcu113-cp38-cp38-win_amd64.whl) 下载后请放至 D:\\SUI\\envs\\
|
90 |
-
|
91 |
### 2. 在开始菜单中运行 Anaconda Powershell Prompt 并配置环境(除了工作目录,复制粘贴回车即可)
|
92 |
|
93 |
```
|
@@ -120,9 +114,9 @@ with app:
|
|
120 |
```
|
121 |
# GPU(NVIDIA)推理要安装的依赖:(如果pip报SSL相关错误请关闭科学上网)
|
122 |
pip install -r requirements_gpu.txt
|
123 |
-
pip install
|
124 |
-
pip install
|
125 |
-
pip install
|
126 |
```
|
127 |
至此环境配置完成,关闭该终端窗口(方便我写下一步)
|
128 |
|
|
|
81 |
1. [miniconda-Python3.8](https://docs.conda.io/en/latest/miniconda.html#windows-installers)(未测试其他Python版本)[点这里可以直接下载](https://repo.anaconda.com/miniconda/Miniconda3-py38_22.11.1-1-Windows-x86_64.exe),Just Me 与 All Users 都行,其余可无脑下一步
|
82 |
|
83 |
2. [git](https://git-scm.com/download/win)(建议使用便携版)[点这里可以直接下载(便携版v2.39.0.2)](https://github.com/git-for-windows/git/releases/download/v2.39.0.windows.2/PortableGit-2.39.0.2-64-bit.7z.exe),路径填 D:\\SUI\\git\\
|
84 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
85 |
### 2. 在开始菜单中运行 Anaconda Powershell Prompt 并配置环境(除了工作目录,复制粘贴回车即可)
|
86 |
|
87 |
```
|
|
|
114 |
```
|
115 |
# GPU(NVIDIA)推理要安装的依赖:(如果pip报SSL相关错误请关闭科学上网)
|
116 |
pip install -r requirements_gpu.txt
|
117 |
+
pip install https://download.pytorch.org/whl/cu113/torch-1.12.1%2Bcu113-cp38-cp38-win_amd64.whl
|
118 |
+
pip install https://download.pytorch.org/whl/cu113/torchaudio-0.12.1%2Bcu113-cp38-cp38-win_amd64.whl
|
119 |
+
pip install https://download.pytorch.org/whl/cu113/torchvision-0.13.1%2Bcu113-cp38-cp38-win_amd64.whl
|
120 |
```
|
121 |
至此环境配置完成,关闭该终端窗口(方便我写下一步)
|
122 |
|