Skip to content

Commit 8739c94

Browse files
Updated specific model descriptions when packages are missing
1 parent efef3c3 commit 8739c94

File tree

34 files changed

+61
-37
lines changed

34 files changed

+61
-37
lines changed

applications/EIVideo/EIVideo/README.MD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# 交互式视频智能标注工具 - CLI(Command Line Interface)
22

3-
在开始使用之前,您可能需要按照以下命令安装额外的依赖包
3+
在开始使用之前,您需要按照以下命令安装额外的依赖包
44
```bash
55
python -m pip install scikit-image
66
```

applications/EIVideo/EIVideo/docs/en/manet.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
- [Inference](#Inference)
1616

17-
Before getting started, you may need to install additional dependencies as follows:
17+
Before getting started, you need to install additional dependencies as follows:
1818
```bash
1919
python -m pip install scikit-image
2020
```

applications/EIVideo/EIVideo/docs/zh-CN/manet.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
- [模型推理](#模型推理)
1616

17-
在开始使用之前,您可能需要按照以下命令安装额外的依赖包
17+
在开始使用之前,您需要按照以下命令安装额外的依赖包
1818
```bash
1919
python -m pip install scikit-image
2020
```

applications/EIVideo/EIVideo/paddlevideo/utils/manet_utils.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,9 @@
8484
try:
8585
from skimage import morphology, transform
8686
except ImportError as e:
87-
print(f"{e}, [scikit-image] package and it's dependencies may needed.")
87+
print(
88+
f"{e}, [scikit-image] package and it's dependencies is required for EIVideo."
89+
)
8890
import paddle
8991
import cv2
9092
import random

applications/Ma-Net/utils/mask_damaging.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33
try:
44
from skimage import morphology, transform
55
except ImportError as e:
6-
print(f"{e}, [scikit-image] package and it's dependencies may needed.")
6+
print(
7+
f"{e}, [scikit-image] package and it's dependencies is required for MA-Net."
8+
)
79
import paddle
810
import cv2
911
import random

applications/PP-Care/Readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
- [实现细节](#实现细节)
1111
- [参考论文](#参考论文)
1212

13-
在开始使用之前,您可能需要按照以下命令安装额外的依赖包
13+
在开始使用之前,您需要按照以下命令安装额外的依赖包
1414
```bash
1515
python -m pip install SimpleITK
1616
```

applications/T2VLAD/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
- [模型测试](#模型测试)
1212
- [参考论文](#参考论文)
1313

14-
在开始使用之前,您可能需要按照以下命令安装额外的依赖包
14+
在开始使用之前,您需要按照以下命令安装额外的依赖包
1515
```bash
1616
python -m pip install paddlenlp
1717
```

applications/T2VLAD/README_en.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
- [Test](#Test)
1212
- [Reference](#Reference)
1313

14-
Before getting started, you may need to install additional dependencies as follows:
14+
Before getting started, you need to install additional dependencies as follows:
1515
```bash
1616
python -m pip install paddlenlp
1717
```

applications/T2VLAD/base/base_dataset.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,9 @@
3232
try:
3333
from paddlenlp.transformers import BertTokenizer
3434
except ImportError as e:
35-
print(e)
35+
print(
36+
f"{e}, [paddlenlp] package and it's dependencies is required for T2VLAD."
37+
)
3638
from utils import ensure_tensor, expert_tensor_storage
3739

3840
# For SLURM usage, buffering makes it difficult to see events as they happen, so we set

applications/T2VLAD/model/model.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@
3030
try:
3131
from paddlenlp.transformers import BertModel
3232
except ImportError as e:
33-
print(e)
33+
print(
34+
f"{e}, [paddlenlp] package and it's dependencies is required for T2VLAD."
35+
)
3436

3537

3638
class Mish(nn.Layer):

0 commit comments

Comments
 (0)