Skip to content

CLIP result seems wrong #2387

@awsaf49

Description

@awsaf49

Current Behavior:

I tried out recently added pre-trained CLIP for zero-shot classification and the result seems wrong. You can verify that in this kaggle notebook. Instead of classifying the image as cat it is giving all candid labels equal probability of 0.33. I tried with multiple samples and the result is same for all, {'man': 0.33333847, 'dog': 0.33333862, 'cat': 0.33332297}.

Steps To Reproduce:

notebook: https://www.kaggle.com/code/awsaf49/kerascv-clip

Version:

  • HEAD

Reference:

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions