提交 beeca07b 编写于 作者: P pengmian

change contrib/infer.py count

上级 9b7605c5
......@@ -22,7 +22,7 @@ CVPR 19 Look into Person (LIP) 单人人像分割比赛冠军模型,详见[ACE
### 4. 运行
**NOTE:** 运行该模型需要需至少2.5G显存
**NOTE:** 运行该模型需要2G左右显存
使用GPU预测
```
......
......@@ -84,7 +84,7 @@ def infer():
test_dataset = TestDataSet()
data_num = test_dataset.data_num
for idx in range(data_num):
for idx in range(1, data_num + 1):
# 数据获取
ori_img, image, im_name, im_shape = test_dataset.get_data(idx)
if image is None:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册