From 48385654ad505d8a97dcd9b70f9ffcbfe475387f Mon Sep 17 00:00:00 2001 From: Marc Lelarge Date: Fri, 10 Nov 2023 00:31:08 +0100 Subject: [PATCH] colab --- Module19/Zeroshot_with_CLIP.ipynb | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/Module19/Zeroshot_with_CLIP.ipynb b/Module19/Zeroshot_with_CLIP.ipynb index 5c01e63..7da6569 100644 --- a/Module19/Zeroshot_with_CLIP.ipynb +++ b/Module19/Zeroshot_with_CLIP.ipynb @@ -23,6 +23,23 @@ "![](https://raw.githubusercontent.com/openai/CLIP/main/CLIP.png)" ] }, + { + "cell_type": "code", + "execution_count": null, + "id": "24f15a94", + "metadata": {}, + "outputs": [], + "source": [ + "# Uncomment the code below if you use google colab:\n", + "#%pip install git+https://github.com/openai/CLIP.git\n", + "#%mkdir data\n", + "#%cd data\n", + "#!wget https://raw.githubusercontent.com/dataflowr/notebooks/master/Module19/data/cat.jpg\n", + "#!wget https://raw.githubusercontent.com/dataflowr/notebooks/master/Module19/data/dog.png\n", + "#!wget https://raw.githubusercontent.com/dataflowr/notebooks/master/Module19/data/caltech101_full.json\n", + "#%cd .." + ] + }, { "cell_type": "code", "execution_count": null,