Created
November 3, 2022 01:27
-
-
Save keitazoumana/73c7590e81eb33080f0e942fc0143e36 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import faiss | |
import torch | |
import skimage | |
import requests | |
import numpy as np | |
import pandas as pd | |
from PIL import Image | |
from io import BytesIO | |
import IPython.display | |
import matplotlib.pyplot as plt | |
from datasets import load_dataset | |
from collections import OrderedDict | |
from transformers import CLIPProcessor, CLIPModel, CLIPTokenizer | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment