Browse Source

[to #42322933] set rouge_score version

2022/7/22 更新的 rouge_socre 0.0.7 版本存在 import 报错的问题,暂时将 rouge_score 库版本设置为 <= 0.0.4
master
hemu.zp 3 years ago
parent
commit
ab04ceafc5
2 changed files with 6 additions and 2 deletions
  1. +3
    -1
      requirements/multi-modal.txt
  2. +3
    -1
      requirements/nlp.txt

+ 3
- 1
requirements/multi-modal.txt View File

@@ -3,6 +3,8 @@ ftfy>=6.0.3
ofa>=0.0.2
pycocoevalcap>=1.2
pycocotools>=2.0.4
rouge_score
# rough-score was just recently updated from 0.0.4 to 0.0.7
# which introduced compatability issues that are being investigated
rouge_score<=0.0.4
timm
torchvision

+ 3
- 1
requirements/nlp.txt View File

@@ -1,4 +1,6 @@
pai-easynlp
rouge_score
# rough-score was just recently updated from 0.0.4 to 0.0.7
# which introduced compatability issues that are being investigated
rouge_score<=0.0.4
sofa>=1.0.5
spacy>=2.3.5

Loading…
Cancel
Save