cshizhe / hgr_v2t

Code accompanying the paper "Fine-grained Video-Text Retrieval with Hierarchical Graph Reasoning".
MIT License
209 stars 21 forks source link

Problem about allennlp: "srl_bert is not a registered name for Model" #8

Closed mysuli2333 closed 4 years ago

mysuli2333 commented 4 years ago

The pretrained model "bert-base-srl-2019.06.17.tar.gz" seems not to be applicable for the latest version of allennlp

BerengarChen commented 4 years ago

Got the same problem on allennlp 0.9.0 and 1.0.0rc1. Are there any possible solutions?

zfchenUnique commented 3 years ago

Meet the same problem and finally found the problem is that I have not successfully installed the package. Please try "pip install allennlp==1.0.0 allennlp-models==1.0.0". https://demo.allennlp.org/semantic-role-labeling/