Official repository of OFA (ICML 2022). Paper: OFA: Unifying Architectures, Tasks, and Modalities Through a Simple Sequence-to-Sequence Learning Framework
Apache License 2.0
2.4k
stars
247
forks
source link
Evaluation: TypeError: 'NoneType' object is not subscriptable #332
In
evaluate.py
line 159:I would suggest considering the
NoneType
scenario, e.g., inOFA/utils/eval_utils.py
line 55.So it will be bug-free if you modify
evaluate.py
line 159 as below: