Closed Dootmaan closed 2 months ago
Hi, I see several issues for potentially why performance is bad. Assume text_features is C x D
Also, for optimal performance you should be ensembling multiple templates and classnames (currently you use single classname and no class templates).
Hope this helps conceptually - practically, you can refer to the example here (we provide API for MI-Zero inference): https://github.com/mahmoodlab/CONCH/blob/main/notebooks/MI-zeroshot_classification_example_ensemble.ipynb
Thank you for your timely reply!
Thank you for your great work! Recently I was trying to test the zero-shot performance of CONCH on my own NSCLC/RCC dataset split. However, the AUC of both test datasets is below 0.6. My code for inference is presented as follows:
Is there anything wrong with my zero-shot inference code? I have also tried to change model_mizero into simple nn.AdaptiveAvgPool1d and nn.AdaptiveMaxPool1d but the AUC still won't go beyond 0.6.