uclanlp / visualbert

Code for the paper "VisualBERT: A Simple and Performant Baseline for Vision and Language"
526 stars 104 forks source link

"VisualBERTDetector not in acceptable choices for type #15

Open menggehe opened 3 years ago

menggehe commented 3 years ago

I encounter this error when I pretrain on VCR. How can I solve this? allennlp.common.checks.ConfigurationError: "VisualBERTDetector not in acceptable choices for type: ['bcn', 'constituency_parser', 'biaffine_parser', 'coref', 'crf_tagger', 'decomposable_attention', 'event2mind', 'simple_seq2seq', 'bidaf', 'bidaf-ensemble', 'dialog_qa', 'nlvr_coverage_parser', 'nlvr_direct_parser', 'quarel_parser', 'wikitables_mml_parser', 'wikitables_erm_parser', 'atis_parser', 'text2sql_parser', 'srl', 'simple_tagger', 'esim', 'bimpm', 'graph_parser', 'bidirectional-language-model']"

liunian-harold-li commented 3 years ago

Hi, I haven’t experienced this issue before. Could you check the version of the AllenNLP you installed? I used Allennlp==0.8.0 and the code might not work with higher version of AllenNLP.

On Oct 7, 2020, at 11:25 PM, menggehe notifications@github.com wrote:

I encounter this error when I pretrain on VCR. How can I solve this? allennlp.common.checks.ConfigurationError: "VisualBERTDetector not in acceptable choices for type: ['bcn', 'constituency_parser', 'biaffine_parser', 'coref', 'crf_tagger', 'decomposable_attention', 'event2mind', 'simple_seq2seq', 'bidaf', 'bidaf-ensemble', 'dialog_qa', 'nlvr_coverage_parser', 'nlvr_direct_parser', 'quarel_parser', 'wikitables_mml_parser', 'wikitables_erm_parser', 'atis_parser', 'text2sql_parser', 'srl', 'simple_tagger', 'esim', 'bimpm', 'graph_parser', 'bidirectional-language-model']"

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/uclanlp/visualbert/issues/15, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALAYVCSAG2IYYIXOQCDZVZTSJVLMDANCNFSM4SIKGN6A.