Traceback (most recent call last):


 "tools/train_net_my.py", line 281, in <module>

main()


 "tools/train_net_my.py", line 119, in main

checkpoints = train_model()


 "tools/train_net_my.py", line 133, in train_model

setup_model_for_training(model, output_dir)


 "tools/train_net_my.py", line 231, in setup_model_for_training

add_model_training_inputs(model)


 "tools/train_net_my.py", line 255, in add_model_training_inputs

cfg.TRAIN.DATASETS, cfg.TRAIN.PROPOSAL_FILES


 "/work/detectron/lib/datasets/roidb.py", line 71, in combined_roidb_for_training

_compute_and_log_stats(roidb)


 "/work/detectron/lib/datasets/roidb.py", line 180, in _compute_and_log_stats

classes = roidb[0]['dataset'].classes
IndexError: list index out of range

Traceback (most recent call last):


 "e:/实体识别/NER-master/rnn.py", line 153, in <module>

embedding = load_word2vec_embedding(vocab_size)


 "e:\实体识别\NER-master\utils.py", line 264, in load_word2vec_embedding

embeddings[index] = coefs
# 将词和对应的向量存到字典里
IndexError: index 2 is out of bounds for axis 0 with size 2
