MobileCLIP: Fast Image-Text Models through Multi-Modal Reinforced Training
Requirement already satisfied: clip-benchmark>=1.4.0 in /Users/bro/.pyenv/versions/3.8.10/lib/python3.8/site-packages (from -r requirements.txt (line 1)) (1.6.1) Requirement already satisfied: datasets>=2.8.0 in /Users/bro/.pyenv/versions/3.8.10/lib/python3.8/site-packages (from -r requirements.txt (line 2)) (2.20.0) Requirement already satisfied: open-clip-torch>=2.20.0 in /Users/bro/.pyenv/versions/3.8.10/lib/python3.8/site-packages (from -r requirements.txt (line 3)) (2.20.0) Collecting timm>=0.9.5 (from -r requirements.txt (line 4)) Downloading timm-1.0.7-py3-none-any.whl.metadata (47 kB) βββββββββββββββββββββββββββββββββββββββ 47.5/47.5 kB 790.1 kB/s eta 0:00:00 Collecting torch==1.13.1 (from -r requirements.txt (line 5)) Using cached torch-1.13.1-cp38-none-macosx_10_9_x86_64.whl.metadata (23 kB) Collecting torchvision==0.14.1 (from -r requirements.txt (line 6)) Using cached torchvision-0.14.1-cp38-cp38-macosx_10_9_x86_64.whl.metadata (11 kB) Requirement already satisfied: typing-extensions in /Users/bro/.pyenv/versions/3.8.10/lib/python3.8/site-packages (from torch==1.13.1->-r requirements.txt (line 5)) (4.12.2) Requirement already satisfied: numpy in /Users/bro/.pyenv/versions/3.8.10/lib/python3.8/site-packages (from torchvision==0.14.1->-r requirements.txt (line 6)) (1.24.1) Requirement already satisfied: requests in /Users/bro/.pyenv/versions/3.8.10/lib/python3.8/site-packages (from torchvision==0.14.1->-r requirements.txt (line 6)) (2.28.2) Requirement already satisfied: pillow!=8.3.*,>=5.3.0 in /Users/bro/.pyenv/versions/3.8.10/lib/python3.8/site-packages (from torchvision==0.14.1->-r requirements.txt (line 6)) (9.3.0) Requirement already satisfied: tqdm>=2 in /Users/bro/.pyenv/versions/3.8.10/lib/python3.8/site-packages (from clip-benchmark>=1.4.0->-r requirements.txt (line 1)) (4.65.2) Requirement already satisfied: scikit-learn<2,>=1.0 in /Users/bro/.pyenv/versions/3.8.10/lib/python3.8/site-packages (from clip-benchmark>=1.4.0->-r requirements.txt (line 1)) (1.1.1) Requirement already satisfied: pycocoevalcap in /Users/bro/.pyenv/versions/3.8.10/lib/python3.8/site-packages (from clip-benchmark>=1.4.0->-r requirements.txt (line 1)) (1.2) Requirement already satisfied: webdataset>=0.2.31 in /Users/bro/.pyenv/versions/3.8.10/lib/python3.8/site-packages (from clip-benchmark>=1.4.0->-r requirements.txt (line 1)) (0.2.86) Requirement already satisfied: transformers in /Users/bro/.pyenv/versions/3.8.10/lib/python3.8/site-packages (from clip-benchmark>=1.4.0->-r requirements.txt (line 1)) (4.34.1) Requirement already satisfied: filelock in /Users/bro/.pyenv/versions/3.8.10/lib/python3.8/site-packages (from datasets>=2.8.0->-r requirements.txt (line 2)) (3.14.0) Requirement already satisfied: pyarrow>=15.0.0 in /Users/bro/.pyenv/versions/3.8.10/lib/python3.8/site-packages (from datasets>=2.8.0->-r requirements.txt (line 2)) (16.1.0) Requirement already satisfied: pyarrow-hotfix in /Users/bro/.pyenv/versions/3.8.10/lib/python3.8/site-packages (from datasets>=2.8.0->-r requirements.txt (line 2)) (0.6) Requirement already satisfied: dill<0.3.9,>=0.3.0 in /Users/bro/.pyenv/versions/3.8.10/lib/python3.8/site-packages (from datasets>=2.8.0->-r requirements.txt (line 2)) (0.3.6) Requirement already satisfied: pandas in /Users/bro/.pyenv/versions/3.8.10/lib/python3.8/site-packages (from datasets>=2.8.0->-r requirements.txt (line 2)) (1.5.2) Collecting requests (from torchvision==0.14.1->-r requirements.txt (line 6)) Using cached requests-2.32.3-py3-none-any.whl.metadata (4.6 kB) Collecting tqdm>=2 (from clip-benchmark>=1.4.0->-r requirements.txt (line 1)) Using cached tqdm-4.66.4-py3-none-any.whl.metadata (57 kB) Requirement already satisfied: xxhash in /Users/bro/.pyenv/versions/3.8.10/lib/python3.8/site-packages (from datasets>=2.8.0->-r requirements.txt (line 2)) (3.4.1) Requirement already satisfied: multiprocess in /Users/bro/.pyenv/versions/3.8.10/lib/python3.8/site-packages (from datasets>=2.8.0->-r requirements.txt (line 2)) (0.70.14) Requirement already satisfied: fsspec<=2024.5.0,>=2023.1.0 in /Users/bro/.pyenv/versions/3.8.10/lib/python3.8/site-packages (from fsspec[http]<=2024.5.0,>=2023.1.0->datasets>=2.8.0->-r requirements.txt (line 2)) (2023.5.0) Requirement already satisfied: aiohttp in /Users/bro/.pyenv/versions/3.8.10/lib/python3.8/site-packages (from datasets>=2.8.0->-r requirements.txt (line 2)) (3.9.5) Collecting huggingface-hub>=0.21.2 (from datasets>=2.8.0->-r requirements.txt (line 2)) Using cached huggingface_hub-0.23.4-py3-none-any.whl.metadata (12 kB) Requirement already satisfied: packaging in /Users/bro/.pyenv/versions/3.8.10/lib/python3.8/site-packages (from datasets>=2.8.0->-r requirements.txt (line 2)) (24.1) Requirement already satisfied: pyyaml>=5.1 in /Users/bro/.pyenv/versions/3.8.10/lib/python3.8/site-packages (from datasets>=2.8.0->-r requirements.txt (line 2)) (6.0.1) Requirement already satisfied: regex in /Users/bro/.pyenv/versions/3.8.10/lib/python3.8/site-packages (from open-clip-torch>=2.20.0->-r requirements.txt (line 3)) (2022.10.31) Requirement already satisfied: ftfy in /Users/bro/.pyenv/versions/3.8.10/lib/python3.8/site-packages (from open-clip-torch>=2.20.0->-r requirements.txt (line 3)) (6.1.1) Requirement already satisfied: sentencepiece in /Users/bro/.pyenv/versions/3.8.10/lib/python3.8/site-packages (from open-clip-torch>=2.20.0->-r requirements.txt (line 3)) (0.1.99) Requirement already satisfied: protobuf<4 in /Users/bro/.pyenv/versions/3.8.10/lib/python3.8/site-packages (from open-clip-torch>=2.20.0->-r requirements.txt (line 3)) (3.20.1) Requirement already satisfied: safetensors in /Users/bro/.pyenv/versions/3.8.10/lib/python3.8/site-packages (from timm>=0.9.5->-r requirements.txt (line 4)) (0.4.3) Requirement already satisfied: aiosignal>=1.1.2 in /Users/bro/.pyenv/versions/3.8.10/lib/python3.8/site-packages (from aiohttp->datasets>=2.8.0->-r requirements.txt (line 2)) (1.3.1) Requirement already satisfied: attrs>=17.3.0 in /Users/bro/.pyenv/versions/3.8.10/lib/python3.8/site-packages (from aiohttp->datasets>=2.8.0->-r requirements.txt (line 2)) (23.2.0) Requirement already satisfied: frozenlist>=1.1.1 in /Users/bro/.pyenv/versions/3.8.10/lib/python3.8/site-packages (from aiohttp->datasets>=2.8.0->-r requirements.txt (line 2)) (1.4.1) Requirement already satisfied: multidict<7.0,>=4.5 in /Users/bro/.pyenv/versions/3.8.10/lib/python3.8/site-packages (from aiohttp->datasets>=2.8.0->-r requirements.txt (line 2)) (6.0.5) Requirement already satisfied: yarl<2.0,>=1.0 in /Users/bro/.pyenv/versions/3.8.10/lib/python3.8/site-packages (from aiohttp->datasets>=2.8.0->-r requirements.txt (line 2)) (1.9.4) Requirement already satisfied: async-timeout<5.0,>=4.0 in /Users/bro/.pyenv/versions/3.8.10/lib/python3.8/site-packages (from aiohttp->datasets>=2.8.0->-r requirements.txt (line 2)) (4.0.3) Requirement already satisfied: charset-normalizer<4,>=2 in /Users/bro/.pyenv/versions/3.8.10/lib/python3.8/site-packages (from requests->torchvision==0.14.1->-r requirements.txt (line 6)) (3.3.2) Requirement already satisfied: idna<4,>=2.5 in /Users/bro/.pyenv/versions/3.8.10/lib/python3.8/site-packages (from requests->torchvision==0.14.1->-r requirements.txt (line 6)) (3.6) Requirement already satisfied: urllib3<3,>=1.21.1 in /Users/bro/.pyenv/versions/3.8.10/lib/python3.8/site-packages (from requests->torchvision==0.14.1->-r requirements.txt (line 6)) (1.26.18) Requirement already satisfied: certifi>=2017.4.17 in /Users/bro/.pyenv/versions/3.8.10/lib/python3.8/site-packages (from requests->torchvision==0.14.1->-r requirements.txt (line 6)) (2024.2.2) Requirement already satisfied: scipy>=1.3.2 in /Users/bro/.pyenv/versions/3.8.10/lib/python3.8/site-packages (from scikit-learn<2,>=1.0->clip-benchmark>=1.4.0->-r requirements.txt (line 1)) (1.10.1) Requirement already satisfied: joblib>=1.0.0 in /Users/bro/.pyenv/versions/3.8.10/lib/python3.8/site-packages (from scikit-learn<2,>=1.0->clip-benchmark>=1.4.0->-r requirements.txt (line 1)) (1.4.2) Requirement already satisfied: threadpoolctl>=2.0.0 in /Users/bro/.pyenv/versions/3.8.10/lib/python3.8/site-packages (from scikit-learn<2,>=1.0->clip-benchmark>=1.4.0->-r requirements.txt (line 1)) (3.5.0) Requirement already satisfied: braceexpand in /Users/bro/.pyenv/versions/3.8.10/lib/python3.8/site-packages (from webdataset>=0.2.31->clip-benchmark>=1.4.0->-r requirements.txt (line 1)) (0.1.7) Requirement already satisfied: wcwidth>=0.2.5 in /Users/bro/.pyenv/versions/3.8.10/lib/python3.8/site-packages (from ftfy->open-clip-torch>=2.20.0->-r requirements.txt (line 3)) (0.2.13) Requirement already satisfied: python-dateutil>=2.8.1 in /Users/bro/.pyenv/versions/3.8.10/lib/python3.8/site-packages (from pandas->datasets>=2.8.0->-r requirements.txt (line 2)) (2.8.2) Requirement already satisfied: pytz>=2020.1 in /Users/bro/.pyenv/versions/3.8.10/lib/python3.8/site-packages (from pandas->datasets>=2.8.0->-r requirements.txt (line 2)) (2023.4) Requirement already satisfied: pycocotools>=2.0.2 in /Users/bro/.pyenv/versions/3.8.10/lib/python3.8/site-packages (from pycocoevalcap->clip-benchmark>=1.4.0->-r requirements.txt (line 1)) (2.0.7) Requirement already satisfied: tokenizers<0.15,>=0.14 in /Users/bro/.pyenv/versions/3.8.10/lib/python3.8/site-packages (from transformers->clip-benchmark>=1.4.0->-r requirements.txt (line 1)) (0.14.1) Requirement already satisfied: matplotlib>=2.1.0 in /Users/bro/.pyenv/versions/3.8.10/lib/python3.8/site-packages (from pycocotools>=2.0.2->pycocoevalcap->clip-benchmark>=1.4.0->-r requirements.txt (line 1)) (3.5.2) Requirement already satisfied: six>=1.5 in /Users/bro/.pyenv/versions/3.8.10/lib/python3.8/site-packages (from python-dateutil>=2.8.1->pandas->datasets>=2.8.0->-r requirements.txt (line 2)) (1.16.0) INFO: pip is looking at multiple versions of tokenizers to determine which version is compatible with other requirements. This could take a while. Collecting tokenizers<0.15,>=0.14 (from transformers->clip-benchmark>=1.4.0->-r requirements.txt (line 1)) Using cached tokenizers-0.14.0-cp38-cp38-macosx_10_7_x86_64.whl.metadata (6.7 kB) Collecting transformers (from clip-benchmark>=1.4.0->-r requirements.txt (line 1)) Using cached transformers-4.41.2-py3-none-any.whl.metadata (43 kB) Collecting tokenizers<0.20,>=0.19 (from transformers->clip-benchmark>=1.4.0->-r requirements.txt (line 1)) Using cached tokenizers-0.19.1-cp38-cp38-macosx_10_12_x86_64.whl.metadata (6.7 kB) Requirement already satisfied: cycler>=0.10 in /Users/bro/.pyenv/versions/3.8.10/lib/python3.8/site-packages (from matplotlib>=2.1.0->pycocotools>=2.0.2->pycocoevalcap->clip-benchmark>=1.4.0->-r requirements.txt (line 1)) (0.12.1) Requirement already satisfied: fonttools>=4.22.0 in /Users/bro/.pyenv/versions/3.8.10/lib/python3.8/site-packages (from matplotlib>=2.1.0->pycocotools>=2.0.2->pycocoevalcap->clip-benchmark>=1.4.0->-r requirements.txt (line 1)) (4.49.0) Requirement already satisfied: kiwisolver>=1.0.1 in /Users/bro/.pyenv/versions/3.8.10/lib/python3.8/site-packages (from matplotlib>=2.1.0->pycocotools>=2.0.2->pycocoevalcap->clip-benchmark>=1.4.0->-r requirements.txt (line 1)) (1.4.5) Requirement already satisfied: pyparsing>=2.2.1 in /Users/bro/.pyenv/versions/3.8.10/lib/python3.8/site-packages (from matplotlib>=2.1.0->pycocotools>=2.0.2->pycocoevalcap->clip-benchmark>=1.4.0->-r requirements.txt (line 1)) (3.1.1) Using cached torch-1.13.1-cp38-none-macosx_10_9_x86_64.whl (135.4 MB) Using cached torchvision-0.14.1-cp38-cp38-macosx_10_9_x86_64.whl (1.4 MB) Downloading timm-1.0.7-py3-none-any.whl (2.3 MB) ββββββββββββββββββββββββββββββββββββββββ 2.3/2.3 MB 16.8 MB/s eta 0:00:00 Using cached huggingface_hub-0.23.4-py3-none-any.whl (402 kB) Using cached requests-2.32.3-py3-none-any.whl (64 kB) Using cached tqdm-4.66.4-py3-none-any.whl (78 kB) Using cached transformers-4.41.2-py3-none-any.whl (9.1 MB) Using cached tokenizers-0.19.1-cp38-cp38-macosx_10_12_x86_64.whl (2.5 MB) Installing collected packages: tqdm, torch, requests, torchvision, huggingface-hub, tokenizers, timm, transformers Attempting uninstall: tqdm Found existing installation: tqdm 4.65.2 Uninstalling tqdm-4.65.2: Successfully uninstalled tqdm-4.65.2 Attempting uninstall: torch Found existing installation: torch 2.1.1 Uninstalling torch-2.1.1: Successfully uninstalled torch-2.1.1 Attempting uninstall: requests Found existing installation: requests 2.28.2 Uninstalling requests-2.28.2: Successfully uninstalled requests-2.28.2 Attempting uninstall: torchvision Found existing installation: torchvision 0.16.1 Uninstalling torchvision-0.16.1: Successfully uninstalled torchvision-0.16.1 Attempting uninstall: huggingface-hub Found existing installation: huggingface-hub 0.17.3 Uninstalling huggingface-hub-0.17.3: Successfully uninstalled huggingface-hub-0.17.3 Attempting uninstall: tokenizers Found existing installation: tokenizers 0.14.1 Uninstalling tokenizers-0.14.1: Successfully uninstalled tokenizers-0.14.1 Attempting uninstall: timm Found existing installation: timm 0.4.12 Uninstalling timm-0.4.12: Successfully uninstalled timm-0.4.12 Attempting uninstall: transformers Found existing installation: transformers 4.34.1 Uninstalling transformers-4.34.1: Successfully uninstalled transformers-4.34.1 Successfully installed huggingface-hub-0.23.4 requests-2.32.3 timm-1.0.7 tokenizers-0.19.1 torch-1.13.1 torchvision-0.14.1 tqdm-4.66.4 transformers-4.41.2
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. detectron2 0.6 requires iopath<0.1.10,>=0.1.7, but you have iopath 0.1.10 which is incompatible. google-api-core 2.19.0 requires protobuf!=3.20.0,!=3.20.1,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<5.0.0.dev0,>=3.19.5, but you have protobuf 3.20.1 which is incompatible. langchain 0.0.171 requires pydantic<2,>=1, but you have pydantic 2.7.4 which is incompatible. lightning 2.3.0 requires torch<4.0,>=2.0.0, but you have torch 1.13.1 which is incompatible. objathor 0.0.5 requires msgpack>=1.0.7, but you have msgpack 1.0.3 which is incompatible. objathor 0.0.5 requires scikit-image>=0.21.0, but you have scikit-image 0.19.3 which is incompatible. objathor 0.0.5 requires trimesh>=4.0.1, but you have trimesh 3.16.4 which is incompatible. openxlab 0.1.0 requires requests~=2.28.2, but you have requests 2.32.3 which is incompatible. openxlab 0.1.0 requires tqdm~=4.65.0, but you have tqdm 4.66.4 which is incompatible. paddleseg 2.8.0 requires opencv-python<=4.6.0, but you have opencv-python 4.6.0.66 which is incompatible. pytorch-lightning 1.3.7 requires PyYAML<=5.4.1,>=5.1, but you have pyyaml 6.0.1 which is incompatible. ray 2.3.0 requires grpcio<=1.49.1,>=1.32.0; python_version < "3.10" and sys_platform == "darwin", but you have grpcio 1.62.1 which is incompatible. salesforce-lavis 1.0.0 requires opencv-python-headless==4.5.5.64, but you have opencv-python-headless 4.8.0.74 which is incompatible. salesforce-lavis 1.0.0 requires timm==0.4.12, but you have timm 1.0.7 which is incompatible. tensorflow 2.11.1 requires protobuf<3.20,>=3.9.2, but you have protobuf 3.20.1 which is incompatible. tensorflow 2.11.1 requires tensorboard<2.12,>=2.11, but you have tensorboard 2.12.0 which is incompatible. torchattacks 3.5.1 requires requests~=2.25.1, but you have requests 2.32.3 which is incompatible. torchaudio 2.0.1 requires torch==2.0.0, but you have torch 1.13.1 which is incompatible. torchdata 0.6.0 requires torch==2.0.0, but you have torch 1.13.1 which is incompatible.