towhee.models.visualization.clip_visualizationΒΆ

Functions

get_clip_relevance

Get text relevance and image relevance from CLIP model.

show_attention_for_clip

Show the attention for CLIP model.

show_heatmap_on_text

Show the text relevance heatmap.

show_image_relevance

Show the image relevance heatmap.