def show_image_relevance(image_relevance: torch.Tensor, img_tensor: torch.Tensor, orig_image: Image):
    """
    Show the image relevance heatmap.
    Args:
        image_relevance (`torch.Tensor`):
            Image relevance.
        img_tensor (`torch.Tensor`):
            Transformed image tensor.
        orig_image (`Image`):
            Original input image.
    """
    if not is_matplotlib_available():
        models_log.warning('Matplotlib is not available.')
    from towhee.utils.matplotlib_utils import matplotlib
    import matplotlib.pylab as plt  # pylint: disable=import-outside-toplevel
    _, axs = plt.subplots(1, 2)
    axs[0].imshow(orig_image)
    axs[0].axis('off')
    vis = _reshape_attr_and_get_heatmap(image_relevance, img_tensor)
    axs[1].imshow(vis)
    axs[1].axis('off')
    plt.show()
Show the image relevance heatmap.
Args:
image_relevance (`torch.Tensor`):
Image relevance.
img_tensor (`torch.Tensor`):
Transformed image tensor.
orig_image (`Image`):
Original input image.
towhee/models/visualization/clip_visualization.py