google-research / robustness_metrics

Apache License 2.0
464 stars 33 forks source link

Questions on CLIP calibration #32

Open DianCh opened 3 years ago

DianCh commented 3 years ago

Hi, I was wondering how you calculated the confidence for CLIP models with their zero-shot predictions. Specifically:

Screen Shot 2021-07-17 at 11 35 19 AM

Thank you for the wonderful work of the paper!

josipd commented 3 years ago

Hello,

our instantiation of the CLIP model is checked in here: https://github.com/google-research/robustness_metrics/blob/5a380c4ec11fa85255b5db643c64efa42d749110/robustness_metrics/models/clip.py