Update example.py
#3
by
Haroon
- opened
For zero shot classification, model needs to be in eval mode. Otherwise, the prediction probabilities will not be repeatable for the same image across multiple runs.
For zero shot classification, model needs to be in eval mode. Otherwise, the prediction probabilities will not be repeatable for the same image across multiple runs.