Traceback (most recent call last):


 "video_demo.py", line 55, in <module>

image = utils.draw_bbox(frame, bboxes)


 "/home/robot6/桌面/tensorflow-yolov3/core/utils.py", line 83, in draw_bbox

bbox_color = colors[class_ind]
IndexError: list index out of range

Traceback (most recent call last):


 "/home/covid_nlu/.local/lib/python3.8/site-packages/sanic/app.py", line 976, in handle_request

response = await response


 "test_server_sanic.py", line 72, in get_answer

results = [q_a_pipeline({'question': question, 'context': doc})


 "test_server_sanic.py", line 72, in <listcomp>

results = [q_a_pipeline({'question': question, 'context': doc})


 "/home/covid_nlu/.local/lib/python3.8/site-packages/transformers/pipelines.py", line 1109, in __call__

start, end = self.model(**fw_args)


 "/home/covid_nlu/.local/lib/python3.8/site-packages/torch/nn/modules/module.py", line 550, in __call__

result = self.forward(*input, **kwargs)


 "/home/covid_nlu/.local/lib/python3.8/site-packages/transformers/modeling_roberta.py", line 663, in forward

outputs = self.roberta(


 "/home/covid_nlu/.local/lib/python3.8/site-packages/torch/nn/modules/module.py", line 550, in __call__

result = self.forward(*input, **kwargs)


 "/home/covid_nlu/.local/lib/python3.8/site-packages/transformers/modeling_bert.py", line 728, in forward

embedding_output = self.embeddings(


 "/home/covid_nlu/.local/lib/python3.8/site-packages/torch/nn/modules/module.py", line 550, in __call__

result = self.forward(*input, **kwargs)


 "/home/covid_nlu/.local/lib/python3.8/site-packages/transformers/modeling_roberta.py", line 64, in forward

return super().forward(


 "/home/covid_nlu/.local/lib/python3.8/site-packages/transformers/modeling_bert.py", line 175, in forward

token_type_embeddings = self.token_type_embeddings(token_type_ids)


 "/home/covid_nlu/.local/lib/python3.8/site-packages/torch/nn/modules/module.py", line 550, in __call__

result = self.forward(*input, **kwargs)


 "/home/covid_nlu/.local/lib/python3.8/site-packages/torch/nn/modules/sparse.py", line 112, in forward

return F.embedding(


 "/home/covid_nlu/.local/lib/python3.8/site-packages/torch/nn/functional.py", line 1724, in embedding

return torch.embedding(weight, input, padding_idx, scale_grad_by_freq, sparse)
IndexError: index out of range in self
