|
|
@@ -1,6 +1,6 @@
|
|
|
# OuLiPower V1.0
|
|
|
|
|
|
- 
|
|
|
+ 
|
|
|
|
|
|
------
|
|
|
|
|
|
@@ -96,14 +96,18 @@ OuLiPowerV1.0/ 根目录
|
|
|
|
|
|
```bash
|
|
|
# python 3.10
|
|
|
- # pytorch 2.6.0+cu124 这里根据客户需求,推理时安装CPU版本也开始可以的。
|
|
|
+ # 1.pytorch 2.6.0+cu124 这里根据客户需求,推理时安装CPU版本也可以的。
|
|
|
+ # 支持centos / windows
|
|
|
conda create -n oulipower python=3.10 -y
|
|
|
conda activate oulipower
|
|
|
- # CPU版本
|
|
|
- #python -m pip install -r requirements_CPU.txt
|
|
|
- # GPU版本
|
|
|
- python -m pip install -r requirements_GPU.txt
|
|
|
+ # 2.安装基础环境
|
|
|
+ python -m pip install -r requirements.txt
|
|
|
|
|
|
+ # 3.安装CPU版本的Pytorch
|
|
|
+ #pip install torch==2.6.0 torchvision==0.21.0 torchaudio==2.6.0 --index-url https://download.pytorch.org/whl/cpu
|
|
|
+
|
|
|
+ # 3.安装GPU版本的Pytorch
|
|
|
+ pip install torch==2.6.0 torchvision==0.21.0 torchaudio==2.6.0 --index-url https://download.pytorch.org/whl/cu124
|
|
|
```
|
|
|
|
|
|
3. 进入测试目录,进行测试
|
|
|
@@ -190,7 +194,7 @@ python $HOME/OuLiPowerV1.0/scripts/prediction.py \
|
|
|
|
|
|
|
|
|
|
|
|
-## 五、多场站调用方式
|
|
|
+## 五、多场站调研方式
|
|
|
|
|
|
> 代码调研路径: **scripts/run.sh**
|
|
|
|