Thank you for your excellent paper and for sharing the codebase. While running few-shot experiments, I encountered two issues that I wanted to report:
- TypeError in BiomedCLIPMultiHeadAttention.forward
TypeError: BiomedCLIPMultiHeadAttention.forward() got an unexpected keyword argument 'attn_mask'
As a temporary workaround, I added a no-op attn_mask parameter to the forward signature of BiomedCLIPMultiHeadAttention. Could you confirm whether this change is appropriate, or advise on a preferred fix?
- NameError for VALIDATION in run_biomedical_training
NameError: name 'VALIDATION' is not defined
Unlike run_training, run_biomedical_training does not define VALIDATION, which raises this error. Defining VALIDATION = False allowed the script to run without further issues. Is this the intended behavior, or should VALIDATION be set elsewhere?
Thank you again for your work and for any guidance you can share.
Thank you for your excellent paper and for sharing the codebase. While running few-shot experiments, I encountered two issues that I wanted to report:
As a temporary workaround, I added a no-op attn_mask parameter to the forward signature of BiomedCLIPMultiHeadAttention. Could you confirm whether this change is appropriate, or advise on a preferred fix?
Unlike run_training, run_biomedical_training does not define VALIDATION, which raises this error. Defining VALIDATION = False allowed the script to run without further issues. Is this the intended behavior, or should VALIDATION be set elsewhere?
Thank you again for your work and for any guidance you can share.