hnjzbss / EKAGen

[CVPR 2024]Instance-level Expert Knowledge and Aggregate Discriminative Attention for Radiology Report Generation
Apache License 2.0
18 stars 0 forks source link

KeyError: (1, 1, 0, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0, 1) class_feature = [self.knowledge_prompt[key] for key in batch_key_list] #5

Open banbooliang opened 1 month ago

banbooliang commented 1 month ago

I encountered this problem with no predictive category information in the dictionary (knowledge_prompt),and What's going on here?

hnjzbss commented 1 month ago

I encountered this problem with no predictive category information in the dictionary (knowledge_prompt),and What's going on here?

You can freeze the weights of the disease detector during training or inference. If there are still issues, you can try exception handling to temporarily skip this disease detection anomaly.

Simsinding commented 1 week ago

Hello, I also encountered this problem. Has your issue been resolved