"vscode:/vscode.git/clone" did not exist on "fcb2ec8c2f88c7519494bc679e59d8fc681cb65d"
Unverified Commit dc8da1d4 authored by Mayank Khanduja's avatar Mayank Khanduja Committed by GitHub
Browse files

Fixed broken link of CLIP doc in evaluation doc (#4760)

parent 3dd54017
...@@ -334,7 +334,7 @@ image_processor = CLIPImageProcessor.from_pretrained(clip_id) ...@@ -334,7 +334,7 @@ image_processor = CLIPImageProcessor.from_pretrained(clip_id)
image_encoder = CLIPVisionModelWithProjection.from_pretrained(clip_id).to(device) image_encoder = CLIPVisionModelWithProjection.from_pretrained(clip_id).to(device)
``` ```
Notice that we are using a particular CLIP checkpoint, i.e., `openai/clip-vit-large-patch14`. This is because the Stable Diffusion pre-training was performed with this CLIP variant. For more details, refer to the [documentation](https://huggingface.co/docs/diffusers/main/en/api/pipelines/stable_diffusion/pix2pix#diffusers.StableDiffusionInstructPix2PixPipeline.text_encoder). Notice that we are using a particular CLIP checkpoint, i.e., `openai/clip-vit-large-patch14`. This is because the Stable Diffusion pre-training was performed with this CLIP variant. For more details, refer to the [documentation](https://huggingface.co/docs/transformers/model_doc/clip).
Next, we prepare a PyTorch `nn.Module` to compute directional similarity: Next, we prepare a PyTorch `nn.Module` to compute directional similarity:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment