DEVAIEXP / image-interrogator

The IMAGE-interrogator for SOTA image captioning
MIT License
77 stars 6 forks source link

[Bug]: AttributeError: 'Image' object has no attribute 'orig_file_name' #20

Closed MNeMoNiCuZ closed 6 months ago

MNeMoNiCuZ commented 7 months ago

Is there an existing issue for this?

What happened?

I'm having problems running the image-interrogator tools. I get a few different errors based on the model that I try to run, a lot of them give me this:

  File "D:\AI\Training\Tools\image-interrogator\util\generate.py", line 78, in generate_captions
    filename = f"{images_[j].orig_file_name}"
                  ^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'Image' object has no attribute 'orig_file_name'

Not quite sure what to do. Any help is appreciated.

Steps to reproduce the problem

  1. Add a single image in the "Single Image Upload" section.
  2. Precision type FP16
  3. Load mode 16-bit
  4. Device auto
  5. Generate Individual caption file checked
  6. Tried the following models: blip base, blip large, models--openai--clip-vit-large-patch14-336, models--liuhaotian--llava-v1.6-mistral-7b, models--vikhyatk--moondream2

Command Line Arguments on Installing

No

Command Line Arguments on Launching

No

Console logs

Loading checkpoint shards: 100%|██████████████████████████████████████████████████████████████████████████████████████████████| 4/4 [00:11<00:00,  2.91s/it]
generation_config.json: 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████| 111/111 [00:00<?, ?B/s]
Generating caption for images... Batch: 1 | Total Images: 1
The attention mask and the pad token id were not set. As a consequence, you may observe unexpected behavior. Please pass your input's `attention_mask` to obtain reliable results.
Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.
Something went wrong while process captions.
Traceback (most recent call last):
  File "D:\AI\Training\Tools\image-interrogator\image-interrogator.py", line 448, in image_to_prompt
    prompt = generate_captions(ci, feature_mode, question_prompt, temperature, top_p, max_new_tokens, check_dataset, dataset_name, [image], check_txt_caption, check_only_caption, test_mode)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\AI\Training\Tools\image-interrogator\util\generate.py", line 78, in generate_captions
    filename = f"{images_[j].orig_file_name}"
                  ^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'Image' object has no attribute 'orig_file_name'
Running with this settings...
----------------------------------------------------------------------------------------------------
Precision Type: FP16
Load Mode: 16bit
Device: auto
Optimize for Low VRAM: False
Include image features in the prompt: False
Don't save dataset images: False
Generate individual caption file: True
Generate dataset: False
Dataset Name: Default
Caption Model: blip-base
Max outputs tokens: 1024
Temperature: 0.2
Top p: 0.7
----------------------------------------------------------------------------------------------------
Loading caption model blip-base...
config.json: 100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████| 4.56k/4.56k [00:00<?, ?B/s]
pytorch_model.bin: 100%|█████████████████████████████████████████████████████████████████████████████████████████████████| 990M/990M [00:27<00:00, 36.2MB/s]
preprocessor_config.json: 100%|████████████████████████████████████████████████████████████████████████████████████████████████████| 287/287 [00:00<?, ?B/s]
tokenizer_config.json: 100%|███████████████████████████████████████████████████████████████████████████████████████████████████████| 506/506 [00:00<?, ?B/s]
vocab.txt: 100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████| 232k/232k [00:00<00:00, 37.8MB/s]
tokenizer.json: 100%|████████████████████████████████████████████████████████████████████████████████████████████████████| 711k/711k [00:00<00:00, 34.6MB/s]
special_tokens_map.json: 100%|█████████████████████████████████████████████████████████████████████████████████████████████████████| 125/125 [00:00<?, ?B/s]
Generating caption for images... Batch: 1 | Total Images: 1
Something went wrong while process captions.
Traceback (most recent call last):
  File "D:\AI\Training\Tools\image-interrogator\image-interrogator.py", line 448, in image_to_prompt
    prompt = generate_captions(ci, feature_mode, question_prompt, temperature, top_p, max_new_tokens, check_dataset, dataset_name, [image], check_txt_caption, check_only_caption, test_mode)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\AI\Training\Tools\image-interrogator\util\generate.py", line 78, in generate_captions
    filename = f"{images_[j].orig_file_name}"
                  ^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'Image' object has no attribute 'orig_file_name'

Additional information

No response

elismasilva commented 6 months ago

hi you have changes some requirements version? if not maybe you got some error during install, try do a fresh install, ive merged some fixes on branch master. do git pull command to update your code. let me know if it solved.

MNeMoNiCuZ commented 6 months ago

Here are my installed requirements from pip -m freeze

(venv) D:\AI\Training\Tools\image-interrogator>python -m pip freeze
accelerate==0.28.0
addict==2.4.0
aiofiles==23.2.1
aiohttp==3.9.3
aiosignal==1.3.1
aliyun-python-sdk-core==2.15.0
aliyun-python-sdk-kms==2.16.2
altair==5.3.0
annotated-types==0.6.0
anyio==4.3.0
attrs==23.2.0
auto_gptq==0.7.1+cu118
bitsandbytes==0.43.0
certifi==2022.12.7
cffi==1.16.0
charset-normalizer==2.1.1
click==8.1.7
colorama==0.4.6
coloredlogs==15.0.1
contourpy==1.2.1
crcmod==1.7
cryptography==42.0.5
cycler==0.12.1
datasets==2.14.7
dill==0.3.7
easygui==0.98.3
einops==0.6.1
einops-exts==0.0.4
fastapi==0.110.1
ffmpy==0.3.2
filelock==3.9.0
fonttools==4.50.0
frozenlist==1.4.1
fsspec==2023.10.0
ftfy==6.2.0
gast==0.5.4
gekko==1.1.0
gradio==4.19.2
gradio_client==0.10.1
h11==0.14.0
httpcore==0.17.3
httpx==0.24.1
huggingface-hub==0.21.3
humanfriendly==10.0
idna==3.4
importlib_metadata==7.1.0
importlib_resources==6.4.0
Jinja2==3.1.2
jmespath==0.10.0
joblib==1.3.2
jsonschema==4.21.1
jsonschema-specifications==2023.12.1
kiwisolver==1.4.5
-e git+https://github.com/haotian-liu/LLaVA.git@da83c48cb0679155b82dbf4603229bb7ce4929d4#egg=llava
markdown-it-py==3.0.0
markdown2==2.4.13
MarkupSafe==2.1.3
matplotlib==3.8.3
mdurl==0.1.2
modelscope==1.13.3
mpmath==1.3.0
multidict==6.0.5
multiprocess==0.70.15
networkx==3.2.1
numpy==1.26.3
open-clip-torch==2.24.0
optimum==1.17.1
orjson==3.10.0
oss2==2.18.4
packaging==24.0
pandas==2.2.1
peft==0.9.0
pillow==10.2.0
platformdirs==4.2.0
protobuf==5.26.1
psutil==5.9.8
pyarrow==15.0.2
pyarrow-hotfix==0.6
pycparser==2.22
pycryptodome==3.20.0
pydantic==2.6.1
pydantic_core==2.16.2
pydub==0.25.1
Pygments==2.17.2
pyparsing==3.1.2
pyreadline3==3.4.1
python-dateutil==2.9.0.post0
python-multipart==0.0.9
pytz==2024.1
PyYAML==6.0.1
referencing==0.34.0
regex==2023.12.25
requests==2.28.1
rich==13.7.1
rouge==1.0.1
rpds-py==0.18.0
ruff==0.3.5
safetensors==0.4.2
scikit-learn==1.2.2
scipy==1.13.0
semantic-version==2.10.0
sentencepiece==0.1.99
shellingham==1.5.4
shortuuid==1.0.13
simplejson==3.19.2
six==1.16.0
sniffio==1.3.1
sortedcontainers==2.4.0
starlette==0.37.2
svgwrite==1.4.3
sympy==1.12
threadpoolctl==3.4.0
tiktoken==0.6.0
timm==0.9.16
tokenizers==0.15.0
tomli==2.0.1
tomlkit==0.12.0
toolz==0.12.1
torch==2.2.2+cu118
torchaudio==2.2.2+cu118
torchvision==0.17.2+cu118
tqdm==4.66.2
transformers==4.37.2
transformers-stream-generator==0.0.4
typer==0.12.0
typer-cli==0.12.0
typer-slim==0.12.0
typing_extensions==4.8.0
tzdata==2024.1
urllib3==1.26.13
uvicorn==0.29.0
wavedrom==2.0.3.post3
wcwidth==0.2.13
websockets==11.0.3
xformers==0.0.24+cu118
xxhash==3.4.1
yapf==0.40.2
yarl==1.9.4
zipp==3.18.1
elismasilva commented 6 months ago

you requirements are ok, i think some error during install because i patch gradio component during install. delete image-interrogator folder, clone it again and do install follow instructions on this page, but please copy all result text on terminal console after install finish and put here for me, then i will see if you got some error during instalation.

MNeMoNiCuZ commented 6 months ago

Note: On my previous install, I don't remember if I used F, T or FT parameters. I did set up a VENV locally and manually before running.

Trying a clean install now.

My steps are:

  1. Clone github project
  2. Create a VENV in folder.
  3. Run install_windows.bat
  4. Run start.bat, missing torch module
  5. Run pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118
  6. Run pip install -r requirements.txt
  7. Run start.bat, missing module llava
  8. Tried to pip install llava, succeeds, but then back to step 8.

Here's my complete console output:

Windows PowerShell Copyright (C) Microsoft Corporation. All rights reserved.

Install the latest PowerShell for new features and improvements! https://aka.ms/PSWindows

Loading personal and system profiles took 769ms. (base) PS D:\AI\Training\Tools> git clone https://github.com/DEVAIEXP/image-interrogator Cloning into 'image-interrogator'... remote: Enumerating objects: 183, done. remote: Counting objects: 100% (183/183), done. remote: Compressing objects: 100% (113/113), done. Receiving objects: 86% (158/183)sed 134 (delta 56), pack-reused 0 Receiving objects: 100% (183/183), 867.20 KiB | 10.84 MiB/s, done. Resolving deltas: 100% (82/82), done. (base) PS D:\AI\Training\Tools> cd .\image-interrogator\ (base) PS D:\AI\Training\Tools\image-interrogator> .\venv_create.bat

  1. -V:3.11 at * C:\Python311\python.exe
  2. -V:3.10 at C:\Users\MNeMiC\AppData\Local\Programs\Python\Python310\python.exe Select a Python version by number (Press Enter for default = '1'): Using Python version 3.11 Enter the name for your virtual environment (Press Enter for default 'venv'): Creating virtual environment named venv... Generating venv_activate.bat... Generating venv_update.bat for a one-time pip upgrade...

Do you want to upgrade pip now? (Y/N) (Press Enter for default 'Y'): Upgrading pip and activating the virtual environment... Activating virtual environment venv and upgrading pip... Requirement already satisfied: pip in d:\ai\training\tools\image-interrogator\venv\lib\site-packages (23.2.1) Collecting pip Obtaining dependency information for pip from https://files.pythonhosted.org/packages/8a/6a/19e9fe04fca059ccf770861c7d5721ab4c2aebc539889e97c7977528a53b/pip-24.0-py3-none-any.whl.metadata Using cached pip-24.0-py3-none-any.whl.metadata (3.6 kB) Using cached pip-24.0-py3-none-any.whl (2.1 MB) Installing collected packages: pip Attempting uninstall: pip Found existing installation: pip 23.2.1 Uninstalling pip-23.2.1: Successfully uninstalled pip-23.2.1 Successfully installed pip-24.0 Pip has been upgraded in the virtual environment venv. To deactivate, manually type 'deactivate'. (venv) D:\AI\Training\Tools\image-interrogator>install_windows.bat

All done!. Launch 'start.bat'. Press any key to continue . . . (venv) D:\AI\Training\Tools\image-interrogator>start.bat Activating python venv Traceback (most recent call last): File "D:\AI\Training\Tools\image-interrogator\image-interrogator.py", line 4, in import torch ModuleNotFoundError: No module named 'torch'

(venv) D:\AI\Training\Tools\image-interrogator>pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118 Looking in indexes: https://download.pytorch.org/whl/cu118 Collecting torch Downloading https://download.pytorch.org/whl/cu118/torch-2.2.2%2Bcu118-cp311-cp311-win_amd64.whl (2704.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.7/2.7 GB 1.7 MB/s eta 0:00:00 Collecting torchvision Downloading https://download.pytorch.org/whl/cu118/torchvision-0.17.2%2Bcu118-cp311-cp311-win_amd64.whl (4.9 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.9/4.9 MB 17.4 MB/s eta 0:00:00 Collecting torchaudio Downloading https://download.pytorch.org/whl/cu118/torchaudio-2.2.2%2Bcu118-cp311-cp311-win_amd64.whl (4.0 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.0/4.0 MB 12.7 MB/s eta 0:00:00 Collecting filelock (from torch) Downloading https://download.pytorch.org/whl/filelock-3.9.0-py3-none-any.whl (9.7 kB) Collecting typing-extensions>=4.8.0 (from torch) Downloading https://download.pytorch.org/whl/typing_extensions-4.8.0-py3-none-any.whl (31 kB) Collecting sympy (from torch) Downloading https://download.pytorch.org/whl/sympy-1.12-py3-none-any.whl (5.7 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5.7/5.7 MB 12.7 MB/s eta 0:00:00 Collecting networkx (from torch) Downloading https://download.pytorch.org/whl/networkx-3.2.1-py3-none-any.whl (1.6 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.6/1.6 MB 26.4 MB/s eta 0:00:00 Collecting jinja2 (from torch) Downloading https://download.pytorch.org/whl/Jinja2-3.1.2-py3-none-any.whl (133 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.1/133.1 kB ? eta 0:00:00 Collecting fsspec (from torch) Downloading https://download.pytorch.org/whl/fsspec-2023.4.0-py3-none-any.whl (153 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 154.0/154.0 kB 9.0 MB/s eta 0:00:00 Collecting numpy (from torchvision) Downloading https://download.pytorch.org/whl/numpy-1.26.3-cp311-cp311-win_amd64.whl (15.8 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 15.8/15.8 MB 21.8 MB/s eta 0:00:00 Collecting pillow!=8.3.*,>=5.3.0 (from torchvision) Downloading https://download.pytorch.org/whl/pillow-10.2.0-cp311-cp311-win_amd64.whl (2.6 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.6/2.6 MB 33.1 MB/s eta 0:00:00 Collecting MarkupSafe>=2.0 (from jinja2->torch) Downloading https://download.pytorch.org/whl/MarkupSafe-2.1.3-cp311-cp311-win_amd64.whl (17 kB) Collecting mpmath>=0.19 (from sympy->torch) Downloading https://download.pytorch.org/whl/mpmath-1.3.0-py3-none-any.whl (536 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 536.2/536.2 kB 35.1 MB/s eta 0:00:00 Installing collected packages: mpmath, typing-extensions, sympy, pillow, numpy, networkx, MarkupSafe, fsspec, filelock, jinja2, torch, torchvision, torchaudio Successfully installed MarkupSafe-2.1.3 filelock-3.9.0 fsspec-2023.4.0 jinja2-3.1.2 mpmath-1.3.0 networkx-3.2.1 numpy-1.26.3 pillow-10.2.0 sympy-1.12 torch-2.2.2+cu118 torchaudio-2.2.2+cu118 torchvision-0.17.2+cu118 typing-extensions-4.8.0

(venv) D:\AI\Training\Tools\image-interrogator>start.bat Activating python venv Traceback (most recent call last): File "D:\AI\Training\Tools\image-interrogator\image-interrogator.py", line 12, in from util.gui import ( File "D:\AI\Training\Tools\image-interrogator\util\gui.py", line 4, in import easygui ModuleNotFoundError: No module named 'easygui'

(venv) D:\AI\Training\Tools\image-interrogator>pip install easygui Collecting easygui Downloading easygui-0.98.3-py2.py3-none-any.whl.metadata (8.4 kB) Downloading easygui-0.98.3-py2.py3-none-any.whl (92 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 92.7/92.7 kB 2.6 MB/s eta 0:00:00 Installing collected packages: easygui Successfully installed easygui-0.98.3

(venv) D:\AI\Training\Tools\image-interrogator>start.bat Activating python venv Traceback (most recent call last): File "D:\AI\Training\Tools\image-interrogator\image-interrogator.py", line 14, in from clip_interrogator import Config, Interrogator, list_caption_models, list_clip_models File "D:\AI\Training\Tools\image-interrogator\clip_interrogator__init__.py", line 1, in from .clip_interrogator import Config, Interrogator, LabelTable, list_caption_models, list_clip_models, load_list File "D:\AI\Training\Tools\image-interrogator\clip_interrogator\clip_interrogator.py", line 4, in import open_clip ModuleNotFoundError: No module named 'open_clip'

(venv) D:\AI\Training\Tools\image-interrogator>pip install -r requirements.txt Collecting transformers==4.37.2 (from -r requirements.txt (line 1)) Downloading transformers-4.37.2-py3-none-any.whl.metadata (129 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 129.4/129.4 kB 1.9 MB/s eta 0:00:00 Collecting transformers_stream_generator==0.0.4 (from -r requirements.txt (line 2)) Downloading transformers-stream-generator-0.0.4.tar.gz (12 kB) Installing build dependencies ... done Getting requirements to build wheel ... done Installing backend dependencies ... done Preparing metadata (pyproject.toml) ... done Collecting tokenizers==0.15.0 (from -r requirements.txt (line 3)) Downloading tokenizers-0.15.0-cp311-none-win_amd64.whl.metadata (6.8 kB) Collecting huggingface-hub==0.21.3 (from -r requirements.txt (line 4)) Downloading huggingface_hub-0.21.3-py3-none-any.whl.metadata (13 kB) Collecting datasets==2.14.7 (from -r requirements.txt (line 5)) Downloading datasets-2.14.7-py3-none-any.whl.metadata (19 kB) Collecting gradio==4.19.2 (from -r requirements.txt (line 6)) Downloading gradio-4.19.2-py3-none-any.whl.metadata (15 kB) Collecting gradio_client==0.10.1 (from -r requirements.txt (line 7)) Downloading gradio_client-0.10.1-py3-none-any.whl.metadata (7.1 kB) Collecting peft==0.9.0 (from -r requirements.txt (line 8)) Downloading peft-0.9.0-py3-none-any.whl.metadata (13 kB) Collecting httpx==0.24.1 (from -r requirements.txt (line 9)) Downloading httpx-0.24.1-py3-none-any.whl.metadata (7.4 kB) Collecting einops==0.7.0 (from -r requirements.txt (line 10)) Downloading einops-0.7.0-py3-none-any.whl.metadata (13 kB) Collecting einops-exts==0.0.4 (from -r requirements.txt (line 11)) Downloading einops_exts-0.0.4-py3-none-any.whl.metadata (621 bytes) Collecting timm==0.9.16 (from -r requirements.txt (line 12)) Downloading timm-0.9.16-py3-none-any.whl.metadata (38 kB) Collecting pydantic==2.6.1 (from -r requirements.txt (line 13)) Downloading pydantic-2.6.1-py3-none-any.whl.metadata (83 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 83.5/83.5 kB ? eta 0:00:00 Requirement already satisfied: pillow==10.2.0 in d:\ai\training\tools\image-interrogator\venv\lib\site-packages (from -r requirements.txt (line 14)) (10.2.0) Collecting scikit-learn==1.2.2 (from -r requirements.txt (line 15)) Downloading scikit_learn-1.2.2-cp311-cp311-win_amd64.whl.metadata (11 kB) Requirement already satisfied: easygui in d:\ai\training\tools\image-interrogator\venv\lib\site-packages (from -r requirements.txt (line 16)) (0.98.3) Collecting open_clip_torch (from -r requirements.txt (line 17)) Downloading open_clip_torch-2.24.0-py3-none-any.whl.metadata (30 kB) Collecting modelscope (from -r requirements.txt (line 18)) Downloading modelscope-1.13.3-py3-none-any.whl.metadata (33 kB) Collecting tiktoken==0.6.0 (from -r requirements.txt (line 19)) Downloading tiktoken-0.6.0-cp311-cp311-win_amd64.whl.metadata (6.8 kB) Collecting optimum==1.17.1 (from -r requirements.txt (line 20)) Downloading optimum-1.17.1-py3-none-any.whl.metadata (18 kB) Requirement already satisfied: filelock in d:\ai\training\tools\image-interrogator\venv\lib\site-packages (from transformers==4.37.2->-r requirements.txt (line 1)) (3.9.0) Requirement already satisfied: numpy>=1.17 in d:\ai\training\tools\image-interrogator\venv\lib\site-packages (from transformers==4.37.2->-r requirements.txt (line 1)) (1.26.3) Collecting packaging>=20.0 (from transformers==4.37.2->-r requirements.txt (line 1)) Downloading packaging-24.0-py3-none-any.whl.metadata (3.2 kB) Collecting pyyaml>=5.1 (from transformers==4.37.2->-r requirements.txt (line 1)) Downloading PyYAML-6.0.1-cp311-cp311-win_amd64.whl.metadata (2.1 kB) Collecting regex!=2019.12.17 (from transformers==4.37.2->-r requirements.txt (line 1)) Downloading regex-2024.4.16-cp311-cp311-win_amd64.whl.metadata (41 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 42.0/42.0 kB ? eta 0:00:00 Collecting requests (from transformers==4.37.2->-r requirements.txt (line 1)) Using cached requests-2.31.0-py3-none-any.whl.metadata (4.6 kB) Collecting safetensors>=0.4.1 (from transformers==4.37.2->-r requirements.txt (line 1)) Downloading safetensors-0.4.3-cp311-none-win_amd64.whl.metadata (3.9 kB) Collecting tqdm>=4.27 (from transformers==4.37.2->-r requirements.txt (line 1)) Using cached tqdm-4.66.2-py3-none-any.whl.metadata (57 kB) Collecting fsspec>=2023.5.0 (from huggingface-hub==0.21.3->-r requirements.txt (line 4)) Downloading fsspec-2024.3.1-py3-none-any.whl.metadata (6.8 kB) Requirement already satisfied: typing-extensions>=3.7.4.3 in d:\ai\training\tools\image-interrogator\venv\lib\site-packages (from huggingface-hub==0.21.3->-r requirements.txt (line 4)) (4.8.0) Collecting pyarrow>=8.0.0 (from datasets==2.14.7->-r requirements.txt (line 5)) Downloading pyarrow-15.0.2-cp311-cp311-win_amd64.whl.metadata (3.1 kB) Collecting pyarrow-hotfix (from datasets==2.14.7->-r requirements.txt (line 5)) Downloading pyarrow_hotfix-0.6-py3-none-any.whl.metadata (3.6 kB) Collecting dill<0.3.8,>=0.3.0 (from datasets==2.14.7->-r requirements.txt (line 5)) Downloading dill-0.3.7-py3-none-any.whl.metadata (9.9 kB) Collecting pandas (from datasets==2.14.7->-r requirements.txt (line 5)) Downloading pandas-2.2.2-cp311-cp311-win_amd64.whl.metadata (19 kB) Collecting xxhash (from datasets==2.14.7->-r requirements.txt (line 5)) Downloading xxhash-3.4.1-cp311-cp311-win_amd64.whl.metadata (12 kB) Collecting multiprocess (from datasets==2.14.7->-r requirements.txt (line 5)) Downloading multiprocess-0.70.16-py311-none-any.whl.metadata (7.2 kB) Collecting fsspec>=2023.5.0 (from huggingface-hub==0.21.3->-r requirements.txt (line 4)) Downloading fsspec-2023.10.0-py3-none-any.whl.metadata (6.8 kB) Collecting aiohttp (from datasets==2.14.7->-r requirements.txt (line 5)) Downloading aiohttp-3.9.5-cp311-cp311-win_amd64.whl.metadata (7.7 kB) Collecting aiofiles<24.0,>=22.0 (from gradio==4.19.2->-r requirements.txt (line 6)) Downloading aiofiles-23.2.1-py3-none-any.whl.metadata (9.7 kB) Collecting altair<6.0,>=4.2.0 (from gradio==4.19.2->-r requirements.txt (line 6)) Downloading altair-5.3.0-py3-none-any.whl.metadata (9.2 kB) Collecting fastapi (from gradio==4.19.2->-r requirements.txt (line 6)) Downloading fastapi-0.110.2-py3-none-any.whl.metadata (24 kB) Collecting ffmpy (from gradio==4.19.2->-r requirements.txt (line 6)) Downloading ffmpy-0.3.2.tar.gz (5.5 kB) Installing build dependencies ... done Getting requirements to build wheel ... done Installing backend dependencies ... done Preparing metadata (pyproject.toml) ... done Collecting importlib-resources<7.0,>=1.3 (from gradio==4.19.2->-r requirements.txt (line 6)) Downloading importlib_resources-6.4.0-py3-none-any.whl.metadata (3.9 kB) Requirement already satisfied: jinja2<4.0 in d:\ai\training\tools\image-interrogator\venv\lib\site-packages (from gradio==4.19.2->-r requirements.txt (line 6)) (3.1.2) Requirement already satisfied: markupsafe~=2.0 in d:\ai\training\tools\image-interrogator\venv\lib\site-packages (from gradio==4.19.2->-r requirements.txt (line 6)) (2.1.3) Collecting matplotlib~=3.0 (from gradio==4.19.2->-r requirements.txt (line 6)) Using cached matplotlib-3.8.4-cp311-cp311-win_amd64.whl.metadata (5.9 kB) Collecting orjson~=3.0 (from gradio==4.19.2->-r requirements.txt (line 6)) Downloading orjson-3.10.1-cp311-none-win_amd64.whl.metadata (50 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 50.9/50.9 kB ? eta 0:00:00 Collecting pydub (from gradio==4.19.2->-r requirements.txt (line 6)) Downloading pydub-0.25.1-py2.py3-none-any.whl.metadata (1.4 kB) Collecting python-multipart>=0.0.9 (from gradio==4.19.2->-r requirements.txt (line 6)) Downloading python_multipart-0.0.9-py3-none-any.whl.metadata (2.5 kB) Collecting ruff>=0.2.2 (from gradio==4.19.2->-r requirements.txt (line 6)) Downloading ruff-0.4.1-py3-none-win_amd64.whl.metadata (24 kB) Collecting semantic-version~=2.0 (from gradio==4.19.2->-r requirements.txt (line 6)) Downloading semantic_version-2.10.0-py2.py3-none-any.whl.metadata (9.7 kB) Collecting tomlkit==0.12.0 (from gradio==4.19.2->-r requirements.txt (line 6)) Downloading tomlkit-0.12.0-py3-none-any.whl.metadata (2.7 kB) Collecting typer<1.0,>=0.9 (from typer[all]<1.0,>=0.9->gradio==4.19.2->-r requirements.txt (line 6)) Downloading typer-0.12.3-py3-none-any.whl.metadata (15 kB) Collecting uvicorn>=0.14.0 (from gradio==4.19.2->-r requirements.txt (line 6)) Downloading uvicorn-0.29.0-py3-none-any.whl.metadata (6.3 kB) Collecting websockets<12.0,>=10.0 (from gradio_client==0.10.1->-r requirements.txt (line 7)) Downloading websockets-11.0.3-cp311-cp311-win_amd64.whl.metadata (6.8 kB) Collecting psutil (from peft==0.9.0->-r requirements.txt (line 8)) Downloading psutil-5.9.8-cp37-abi3-win_amd64.whl.metadata (22 kB) Requirement already satisfied: torch>=1.13.0 in d:\ai\training\tools\image-interrogator\venv\lib\site-packages (from peft==0.9.0->-r requirements.txt (line 8)) (2.2.2+cu118) Collecting accelerate>=0.21.0 (from peft==0.9.0->-r requirements.txt (line 8)) Downloading accelerate-0.29.3-py3-none-any.whl.metadata (18 kB) Collecting certifi (from httpx==0.24.1->-r requirements.txt (line 9)) Using cached certifi-2024.2.2-py3-none-any.whl.metadata (2.2 kB) Collecting httpcore<0.18.0,>=0.15.0 (from httpx==0.24.1->-r requirements.txt (line 9)) Downloading httpcore-0.17.3-py3-none-any.whl.metadata (18 kB) Collecting idna (from httpx==0.24.1->-r requirements.txt (line 9)) Using cached idna-3.7-py3-none-any.whl.metadata (9.9 kB) Collecting sniffio (from httpx==0.24.1->-r requirements.txt (line 9)) Using cached sniffio-1.3.1-py3-none-any.whl.metadata (3.9 kB) Requirement already satisfied: torchvision in d:\ai\training\tools\image-interrogator\venv\lib\site-packages (from timm==0.9.16->-r requirements.txt (line 12)) (0.17.2+cu118) Collecting annotated-types>=0.4.0 (from pydantic==2.6.1->-r requirements.txt (line 13)) Using cached annotated_types-0.6.0-py3-none-any.whl.metadata (12 kB) Collecting pydantic-core==2.16.2 (from pydantic==2.6.1->-r requirements.txt (line 13)) Downloading pydantic_core-2.16.2-cp311-none-win_amd64.whl.metadata (6.6 kB) Collecting scipy>=1.3.2 (from scikit-learn==1.2.2->-r requirements.txt (line 15)) Downloading scipy-1.13.0-cp311-cp311-win_amd64.whl.metadata (60 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 60.6/60.6 kB 3.1 MB/s eta 0:00:00 Collecting joblib>=1.1.1 (from scikit-learn==1.2.2->-r requirements.txt (line 15)) Downloading joblib-1.4.0-py3-none-any.whl.metadata (5.4 kB) Collecting threadpoolctl>=2.0.0 (from scikit-learn==1.2.2->-r requirements.txt (line 15)) Downloading threadpoolctl-3.4.0-py3-none-any.whl.metadata (13 kB) Collecting coloredlogs (from optimum==1.17.1->-r requirements.txt (line 20)) Downloading coloredlogs-15.0.1-py2.py3-none-any.whl.metadata (12 kB) Requirement already satisfied: sympy in d:\ai\training\tools\image-interrogator\venv\lib\site-packages (from optimum==1.17.1->-r requirements.txt (line 20)) (1.12) Collecting ftfy (from open_clip_torch->-r requirements.txt (line 17)) Downloading ftfy-6.2.0-py3-none-any.whl.metadata (7.3 kB) Collecting sentencepiece (from open_clip_torch->-r requirements.txt (line 17)) Downloading sentencepiece-0.2.0-cp311-cp311-win_amd64.whl.metadata (8.3 kB) Collecting protobuf (from open_clip_torch->-r requirements.txt (line 17)) Downloading protobuf-5.26.1-cp310-abi3-win_amd64.whl.metadata (592 bytes) Collecting addict (from modelscope->-r requirements.txt (line 18)) Downloading addict-2.4.0-py3-none-any.whl.metadata (1.0 kB) Collecting attrs (from modelscope->-r requirements.txt (line 18)) Downloading attrs-23.2.0-py3-none-any.whl.metadata (9.5 kB) Collecting gast>=0.2.2 (from modelscope->-r requirements.txt (line 18)) Downloading gast-0.5.4-py3-none-any.whl.metadata (1.3 kB) Collecting oss2 (from modelscope->-r requirements.txt (line 18)) Downloading oss2-2.18.4.tar.gz (278 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 278.1/278.1 kB 16.7 MB/s eta 0:00:00 Installing build dependencies ... done Getting requirements to build wheel ... done Installing backend dependencies ... done Preparing metadata (pyproject.toml) ... done Collecting python-dateutil>=2.1 (from modelscope->-r requirements.txt (line 18)) Using cached python_dateutil-2.9.0.post0-py2.py3-none-any.whl.metadata (8.4 kB) Requirement already satisfied: setuptools in d:\ai\training\tools\image-interrogator\venv\lib\site-packages (from modelscope->-r requirements.txt (line 18)) (65.5.0) Collecting simplejson>=3.3.0 (from modelscope->-r requirements.txt (line 18)) Downloading simplejson-3.19.2-cp311-cp311-win_amd64.whl.metadata (3.2 kB) Collecting sortedcontainers>=1.5.9 (from modelscope->-r requirements.txt (line 18)) Downloading sortedcontainers-2.4.0-py2.py3-none-any.whl.metadata (10 kB) Collecting urllib3>=1.26 (from modelscope->-r requirements.txt (line 18)) Using cached urllib3-2.2.1-py3-none-any.whl.metadata (6.4 kB) Collecting yapf (from modelscope->-r requirements.txt (line 18)) Downloading yapf-0.40.2-py3-none-any.whl.metadata (45 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 45.4/45.4 kB ? eta 0:00:00 Collecting jsonschema>=3.0 (from altair<6.0,>=4.2.0->gradio==4.19.2->-r requirements.txt (line 6)) Downloading jsonschema-4.21.1-py3-none-any.whl.metadata (7.8 kB) Collecting toolz (from altair<6.0,>=4.2.0->gradio==4.19.2->-r requirements.txt (line 6)) Downloading toolz-0.12.1-py3-none-any.whl.metadata (5.1 kB) Collecting aiosignal>=1.1.2 (from aiohttp->datasets==2.14.7->-r requirements.txt (line 5)) Downloading aiosignal-1.3.1-py3-none-any.whl.metadata (4.0 kB) Collecting frozenlist>=1.1.1 (from aiohttp->datasets==2.14.7->-r requirements.txt (line 5)) Downloading frozenlist-1.4.1-cp311-cp311-win_amd64.whl.metadata (12 kB) Collecting multidict<7.0,>=4.5 (from aiohttp->datasets==2.14.7->-r requirements.txt (line 5)) Downloading multidict-6.0.5-cp311-cp311-win_amd64.whl.metadata (4.3 kB) Collecting yarl<2.0,>=1.0 (from aiohttp->datasets==2.14.7->-r requirements.txt (line 5)) Downloading yarl-1.9.4-cp311-cp311-win_amd64.whl.metadata (32 kB) Collecting h11<0.15,>=0.13 (from httpcore<0.18.0,>=0.15.0->httpx==0.24.1->-r requirements.txt (line 9)) Using cached h11-0.14.0-py3-none-any.whl.metadata (8.2 kB) Collecting anyio<5.0,>=3.0 (from httpcore<0.18.0,>=0.15.0->httpx==0.24.1->-r requirements.txt (line 9)) Using cached anyio-4.3.0-py3-none-any.whl.metadata (4.6 kB) Collecting contourpy>=1.0.1 (from matplotlib~=3.0->gradio==4.19.2->-r requirements.txt (line 6)) Using cached contourpy-1.2.1-cp311-cp311-win_amd64.whl.metadata (5.8 kB) Collecting cycler>=0.10 (from matplotlib~=3.0->gradio==4.19.2->-r requirements.txt (line 6)) Using cached cycler-0.12.1-py3-none-any.whl.metadata (3.8 kB) Collecting fonttools>=4.22.0 (from matplotlib~=3.0->gradio==4.19.2->-r requirements.txt (line 6)) Using cached fonttools-4.51.0-cp311-cp311-win_amd64.whl.metadata (162 kB) Collecting kiwisolver>=1.3.1 (from matplotlib~=3.0->gradio==4.19.2->-r requirements.txt (line 6)) Using cached kiwisolver-1.4.5-cp311-cp311-win_amd64.whl.metadata (6.5 kB) Collecting pyparsing>=2.3.1 (from matplotlib~=3.0->gradio==4.19.2->-r requirements.txt (line 6)) Using cached pyparsing-3.1.2-py3-none-any.whl.metadata (5.1 kB) Collecting pytz>=2020.1 (from pandas->datasets==2.14.7->-r requirements.txt (line 5)) Downloading pytz-2024.1-py2.py3-none-any.whl.metadata (22 kB) Collecting tzdata>=2022.7 (from pandas->datasets==2.14.7->-r requirements.txt (line 5)) Downloading tzdata-2024.1-py2.py3-none-any.whl.metadata (1.4 kB) Collecting six>=1.5 (from python-dateutil>=2.1->modelscope->-r requirements.txt (line 18)) Using cached six-1.16.0-py2.py3-none-any.whl.metadata (1.8 kB) Collecting charset-normalizer<4,>=2 (from requests->transformers==4.37.2->-r requirements.txt (line 1)) Using cached charset_normalizer-3.3.2-cp311-cp311-win_amd64.whl.metadata (34 kB) Requirement already satisfied: networkx in d:\ai\training\tools\image-interrogator\venv\lib\site-packages (from torch>=1.13.0->peft==0.9.0->-r requirements.txt (line 8)) (3.2.1) Collecting colorama (from tqdm>=4.27->transformers==4.37.2->-r requirements.txt (line 1)) Using cached colorama-0.4.6-py2.py3-none-any.whl.metadata (17 kB) Collecting click>=8.0.0 (from typer<1.0,>=0.9->typer[all]<1.0,>=0.9->gradio==4.19.2->-r requirements.txt (line 6)) Downloading click-8.1.7-py3-none-any.whl.metadata (3.0 kB) Collecting shellingham>=1.3.0 (from typer<1.0,>=0.9->typer[all]<1.0,>=0.9->gradio==4.19.2->-r requirements.txt (line 6)) Downloading shellingham-1.5.4-py2.py3-none-any.whl.metadata (3.5 kB) Collecting rich>=10.11.0 (from typer<1.0,>=0.9->typer[all]<1.0,>=0.9->gradio==4.19.2->-r requirements.txt (line 6)) Downloading rich-13.7.1-py3-none-any.whl.metadata (18 kB) WARNING: typer 0.12.3 does not provide the extra 'all' Collecting humanfriendly>=9.1 (from coloredlogs->optimum==1.17.1->-r requirements.txt (line 20)) Downloading humanfriendly-10.0-py2.py3-none-any.whl.metadata (9.2 kB) Collecting starlette<0.38.0,>=0.37.2 (from fastapi->gradio==4.19.2->-r requirements.txt (line 6)) Downloading starlette-0.37.2-py3-none-any.whl.metadata (5.9 kB) Collecting wcwidth<0.3.0,>=0.2.12 (from ftfy->open_clip_torch->-r requirements.txt (line 17)) Downloading wcwidth-0.2.13-py2.py3-none-any.whl.metadata (14 kB) INFO: pip is looking at multiple versions of multiprocess to determine which version is compatible with other requirements. This could take a while. Collecting multiprocess (from datasets==2.14.7->-r requirements.txt (line 5)) Downloading multiprocess-0.70.15-py311-none-any.whl.metadata (7.2 kB) Collecting crcmod>=1.7 (from oss2->modelscope->-r requirements.txt (line 18)) Downloading crcmod-1.7.tar.gz (89 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 89.7/89.7 kB 5.0 MB/s eta 0:00:00 Installing build dependencies ... done Getting requirements to build wheel ... done Installing backend dependencies ... done Preparing metadata (pyproject.toml) ... done Collecting pycryptodome>=3.4.7 (from oss2->modelscope->-r requirements.txt (line 18)) Downloading pycryptodome-3.20.0-cp35-abi3-win_amd64.whl.metadata (3.4 kB) Collecting aliyun-python-sdk-kms>=2.4.1 (from oss2->modelscope->-r requirements.txt (line 18)) Downloading aliyun_python_sdk_kms-2.16.2-py2.py3-none-any.whl.metadata (1.5 kB) Collecting aliyun-python-sdk-core>=2.13.12 (from oss2->modelscope->-r requirements.txt (line 18)) Downloading aliyun-python-sdk-core-2.15.1.tar.gz (443 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 443.1/443.1 kB 27.1 MB/s eta 0:00:00 Installing build dependencies ... done Getting requirements to build wheel ... done Installing backend dependencies ... done Preparing metadata (pyproject.toml) ... done Requirement already satisfied: mpmath>=0.19 in d:\ai\training\tools\image-interrogator\venv\lib\site-packages (from sympy->optimum==1.17.1->-r requirements.txt (line 20)) (1.3.0) Collecting importlib-metadata>=6.6.0 (from yapf->modelscope->-r requirements.txt (line 18)) Downloading importlib_metadata-7.1.0-py3-none-any.whl.metadata (4.7 kB) Collecting platformdirs>=3.5.1 (from yapf->modelscope->-r requirements.txt (line 18)) Downloading platformdirs-4.2.0-py3-none-any.whl.metadata (11 kB) Collecting tomli>=2.0.1 (from yapf->modelscope->-r requirements.txt (line 18)) Downloading tomli-2.0.1-py3-none-any.whl.metadata (8.9 kB) Collecting jmespath<1.0.0,>=0.9.3 (from aliyun-python-sdk-core>=2.13.12->oss2->modelscope->-r requirements.txt (line 18)) Downloading jmespath-0.10.0-py2.py3-none-any.whl.metadata (8.0 kB) Collecting cryptography>=2.6.0 (from aliyun-python-sdk-core>=2.13.12->oss2->modelscope->-r requirements.txt (line 18)) Downloading cryptography-42.0.5-cp39-abi3-win_amd64.whl.metadata (5.4 kB) Collecting pyreadline3 (from humanfriendly>=9.1->coloredlogs->optimum==1.17.1->-r requirements.txt (line 20)) Downloading pyreadline3-3.4.1-py3-none-any.whl.metadata (2.0 kB) Collecting zipp>=0.5 (from importlib-metadata>=6.6.0->yapf->modelscope->-r requirements.txt (line 18)) Downloading zipp-3.18.1-py3-none-any.whl.metadata (3.5 kB) Collecting jsonschema-specifications>=2023.03.6 (from jsonschema>=3.0->altair<6.0,>=4.2.0->gradio==4.19.2->-r requirements.txt (line 6)) Downloading jsonschema_specifications-2023.12.1-py3-none-any.whl.metadata (3.0 kB) Collecting referencing>=0.28.4 (from jsonschema>=3.0->altair<6.0,>=4.2.0->gradio==4.19.2->-r requirements.txt (line 6)) Downloading referencing-0.34.0-py3-none-any.whl.metadata (2.8 kB) Collecting rpds-py>=0.7.1 (from jsonschema>=3.0->altair<6.0,>=4.2.0->gradio==4.19.2->-r requirements.txt (line 6)) Downloading rpds_py-0.18.0-cp311-none-win_amd64.whl.metadata (4.2 kB) Collecting markdown-it-py>=2.2.0 (from rich>=10.11.0->typer<1.0,>=0.9->typer[all]<1.0,>=0.9->gradio==4.19.2->-r requirements.txt (line 6)) Downloading markdown_it_py-3.0.0-py3-none-any.whl.metadata (6.9 kB) Collecting pygments<3.0.0,>=2.13.0 (from rich>=10.11.0->typer<1.0,>=0.9->typer[all]<1.0,>=0.9->gradio==4.19.2->-r requirements.txt (line 6)) Downloading pygments-2.17.2-py3-none-any.whl.metadata (2.6 kB) Collecting cffi>=1.12 (from cryptography>=2.6.0->aliyun-python-sdk-core>=2.13.12->oss2->modelscope->-r requirements.txt (line 18)) Downloading cffi-1.16.0-cp311-cp311-win_amd64.whl.metadata (1.5 kB) Collecting mdurl~=0.1 (from markdown-it-py>=2.2.0->rich>=10.11.0->typer<1.0,>=0.9->typer[all]<1.0,>=0.9->gradio==4.19.2->-r requirements.txt (line 6)) Downloading mdurl-0.1.2-py3-none-any.whl.metadata (1.6 kB) Collecting pycparser (from cffi>=1.12->cryptography>=2.6.0->aliyun-python-sdk-core>=2.13.12->oss2->modelscope->-r requirements.txt (line 18)) Downloading pycparser-2.22-py3-none-any.whl.metadata (943 bytes) Downloading transformers-4.37.2-py3-none-any.whl (8.4 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 8.4/8.4 MB 26.9 MB/s eta 0:00:00 Downloading tokenizers-0.15.0-cp311-none-win_amd64.whl (2.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.2/2.2 MB 12.7 MB/s eta 0:00:00 Downloading huggingface_hub-0.21.3-py3-none-any.whl (346 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 346.2/346.2 kB ? eta 0:00:00 Downloading datasets-2.14.7-py3-none-any.whl (520 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 520.4/520.4 kB 15.9 MB/s eta 0:00:00 Downloading gradio-4.19.2-py3-none-any.whl (16.9 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 16.9/16.9 MB 14.6 MB/s eta 0:00:00 Downloading gradio_client-0.10.1-py3-none-any.whl (307 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 307.9/307.9 kB 18.6 MB/s eta 0:00:00 Downloading peft-0.9.0-py3-none-any.whl (190 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 190.9/190.9 kB 11.3 MB/s eta 0:00:00 Downloading httpx-0.24.1-py3-none-any.whl (75 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 75.4/75.4 kB ? eta 0:00:00 Downloading einops-0.7.0-py3-none-any.whl (44 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 44.6/44.6 kB 2.1 MB/s eta 0:00:00 Downloading einops_exts-0.0.4-py3-none-any.whl (3.9 kB) Downloading timm-0.9.16-py3-none-any.whl (2.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.2/2.2 MB 36.1 MB/s eta 0:00:00 Downloading pydantic-2.6.1-py3-none-any.whl (394 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 394.8/394.8 kB 24.0 MB/s eta 0:00:00 Downloading scikit_learn-1.2.2-cp311-cp311-win_amd64.whl (8.3 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 8.3/8.3 MB 31.0 MB/s eta 0:00:00 Downloading tiktoken-0.6.0-cp311-cp311-win_amd64.whl (798 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 798.7/798.7 kB 25.4 MB/s eta 0:00:00 Downloading optimum-1.17.1-py3-none-any.whl (407 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 407.1/407.1 kB 24.8 MB/s eta 0:00:00 Downloading pydantic_core-2.16.2-cp311-none-win_amd64.whl (1.9 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.9/1.9 MB 30.4 MB/s eta 0:00:00 Downloading tomlkit-0.12.0-py3-none-any.whl (37 kB) Downloading open_clip_torch-2.24.0-py3-none-any.whl (1.5 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.5/1.5 MB 11.9 MB/s eta 0:00:00 Downloading modelscope-1.13.3-py3-none-any.whl (5.7 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5.7/5.7 MB 20.1 MB/s eta 0:00:00 Downloading accelerate-0.29.3-py3-none-any.whl (297 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 297.6/297.6 kB 18.0 MB/s eta 0:00:00 Downloading aiofiles-23.2.1-py3-none-any.whl (15 kB) Downloading altair-5.3.0-py3-none-any.whl (857 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 857.8/857.8 kB 26.5 MB/s eta 0:00:00 Using cached annotated_types-0.6.0-py3-none-any.whl (12 kB) Downloading dill-0.3.7-py3-none-any.whl (115 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 115.3/115.3 kB ? eta 0:00:00 Downloading fsspec-2023.10.0-py3-none-any.whl (166 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 166.4/166.4 kB 9.8 MB/s eta 0:00:00 Downloading aiohttp-3.9.5-cp311-cp311-win_amd64.whl (370 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 370.8/370.8 kB ? eta 0:00:00 Downloading attrs-23.2.0-py3-none-any.whl (60 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 60.8/60.8 kB 3.2 MB/s eta 0:00:00 Downloading gast-0.5.4-py3-none-any.whl (19 kB) Downloading httpcore-0.17.3-py3-none-any.whl (74 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 74.5/74.5 kB ? eta 0:00:00 Using cached sniffio-1.3.1-py3-none-any.whl (10 kB) Downloading importlib_resources-6.4.0-py3-none-any.whl (38 kB) Downloading joblib-1.4.0-py3-none-any.whl (301 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 301.2/301.2 kB 18.2 MB/s eta 0:00:00 Using cached matplotlib-3.8.4-cp311-cp311-win_amd64.whl (7.7 MB) Downloading orjson-3.10.1-cp311-none-win_amd64.whl (139 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 139.1/139.1 kB 2.7 MB/s eta 0:00:00 Downloading packaging-24.0-py3-none-any.whl (53 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 53.5/53.5 kB ? eta 0:00:00 Downloading pandas-2.2.2-cp311-cp311-win_amd64.whl (11.6 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 11.6/11.6 MB 31.2 MB/s eta 0:00:00 Downloading pyarrow-15.0.2-cp311-cp311-win_amd64.whl (24.8 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 24.8/24.8 MB 27.3 MB/s eta 0:00:00 Using cached python_dateutil-2.9.0.post0-py2.py3-none-any.whl (229 kB) Downloading python_multipart-0.0.9-py3-none-any.whl (22 kB) Downloading PyYAML-6.0.1-cp311-cp311-win_amd64.whl (144 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 144.7/144.7 kB 9.0 MB/s eta 0:00:00 Downloading regex-2024.4.16-cp311-cp311-win_amd64.whl (268 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 268.9/268.9 kB 17.2 MB/s eta 0:00:00 Using cached requests-2.31.0-py3-none-any.whl (62 kB) Using cached certifi-2024.2.2-py3-none-any.whl (163 kB) Using cached idna-3.7-py3-none-any.whl (66 kB) Downloading ruff-0.4.1-py3-none-win_amd64.whl (8.5 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 8.5/8.5 MB 17.4 MB/s eta 0:00:00 Downloading safetensors-0.4.3-cp311-none-win_amd64.whl (287 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 287.3/287.3 kB ? eta 0:00:00 Downloading scipy-1.13.0-cp311-cp311-win_amd64.whl (46.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 46.2/46.2 MB 14.5 MB/s eta 0:00:00 Downloading semantic_version-2.10.0-py2.py3-none-any.whl (15 kB) Downloading simplejson-3.19.2-cp311-cp311-win_amd64.whl (75 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 75.3/75.3 kB 4.1 MB/s eta 0:00:00 Downloading sortedcontainers-2.4.0-py2.py3-none-any.whl (29 kB) Downloading threadpoolctl-3.4.0-py3-none-any.whl (17 kB) Using cached tqdm-4.66.2-py3-none-any.whl (78 kB) Downloading sentencepiece-0.2.0-cp311-cp311-win_amd64.whl (991 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 991.5/991.5 kB 30.7 MB/s eta 0:00:00 Downloading typer-0.12.3-py3-none-any.whl (47 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 47.2/47.2 kB ? eta 0:00:00 Using cached urllib3-2.2.1-py3-none-any.whl (121 kB) Downloading uvicorn-0.29.0-py3-none-any.whl (60 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 60.8/60.8 kB ? eta 0:00:00 Downloading websockets-11.0.3-cp311-cp311-win_amd64.whl (124 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 124.7/124.7 kB 7.2 MB/s eta 0:00:00 Downloading addict-2.4.0-py3-none-any.whl (3.8 kB) Downloading coloredlogs-15.0.1-py2.py3-none-any.whl (46 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 46.0/46.0 kB 2.2 MB/s eta 0:00:00 Downloading fastapi-0.110.2-py3-none-any.whl (91 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 91.9/91.9 kB ? eta 0:00:00 Downloading ftfy-6.2.0-py3-none-any.whl (54 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 54.4/54.4 kB ? eta 0:00:00 Downloading multiprocess-0.70.15-py311-none-any.whl (135 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 135.4/135.4 kB ? eta 0:00:00 Downloading protobuf-5.26.1-cp310-abi3-win_amd64.whl (420 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 420.9/420.9 kB 12.8 MB/s eta 0:00:00 Downloading psutil-5.9.8-cp37-abi3-win_amd64.whl (255 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 255.1/255.1 kB ? eta 0:00:00 Downloading pyarrow_hotfix-0.6-py3-none-any.whl (7.9 kB) Downloading pydub-0.25.1-py2.py3-none-any.whl (32 kB) Downloading xxhash-3.4.1-cp311-cp311-win_amd64.whl (29 kB) Downloading yapf-0.40.2-py3-none-any.whl (254 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 254.7/254.7 kB ? eta 0:00:00 Downloading aiosignal-1.3.1-py3-none-any.whl (7.6 kB) Downloading aliyun_python_sdk_kms-2.16.2-py2.py3-none-any.whl (94 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 94.0/94.0 kB ? eta 0:00:00 Using cached anyio-4.3.0-py3-none-any.whl (85 kB) Using cached charset_normalizer-3.3.2-cp311-cp311-win_amd64.whl (99 kB) Downloading click-8.1.7-py3-none-any.whl (97 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 97.9/97.9 kB 5.5 MB/s eta 0:00:00 Using cached contourpy-1.2.1-cp311-cp311-win_amd64.whl (188 kB) Using cached cycler-0.12.1-py3-none-any.whl (8.3 kB) Using cached fonttools-4.51.0-cp311-cp311-win_amd64.whl (2.2 MB) Downloading frozenlist-1.4.1-cp311-cp311-win_amd64.whl (50 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 50.5/50.5 kB ? eta 0:00:00 Using cached h11-0.14.0-py3-none-any.whl (58 kB) Downloading humanfriendly-10.0-py2.py3-none-any.whl (86 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 86.8/86.8 kB ? eta 0:00:00 Downloading importlib_metadata-7.1.0-py3-none-any.whl (24 kB) Downloading jsonschema-4.21.1-py3-none-any.whl (85 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 85.5/85.5 kB 4.7 MB/s eta 0:00:00 Using cached kiwisolver-1.4.5-cp311-cp311-win_amd64.whl (56 kB) Downloading multidict-6.0.5-cp311-cp311-win_amd64.whl (28 kB) Downloading platformdirs-4.2.0-py3-none-any.whl (17 kB) Downloading pycryptodome-3.20.0-cp35-abi3-win_amd64.whl (1.8 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.8/1.8 MB 28.2 MB/s eta 0:00:00 Using cached pyparsing-3.1.2-py3-none-any.whl (103 kB) Downloading pytz-2024.1-py2.py3-none-any.whl (505 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 505.5/505.5 kB 16.0 MB/s eta 0:00:00 Downloading rich-13.7.1-py3-none-any.whl (240 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 240.7/240.7 kB 14.4 MB/s eta 0:00:00 Downloading shellingham-1.5.4-py2.py3-none-any.whl (9.8 kB) Using cached six-1.16.0-py2.py3-none-any.whl (11 kB) Downloading starlette-0.37.2-py3-none-any.whl (71 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 71.9/71.9 kB ? eta 0:00:00 Downloading tomli-2.0.1-py3-none-any.whl (12 kB) Downloading tzdata-2024.1-py2.py3-none-any.whl (345 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 345.4/345.4 kB 20.9 MB/s eta 0:00:00 Downloading wcwidth-0.2.13-py2.py3-none-any.whl (34 kB) Downloading yarl-1.9.4-cp311-cp311-win_amd64.whl (76 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 76.7/76.7 kB 4.4 MB/s eta 0:00:00 Using cached colorama-0.4.6-py2.py3-none-any.whl (25 kB) Downloading toolz-0.12.1-py3-none-any.whl (56 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 56.1/56.1 kB 2.9 MB/s eta 0:00:00 Downloading cryptography-42.0.5-cp39-abi3-win_amd64.whl (2.9 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.9/2.9 MB 30.6 MB/s eta 0:00:00 Downloading jmespath-0.10.0-py2.py3-none-any.whl (24 kB) Downloading jsonschema_specifications-2023.12.1-py3-none-any.whl (18 kB) Downloading markdown_it_py-3.0.0-py3-none-any.whl (87 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 87.5/87.5 kB ? eta 0:00:00 Downloading pygments-2.17.2-py3-none-any.whl (1.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 37.7 MB/s eta 0:00:00 Downloading referencing-0.34.0-py3-none-any.whl (26 kB) Downloading rpds_py-0.18.0-cp311-none-win_amd64.whl (206 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 206.7/206.7 kB 13.1 MB/s eta 0:00:00 Downloading zipp-3.18.1-py3-none-any.whl (8.2 kB) Downloading pyreadline3-3.4.1-py3-none-any.whl (95 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 95.2/95.2 kB 5.7 MB/s eta 0:00:00 Downloading cffi-1.16.0-cp311-cp311-win_amd64.whl (181 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 181.5/181.5 kB ? eta 0:00:00 Downloading mdurl-0.1.2-py3-none-any.whl (10.0 kB) Downloading pycparser-2.22-py3-none-any.whl (117 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 117.6/117.6 kB 6.7 MB/s eta 0:00:00 Building wheels for collected packages: transformers_stream_generator, ffmpy, oss2, aliyun-python-sdk-core, crcmod Building wheel for transformers_stream_generator (pyproject.toml) ... done Created wheel for transformers_stream_generator: filename=transformers_stream_generator-0.0.4-py3-none-any.whl size=12340 sha256=918a8f25c1b4063b01d7a602e5dba7b730e589defcb778cba33f7c164b24e523 Stored in directory: c:\users\mnemic\appdata\local\pip\cache\wheels\5a\c5\92\43af1fc20acdb3cbc708992aed015ae2992fd922898c4bef31 Building wheel for ffmpy (pyproject.toml) ... done Created wheel for ffmpy: filename=ffmpy-0.3.2-py3-none-any.whl size=5607 sha256=f1f1dea5db94a7187bdb53be9587c46af015ad949125e0928d3c9369c3369dbf Stored in directory: c:\users\mnemic\appdata\local\pip\cache\wheels\55\3c\f2\f6e34046bac0d57c13c7d08123b85872423b89c8f59bafda51 Building wheel for oss2 (pyproject.toml) ... done Created wheel for oss2: filename=oss2-2.18.4-py3-none-any.whl size=115998 sha256=e879f541491f2a932a9258943f91aeed1bd9c2c01fa5eca8ad68166beb03968d Stored in directory: c:\users\mnemic\appdata\local\pip\cache\wheels\4e\33\dd\3a14939a3351802f833f8d77091228bf0d888a363e15b54a86 Building wheel for aliyun-python-sdk-core (pyproject.toml) ... done Created wheel for aliyun-python-sdk-core: filename=aliyun_python_sdk_core-2.15.1-py3-none-any.whl size=535341 sha256=ad29a2a2689a7923dcf32007b0e625e2d15871df46ed2e8445a2eec246f7a048 Stored in directory: c:\users\mnemic\appdata\local\pip\cache\wheels\a8\3d\4d\0247faf6ab88eb63524d53c86ad8d3e9672f11babca7fd0e53 Building wheel for crcmod (pyproject.toml) ... done Created wheel for crcmod: filename=crcmod-1.7-cp311-cp311-win_amd64.whl size=25183 sha256=9d2646dc639162f48f963a4a09b5cb41c2a69fc99f238e410d256b3cca9e9d97 Stored in directory: c:\users\mnemic\appdata\local\pip\cache\wheels\23\94\7a\8cb7d14597e6395ce969933f01aed9ea8fa5f5b4d4c8a61e99 Successfully built transformers_stream_generator ffmpy oss2 aliyun-python-sdk-core crcmod Installing collected packages: wcwidth, sortedcontainers, sentencepiece, pytz, pyreadline3, pydub, ffmpy, crcmod, addict, zipp, xxhash, websockets, urllib3, tzdata, toolz, tomlkit, tomli, threadpoolctl, sniffio, six, simplejson, shellingham, semantic-version, scipy, safetensors, ruff, rpds-py, regex, pyyaml, python-multipart, pyparsing, pygments, pydantic-core, pycryptodome, pycparser, pyarrow-hotfix, pyarrow, psutil, protobuf, platformdirs, packaging, orjson, multidict, mdurl, kiwisolver, joblib, jmespath, importlib-resources, idna, humanfriendly, h11, gast, ftfy, fsspec, frozenlist, fonttools, einops, dill, cycler, contourpy, colorama, charset-normalizer, certifi, attrs, annotated-types, aiofiles, yarl, tqdm, scikit-learn, requests, referencing, python-dateutil, pydantic, multiprocess, markdown-it-py, importlib-metadata, einops-exts, coloredlogs, click, cffi, anyio, aiosignal, yapf, uvicorn, tiktoken, starlette, rich, pandas, matplotlib, jsonschema-specifications, huggingface-hub, httpcore, cryptography, aiohttp, typer, tokenizers, timm, jsonschema, httpx, fastapi, aliyun-python-sdk-core, accelerate, transformers, open_clip_torch, gradio_client, datasets, altair, aliyun-python-sdk-kms, transformers_stream_generator, peft, oss2, gradio, optimum, modelscope Attempting uninstall: fsspec Found existing installation: fsspec 2023.4.0 Uninstalling fsspec-2023.4.0: Successfully uninstalled fsspec-2023.4.0 Successfully installed accelerate-0.29.3 addict-2.4.0 aiofiles-23.2.1 aiohttp-3.9.5 aiosignal-1.3.1 aliyun-python-sdk-core-2.15.1 aliyun-python-sdk-kms-2.16.2 altair-5.3.0 annotated-types-0.6.0 anyio-4.3.0 attrs-23.2.0 certifi-2024.2.2 cffi-1.16.0 charset-normalizer-3.3.2 click-8.1.7 colorama-0.4.6 coloredlogs-15.0.1 contourpy-1.2.1 crcmod-1.7 cryptography-42.0.5 cycler-0.12.1 datasets-2.14.7 dill-0.3.7 einops-0.7.0 einops-exts-0.0.4 fastapi-0.110.2 ffmpy-0.3.2 fonttools-4.51.0 frozenlist-1.4.1 fsspec-2023.10.0 ftfy-6.2.0 gast-0.5.4 gradio-4.19.2 gradio_client-0.10.1 h11-0.14.0 httpcore-0.17.3 httpx-0.24.1 huggingface-hub-0.21.3 humanfriendly-10.0 idna-3.7 importlib-metadata-7.1.0 importlib-resources-6.4.0 jmespath-0.10.0 joblib-1.4.0 jsonschema-4.21.1 jsonschema-specifications-2023.12.1 kiwisolver-1.4.5 markdown-it-py-3.0.0 matplotlib-3.8.4 mdurl-0.1.2 modelscope-1.13.3 multidict-6.0.5 multiprocess-0.70.15 open_clip_torch-2.24.0 optimum-1.17.1 orjson-3.10.1 oss2-2.18.4 packaging-24.0 pandas-2.2.2 peft-0.9.0 platformdirs-4.2.0 protobuf-5.26.1 psutil-5.9.8 pyarrow-15.0.2 pyarrow-hotfix-0.6 pycparser-2.22 pycryptodome-3.20.0 pydantic-2.6.1 pydantic-core-2.16.2 pydub-0.25.1 pygments-2.17.2 pyparsing-3.1.2 pyreadline3-3.4.1 python-dateutil-2.9.0.post0 python-multipart-0.0.9 pytz-2024.1 pyyaml-6.0.1 referencing-0.34.0 regex-2024.4.16 requests-2.31.0 rich-13.7.1 rpds-py-0.18.0 ruff-0.4.1 safetensors-0.4.3 scikit-learn-1.2.2 scipy-1.13.0 semantic-version-2.10.0 sentencepiece-0.2.0 shellingham-1.5.4 simplejson-3.19.2 six-1.16.0 sniffio-1.3.1 sortedcontainers-2.4.0 starlette-0.37.2 threadpoolctl-3.4.0 tiktoken-0.6.0 timm-0.9.16 tokenizers-0.15.0 tomli-2.0.1 tomlkit-0.12.0 toolz-0.12.1 tqdm-4.66.2 transformers-4.37.2 transformers_stream_generator-0.0.4 typer-0.12.3 tzdata-2024.1 urllib3-2.2.1 uvicorn-0.29.0 wcwidth-0.2.13 websockets-11.0.3 xxhash-3.4.1 yapf-0.40.2 yarl-1.9.4 zipp-3.18.1

(venv) D:\AI\Training\Tools\image-interrogator>start.bat Activating python venv Traceback (most recent call last): File "D:\AI\Training\Tools\image-interrogator\image-interrogator.py", line 14, in from clip_interrogator import Config, Interrogator, list_caption_models, list_clip_models File "D:\AI\Training\Tools\image-interrogator\clip_interrogator__init__.py", line 1, in from .clip_interrogator import Config, Interrogator, LabelTable, list_caption_models, list_clip_models, load_list File "D:\AI\Training\Tools\image-interrogator\clip_interrogator\clip_interrogator.py", line 20, in from llava.model.builder import load_pretrained_model ModuleNotFoundError: No module named 'llava'

(venv) D:\AI\Training\Tools\image-interrogator>pip install llava Collecting llava Downloading llava-0.0.1.dev0-py3-none-any.whl.metadata (360 bytes) Requirement already satisfied: torch in d:\ai\training\tools\image-interrogator\venv\lib\site-packages (from llava) (2.2.2+cu118) Requirement already satisfied: filelock in d:\ai\training\tools\image-interrogator\venv\lib\site-packages (from torch->llava) (3.9.0) Requirement already satisfied: typing-extensions>=4.8.0 in d:\ai\training\tools\image-interrogator\venv\lib\site-packages (from torch->llava) (4.8.0) Requirement already satisfied: sympy in d:\ai\training\tools\image-interrogator\venv\lib\site-packages (from torch->llava) (1.12) Requirement already satisfied: networkx in d:\ai\training\tools\image-interrogator\venv\lib\site-packages (from torch->llava) (3.2.1) Requirement already satisfied: jinja2 in d:\ai\training\tools\image-interrogator\venv\lib\site-packages (from torch->llava) (3.1.2) Requirement already satisfied: fsspec in d:\ai\training\tools\image-interrogator\venv\lib\site-packages (from torch->llava) (2023.10.0) Requirement already satisfied: MarkupSafe>=2.0 in d:\ai\training\tools\image-interrogator\venv\lib\site-packages (from jinja2->torch->llava) (2.1.3) Requirement already satisfied: mpmath>=0.19 in d:\ai\training\tools\image-interrogator\venv\lib\site-packages (from sympy->torch->llava) (1.3.0) Downloading llava-0.0.1.dev0-py3-none-any.whl (1.1 kB) Installing collected packages: llava Successfully installed llava-0.0.1.dev0

(venv) D:\AI\Training\Tools\image-interrogator>start.bat Activating python venv Traceback (most recent call last): File "D:\AI\Training\Tools\image-interrogator\image-interrogator.py", line 14, in from clip_interrogator import Config, Interrogator, list_caption_models, list_clip_models File "D:\AI\Training\Tools\image-interrogator\clip_interrogator__init__.py", line 1, in from .clip_interrogator import Config, Interrogator, LabelTable, list_caption_models, list_clip_models, load_list File "D:\AI\Training\Tools\image-interrogator\clip_interrogator\clip_interrogator.py", line 20, in from llava.model.builder import load_pretrained_model ModuleNotFoundError: No module named 'llava'

(venv) D:\AI\Training\Tools\image-interrogator>pip install llava Requirement already satisfied: llava in d:\ai\training\tools\image-interrogator\venv\lib\site-packages (0.0.1.dev0) Requirement already satisfied: torch in d:\ai\training\tools\image-interrogator\venv\lib\site-packages (from llava) (2.2.2+cu118) Requirement already satisfied: filelock in d:\ai\training\tools\image-interrogator\venv\lib\site-packages (from torch->llava) (3.9.0) Requirement already satisfied: typing-extensions>=4.8.0 in d:\ai\training\tools\image-interrogator\venv\lib\site-packages (from torch->llava) (4.8.0) Requirement already satisfied: sympy in d:\ai\training\tools\image-interrogator\venv\lib\site-packages (from torch->llava) (1.12) Requirement already satisfied: networkx in d:\ai\training\tools\image-interrogator\venv\lib\site-packages (from torch->llava) (3.2.1) Requirement already satisfied: jinja2 in d:\ai\training\tools\image-interrogator\venv\lib\site-packages (from torch->llava) (3.1.2) Requirement already satisfied: fsspec in d:\ai\training\tools\image-interrogator\venv\lib\site-packages (from torch->llava) (2023.10.0) Requirement already satisfied: MarkupSafe>=2.0 in d:\ai\training\tools\image-interrogator\venv\lib\site-packages (from jinja2->torch->llava) (2.1.3) Requirement already satisfied: mpmath>=0.19 in d:\ai\training\tools\image-interrogator\venv\lib\site-packages (from sympy->torch->llava) (1.3.0)

(venv) D:\AI\Training\Tools\image-interrogator>start.bat Activating python venv Traceback (most recent call last): File "D:\AI\Training\Tools\image-interrogator\image-interrogator.py", line 14, in from clip_interrogator import Config, Interrogator, list_caption_models, list_clip_models File "D:\AI\Training\Tools\image-interrogator\clip_interrogator__init__.py", line 1, in from .clip_interrogator import Config, Interrogator, LabelTable, list_caption_models, list_clip_models, load_list File "D:\AI\Training\Tools\image-interrogator\clip_interrogator\clip_interrogator.py", line 20, in from llava.model.builder import load_pretrained_model ModuleNotFoundError: No module named 'llava'

MNeMoNiCuZ commented 6 months ago

Trying again now, with an install_windows.bat T F. With this, the install seems to have succeeded, it did throw this warning at the end: WARNING: The script rouge.exe is installed in 'C:\Users\MNeMiC\AppData\Roaming\Python\Python310\Scripts' which is not on PATH.

It seems it picked the wrong version of python for me.

When I now run the tool, I get this when trying to do a single image caption using BLIP Large:

Loading caption model blip-large...
Some weights of BlipForConditionalGeneration were not initialized from the model checkpoint at Salesforce/blip-image-captioning-large and are newly initialized: ['text_decoder.cls.predictions.decoder.bias']
You should probably TRAIN this model on a down-stream task to be able to use it for predictions and inference.
Generating caption for images... Batch: 1 | Total Images: 1
Something went wrong while process captions.
Traceback (most recent call last):
  File "D:\AI\Training\Tools\image-interrogator\image-interrogator.py", line 450, in image_to_prompt
    prompt = generate_captions(ci, feature_mode, question_prompt, temperature, top_p, max_new_tokens, check_dataset, dataset_name, [image], check_txt_caption, check_only_caption, False, test_mode)
  File "D:\AI\Training\Tools\image-interrogator\util\generate.py", line 87, in generate_captions
    print(f"Caption for image {image.temp_file_path} processed.")
AttributeError: 'Image' object has no attribute 'temp_file_path'
MNeMoNiCuZ commented 6 months ago

Trying with cogvlm-chat-hf:

Running with this settings...
----------------------------------------------------------------------------------------------------
Precision Type: FP16
Load Mode: 4bit
Device: auto
Optimize for Low VRAM: False
Include image features in the prompt: False
Don't save dataset images: False
Generate individual caption file: True
Generate caption in the original path: False
Generate dataset: False
Dataset Name: Default
Caption Model: cogvlm-chat-hf
Max outputs tokens: 2048
Temperature: 0.2
Top p: 0.7
Question prompt: Provide caption for the image in one sentence. Be detailed but precise.
----------------------------------------------------------------------------------------------------
Loading caption model cogvlm-chat-hf...
tokenizer_config.json: 100%|██████████████████████████████████████████████████████████████| 749/749 [00:00<?, ?B/s]
tokenizer.model: 100%|██████████████████████████████████████████████████████████| 500k/500k [00:00<00:00, 11.6MB/s]
special_tokens_map.json: 100%|████████████████████████████████████████████████████████████| 438/438 [00:00<?, ?B/s]
config.json: 100%|████████████████████████████████████████████████████████████████████████| 994/994 [00:00<?, ?B/s]
configuration_cogvlm.py: 100%|████████████████████████████████████████████████████████| 1.51k/1.51k [00:00<?, ?B/s]
A new version of the following files was downloaded from https://huggingface.co/THUDM/cogvlm-chat-hf:
- configuration_cogvlm.py
. Make sure to double-check they do not contain any added malicious code. To avoid downloading new versions of the code file, you can pin a revision.
modeling_cogvlm.py: 100%|█████████████████████████████████████████████████████| 35.9k/35.9k [00:00<00:00, 14.7MB/s]
visual.py: 100%|██████████████████████████████████████████████████████████████████████| 5.38k/5.38k [00:00<?, ?B/s]
A new version of the following files was downloaded from https://huggingface.co/THUDM/cogvlm-chat-hf:
- visual.py
. Make sure to double-check they do not contain any added malicious code. To avoid downloading new versions of the code file, you can pin a revision.
A new version of the following files was downloaded from https://huggingface.co/THUDM/cogvlm-chat-hf:
- modeling_cogvlm.py
- visual.py
. Make sure to double-check they do not contain any added malicious code. To avoid downloading new versions of the code file, you can pin a revision.
model.safetensors.index.json: 100%|█████████████████████████████████████████████| 116k/116k [00:00<00:00, 9.39MB/s]
model-00001-of-00008.safetensors: 100%|███████████████████████████████████████| 4.94G/4.94G [02:17<00:00, 35.8MB/s]
Downloading shards:  12%|███████▍                                                   | 1/8 [02:18<16:08, 138.42s/it]
Something went wrong while process captions.
Traceback (most recent call last):
  File "C:\ProgramData\anaconda3\lib\site-packages\urllib3\connectionpool.py", line 703, in urlopen
    httplib_response = self._make_request(
  File "C:\ProgramData\anaconda3\lib\site-packages\urllib3\connectionpool.py", line 449, in _make_request
    six.raise_from(e, None)
  File "<string>", line 3, in raise_from
  File "C:\ProgramData\anaconda3\lib\site-packages\urllib3\connectionpool.py", line 444, in _make_request
    httplib_response = conn.getresponse()
  File "C:\ProgramData\anaconda3\lib\http\client.py", line 1375, in getresponse
    response.begin()
  File "C:\ProgramData\anaconda3\lib\http\client.py", line 318, in begin
    version, status, reason = self._read_status()
  File "C:\ProgramData\anaconda3\lib\http\client.py", line 287, in _read_status
    raise RemoteDisconnected("Remote end closed connection without"
http.client.RemoteDisconnected: Remote end closed connection without response

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\ProgramData\anaconda3\lib\site-packages\requests\adapters.py", line 489, in send
    resp = conn.urlopen(
  File "C:\ProgramData\anaconda3\lib\site-packages\urllib3\connectionpool.py", line 787, in urlopen
    retries = retries.increment(
  File "C:\ProgramData\anaconda3\lib\site-packages\urllib3\util\retry.py", line 550, in increment
    raise six.reraise(type(error), error, _stacktrace)
  File "C:\ProgramData\anaconda3\lib\site-packages\urllib3\packages\six.py", line 769, in reraise
    raise value.with_traceback(tb)
  File "C:\ProgramData\anaconda3\lib\site-packages\urllib3\connectionpool.py", line 703, in urlopen
    httplib_response = self._make_request(
  File "C:\ProgramData\anaconda3\lib\site-packages\urllib3\connectionpool.py", line 449, in _make_request
    six.raise_from(e, None)
  File "<string>", line 3, in raise_from
  File "C:\ProgramData\anaconda3\lib\site-packages\urllib3\connectionpool.py", line 444, in _make_request
    httplib_response = conn.getresponse()
  File "C:\ProgramData\anaconda3\lib\http\client.py", line 1375, in getresponse
    response.begin()
  File "C:\ProgramData\anaconda3\lib\http\client.py", line 318, in begin
    version, status, reason = self._read_status()
  File "C:\ProgramData\anaconda3\lib\http\client.py", line 287, in _read_status
    raise RemoteDisconnected("Remote end closed connection without"
urllib3.exceptions.ProtocolError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\MNeMiC\AppData\Roaming\Python\Python310\site-packages\huggingface_hub\file_download.py", line 1261, in hf_hub_download
    metadata = get_hf_file_metadata(
  File "C:\Users\MNeMiC\AppData\Roaming\Python\Python310\site-packages\huggingface_hub\utils\_validators.py", line 118, in _inner_fn
    return fn(*args, **kwargs)
  File "C:\Users\MNeMiC\AppData\Roaming\Python\Python310\site-packages\huggingface_hub\file_download.py", line 1667, in get_hf_file_metadata
    r = _request_wrapper(
  File "C:\Users\MNeMiC\AppData\Roaming\Python\Python310\site-packages\huggingface_hub\file_download.py", line 385, in _request_wrapper
    response = _request_wrapper(
  File "C:\Users\MNeMiC\AppData\Roaming\Python\Python310\site-packages\huggingface_hub\file_download.py", line 408, in _request_wrapper
    response = get_session().request(method=method, url=url, **params)
  File "C:\ProgramData\anaconda3\lib\site-packages\requests\sessions.py", line 587, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\ProgramData\anaconda3\lib\site-packages\requests\sessions.py", line 701, in send
    r = adapter.send(request, **kwargs)
  File "C:\Users\MNeMiC\AppData\Roaming\Python\Python310\site-packages\huggingface_hub\utils\_http.py", line 67, in send
    return super().send(request, *args, **kwargs)
  File "C:\ProgramData\anaconda3\lib\site-packages\requests\adapters.py", line 547, in send
    raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: (ProtocolError('Connection aborted.', RemoteDisconnected('Remote end closed connection without response')), '(Request ID: 2f0fb310-fcb0-4410-9879-99efec19bfbd)')

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "C:\Users\MNeMiC\AppData\Roaming\Python\Python310\site-packages\transformers\utils\hub.py", line 385, in cached_file
    resolved_file = hf_hub_download(
  File "C:\Users\MNeMiC\AppData\Roaming\Python\Python310\site-packages\huggingface_hub\utils\_validators.py", line 118, in _inner_fn
    return fn(*args, **kwargs)
  File "C:\Users\MNeMiC\AppData\Roaming\Python\Python310\site-packages\huggingface_hub\file_download.py", line 1406, in hf_hub_download
    raise LocalEntryNotFoundError(
huggingface_hub.utils._errors.LocalEntryNotFoundError: An error happened while trying to locate the file on the Hub and we cannot find the requested files in the local cache. Please check your connection and try again or make sure your Internet connection is on.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "D:\AI\Training\Tools\image-interrogator\image-interrogator.py", line 449, in image_to_prompt
    validate_reload(caption_model_name, clip_model_name, check_lowvram, device, generate_features, _precision_type, load_4bit, load_8bit)
  File "D:\AI\Training\Tools\image-interrogator\image-interrogator.py", line 310, in validate_reload
    load_ci()
  File "D:\AI\Training\Tools\image-interrogator\image-interrogator.py", line 62, in load_ci
    ci = Interrogator(config)
  File "D:\AI\Training\Tools\image-interrogator\clip_interrogator\clip_interrogator.py", line 99, in __init__
    self.load_models()
  File "D:\AI\Training\Tools\image-interrogator\clip_interrogator\clip_interrogator.py", line 103, in load_models
    self.load_caption_model()
  File "D:\AI\Training\Tools\image-interrogator\clip_interrogator\clip_interrogator.py", line 207, in load_caption_model
    self.load_clip_caption_model()
  File "D:\AI\Training\Tools\image-interrogator\clip_interrogator\clip_interrogator.py", line 173, in load_clip_caption_model
    caption_model = AutoModelForCausalLM.from_pretrained(self.config.model_path, low_cpu_mem_usage=True, local_files_only=self.config.download_models_to_cache, torch_dtype=self.dtype, trust_remote_code=True, **kwargs)
  File "C:\Users\MNeMiC\AppData\Roaming\Python\Python310\site-packages\transformers\models\auto\auto_factory.py", line 561, in from_pretrained
    return model_class.from_pretrained(
  File "C:\Users\MNeMiC\AppData\Roaming\Python\Python310\site-packages\transformers\modeling_utils.py", line 3483, in from_pretrained
    resolved_archive_file, sharded_metadata = get_checkpoint_shard_files(
  File "C:\Users\MNeMiC\AppData\Roaming\Python\Python310\site-packages\transformers\utils\hub.py", line 1025, in get_checkpoint_shard_files
    cached_filename = cached_file(
  File "C:\Users\MNeMiC\AppData\Roaming\Python\Python310\site-packages\transformers\utils\hub.py", line 425, in cached_file
    raise EnvironmentError(
OSError: We couldn't connect to 'https://huggingface.co' to load this file, couldn't find it in the cached files and it looks like THUDM/cogvlm-chat-hf is not the path to a directory containing a file named model-00002-of-00008.safetensors.
Checkout your internet connection or see how to run the library in offline mode at 'https://huggingface.co/docs/transformers/installation#offline-mode'.
Running with this settings...
----------------------------------------------------------------------------------------------------
Precision Type: FP16
Load Mode: 4bit
Device: auto
Optimize for Low VRAM: False
Include image features in the prompt: False
Don't save dataset images: False
Generate individual caption file: True
Generate caption in the original path: False
Generate dataset: False
Dataset Name: Default
Caption Model: cogvlm-chat-hf
Max outputs tokens: 2048
Temperature: 0.2
Top p: 0.7
Question prompt: Provide caption for the image in one sentence. Be detailed but precise.
----------------------------------------------------------------------------------------------------
Something went wrong while process captions.
Traceback (most recent call last):
  File "D:\AI\Training\Tools\image-interrogator\image-interrogator.py", line 449, in image_to_prompt
    validate_reload(caption_model_name, clip_model_name, check_lowvram, device, generate_features, _precision_type, load_4bit, load_8bit)
  File "D:\AI\Training\Tools\image-interrogator\image-interrogator.py", line 308, in validate_reload
    if not ci or not isValid:
NameError: name 'ci' is not defined
elismasilva commented 6 months ago

you are installing differently than what is instructed on this page, I don't use any .\venv_create.bat, or you are having a problem in your Python environment. Then I also noticed that the models are not downloading correctly, it seems to me that there is a problem with your internet connection as the download of the files is incomplete. I'm doing a clean install on mine just to make sure there are no problems and I'll put the installation log here. If you don't install it via install_windows.bat the program won't work. Note this only tested and working with python version 3.10.* , if you have python 3.11 active will not work.

elismasilva commented 6 months ago

My installation working:

F:\test>git clone https://github.com/DEVAIEXP/image-interrogator.git
Cloning into 'image-interrogator'...
remote: Enumerating objects: 183, done.
remote: Counting objects: 100% (183/183), done.
remote: Compressing objects: 100% (113/113), done.
remote: Total 183 (delta 82), reused 134 (delta 56), pack-reused 0
Receiving objects: 100% (183/183), 867.20 KiB | 11.88 MiB/s, done.
Resolving deltas: 100% (82/82), done.

F:\test>cd image-interrogator

F:\test\image-interrogator>install_windows.bat
Creating python venv dir F:\test\image-interrogator\venv in using python "F:\Projetos\stable-diffusion-webui\venv\Scripts\python.exe"
Activating python venv
venv "F:\test\image-interrogator\venv\Scripts\Python.exe"
Cloning LLaVA repository...
Cloning into 'LLaVA'...
remote: Enumerating objects: 2291, done.
remote: Counting objects: 100% (2291/2291), done.
remote: Compressing objects: 100% (847/847), done.
remote: Total 2291 (delta 1469), reused 2125 (delta 1400), pack-reused 0
Receiving objects: 100% (2291/2291), 13.64 MiB | 16.39 MiB/s, done.
Resolving deltas: 100% (1469/1469), done.
Patching LLaVA...
        1 arquivo(s) copiado(s).
        1 arquivo(s) copiado(s).
Installing LLaVA. This could take a few minutes...
Looking in indexes: https://download.pytorch.org/whl/cu118, https://pypi.ngc.nvidia.com
Collecting torch==2.2.0
  Downloading https://download.pytorch.org/whl/cu118/torch-2.2.0%2Bcu118-cp310-cp310-win_amd64.whl (2704.3 MB)
     ---------------------------------------- 2.7/2.7 GB 38.6 MB/s eta 0:00:00
Collecting torchvision
  Downloading https://download.pytorch.org/whl/cu118/torchvision-0.17.2%2Bcu118-cp310-cp310-win_amd64.whl (4.9 MB)
     ---------------------------------------- 4.9/4.9 MB 44.5 MB/s eta 0:00:00
Collecting torchaudio
  Downloading https://download.pytorch.org/whl/cu118/torchaudio-2.2.2%2Bcu118-cp310-cp310-win_amd64.whl (4.0 MB)
     ---------------------------------------- 4.0/4.0 MB 42.1 MB/s eta 0:00:00
Collecting filelock
  Downloading https://download.pytorch.org/whl/filelock-3.9.0-py3-none-any.whl (9.7 kB)
Collecting sympy
  Downloading https://download.pytorch.org/whl/sympy-1.12-py3-none-any.whl (5.7 MB)
     ---------------------------------------- 5.7/5.7 MB 45.9 MB/s eta 0:00:00
Collecting jinja2
  Downloading https://download.pytorch.org/whl/Jinja2-3.1.2-py3-none-any.whl (133 kB)
     ---------------------------------------- 133.1/133.1 kB ? eta 0:00:00
Collecting typing-extensions>=4.8.0
  Downloading https://download.pytorch.org/whl/typing_extensions-4.8.0-py3-none-any.whl (31 kB)
Collecting networkx
  Downloading https://download.pytorch.org/whl/networkx-3.2.1-py3-none-any.whl (1.6 MB)
     ---------------------------------------- 1.6/1.6 MB 52.8 MB/s eta 0:00:00
Collecting fsspec
  Downloading https://download.pytorch.org/whl/fsspec-2023.4.0-py3-none-any.whl (153 kB)
     ---------------------------------------- 154.0/154.0 kB ? eta 0:00:00
Collecting pillow!=8.3.*,>=5.3.0
  Downloading https://download.pytorch.org/whl/pillow-10.2.0-cp310-cp310-win_amd64.whl (2.6 MB)
     ---------------------------------------- 2.6/2.6 MB 55.6 MB/s eta 0:00:00
Collecting torchvision
  Downloading https://download.pytorch.org/whl/cu118/torchvision-0.17.1%2Bcu118-cp310-cp310-win_amd64.whl (4.9 MB)
     ---------------------------------------- 4.9/4.9 MB 39.2 MB/s eta 0:00:00
  Downloading https://download.pytorch.org/whl/cu118/torchvision-0.17.0%2Bcu118-cp310-cp310-win_amd64.whl (4.9 MB)
     ---------------------------------------- 4.9/4.9 MB 44.5 MB/s eta 0:00:00
Collecting numpy
  Downloading https://download.pytorch.org/whl/numpy-1.26.3-cp310-cp310-win_amd64.whl (15.8 MB)
     ---------------------------------------- 15.8/15.8 MB 38.5 MB/s eta 0:00:00
Collecting requests
  Downloading https://download.pytorch.org/whl/requests-2.28.1-py3-none-any.whl (62 kB)
     ---------------------------------------- 62.8/62.8 kB ? eta 0:00:00
Collecting torchaudio
  Downloading https://download.pytorch.org/whl/cu118/torchaudio-2.2.1%2Bcu118-cp310-cp310-win_amd64.whl (4.0 MB)
     ---------------------------------------- 4.0/4.0 MB 42.1 MB/s eta 0:00:00
  Downloading https://download.pytorch.org/whl/cu118/torchaudio-2.2.0%2Bcu118-cp310-cp310-win_amd64.whl (4.0 MB)
     ---------------------------------------- 4.0/4.0 MB 50.1 MB/s eta 0:00:00
Collecting MarkupSafe>=2.0
  Downloading https://download.pytorch.org/whl/MarkupSafe-2.1.3-cp310-cp310-win_amd64.whl (17 kB)
Collecting charset-normalizer<3,>=2
  Downloading https://download.pytorch.org/whl/charset_normalizer-2.1.1-py3-none-any.whl (39 kB)
Collecting idna<4,>=2.5
  Downloading https://download.pytorch.org/whl/idna-3.4-py3-none-any.whl (61 kB)
     ---------------------------------------- 61.5/61.5 kB ? eta 0:00:00
Collecting certifi>=2017.4.17
  Downloading https://download.pytorch.org/whl/certifi-2022.12.7-py3-none-any.whl (155 kB)
     ---------------------------------------- 155.3/155.3 kB ? eta 0:00:00
Collecting urllib3<1.27,>=1.21.1
  Downloading https://download.pytorch.org/whl/urllib3-1.26.13-py2.py3-none-any.whl (140 kB)
     ---------------------------------------- 140.6/140.6 kB ? eta 0:00:00
Collecting mpmath>=0.19
  Downloading https://download.pytorch.org/whl/mpmath-1.3.0-py3-none-any.whl (536 kB)
     ---------------------------------------- 536.2/536.2 kB 32.9 MB/s eta 0:00:00
Installing collected packages: mpmath, urllib3, typing-extensions, sympy, pillow, numpy, networkx, MarkupSafe, idna, fsspec, filelock, charset-normalizer, certifi, requests, jinja2, torch, torchvision, torchaudio
Successfully installed MarkupSafe-2.1.3 certifi-2022.12.7 charset-normalizer-2.1.1 filelock-3.9.0 fsspec-2023.4.0 idna-3.4 jinja2-3.1.2 mpmath-1.3.0 networkx-3.2.1 numpy-1.26.3 pillow-10.2.0 requests-2.28.1 sympy-1.12 torch-2.2.0+cu118 torchaudio-2.2.0+cu118 torchvision-0.17.0+cu118 typing-extensions-4.8.0 urllib3-1.26.13
Looking in indexes: https://pypi.org/simple, https://pypi.ngc.nvidia.com
Obtaining file:///F:/test/image-interrogator/repositories/LLaVA
  Installing build dependencies ... done
  Checking if build backend supports build_editable ... done
  Getting requirements to build editable ... done
  Installing backend dependencies ... done
  Preparing editable metadata (pyproject.toml) ... done
Collecting pydantic==2.6.1
  Downloading pydantic-2.6.1-py3-none-any.whl (394 kB)
     ---------------------------------------- 394.8/394.8 kB 12.4 MB/s eta 0:00:00
Requirement already satisfied: torch==2.2.0 in f:\test\image-interrogator\venv\lib\site-packages (from llava==1.2.0) (2.2.0+cu118)
Collecting fastapi
  Downloading fastapi-0.110.2-py3-none-any.whl (91 kB)
     ---------------------------------------- 91.9/91.9 kB ? eta 0:00:00
Collecting einops-exts==0.0.4
  Downloading einops_exts-0.0.4-py3-none-any.whl (3.9 kB)
Collecting httpx==0.24.1
  Downloading httpx-0.24.1-py3-none-any.whl (75 kB)
     ---------------------------------------- 75.4/75.4 kB ? eta 0:00:00
Collecting markdown2[all]
  Downloading markdown2-2.4.13-py2.py3-none-any.whl (41 kB)
     ---------------------------------------- 41.3/41.3 kB ? eta 0:00:00
Collecting tokenizers==0.15.0
  Downloading tokenizers-0.15.0-cp310-none-win_amd64.whl (2.2 MB)
     ---------------------------------------- 2.2/2.2 MB 8.8 MB/s eta 0:00:00
Collecting sentencepiece==0.2.0
  Downloading sentencepiece-0.2.0-cp310-cp310-win_amd64.whl (991 kB)
     ---------------------------------------- 991.5/991.5 kB 61.3 MB/s eta 0:00:00
Collecting timm==0.9.16
  Downloading timm-0.9.16-py3-none-any.whl (2.2 MB)
     ---------------------------------------- 2.2/2.2 MB 35.5 MB/s eta 0:00:00
Collecting bitsandbytes>=0.41.2
  Downloading bitsandbytes-0.43.1-py3-none-win_amd64.whl (101.6 MB)
     ---------------------------------------- 101.6/101.6 MB 36.4 MB/s eta 0:00:00
Collecting gradio-client==0.10.1
  Downloading gradio_client-0.10.1-py3-none-any.whl (307 kB)
     ---------------------------------------- 307.9/307.9 kB 18.6 MB/s eta 0:00:00
Collecting accelerate==0.27.2
  Downloading accelerate-0.27.2-py3-none-any.whl (279 kB)
     ---------------------------------------- 280.0/280.0 kB 18.0 MB/s eta 0:00:00
Collecting scikit-learn==1.2.2
  Downloading scikit_learn-1.2.2-cp310-cp310-win_amd64.whl (8.3 MB)
     ---------------------------------------- 8.3/8.3 MB 8.2 MB/s eta 0:00:00
Collecting gradio==4.19.2
  Downloading gradio-4.19.2-py3-none-any.whl (16.9 MB)
     ---------------------------------------- 16.9/16.9 MB 36.4 MB/s eta 0:00:00
Collecting shortuuid
  Downloading shortuuid-1.0.13-py3-none-any.whl (10 kB)
Collecting einops==0.7.0
  Downloading einops-0.7.0-py3-none-any.whl (44 kB)
     ---------------------------------------- 44.6/44.6 kB ? eta 0:00:00
Requirement already satisfied: requests in f:\test\image-interrogator\venv\lib\site-packages (from llava==1.2.0) (2.28.1)
Collecting transformers==4.37.2
  Downloading transformers-4.37.2-py3-none-any.whl (8.4 MB)
     ---------------------------------------- 8.4/8.4 MB 44.6 MB/s eta 0:00:00
Requirement already satisfied: numpy in f:\test\image-interrogator\venv\lib\site-packages (from llava==1.2.0) (1.26.3)
Collecting uvicorn
  Downloading uvicorn-0.29.0-py3-none-any.whl (60 kB)
     ---------------------------------------- 60.8/60.8 kB ? eta 0:00:00
Collecting peft==0.9.0
  Downloading peft-0.9.0-py3-none-any.whl (190 kB)
     ---------------------------------------- 190.9/190.9 kB ? eta 0:00:00
Requirement already satisfied: torchvision==0.17.0 in f:\test\image-interrogator\venv\lib\site-packages (from llava==1.2.0) (0.17.0+cu118)
Collecting packaging>=20.0
  Downloading packaging-24.0-py3-none-any.whl (53 kB)
     ---------------------------------------- 53.5/53.5 kB ? eta 0:00:00
Collecting huggingface-hub
  Downloading huggingface_hub-0.22.2-py3-none-any.whl (388 kB)
     ---------------------------------------- 388.9/388.9 kB ? eta 0:00:00
Collecting psutil
  Downloading psutil-5.9.8-cp37-abi3-win_amd64.whl (255 kB)
     ---------------------------------------- 255.1/255.1 kB ? eta 0:00:00
Collecting pyyaml
  Downloading PyYAML-6.0.1-cp310-cp310-win_amd64.whl (145 kB)
     ---------------------------------------- 145.3/145.3 kB ? eta 0:00:00
Collecting safetensors>=0.3.1
  Downloading safetensors-0.4.3-cp310-none-win_amd64.whl (287 kB)
     ---------------------------------------- 287.4/287.4 kB ? eta 0:00:00
Collecting python-multipart>=0.0.9
  Downloading python_multipart-0.0.9-py3-none-any.whl (22 kB)
Collecting orjson~=3.0
  Downloading orjson-3.10.1-cp310-none-win_amd64.whl (139 kB)
     ---------------------------------------- 139.1/139.1 kB ? eta 0:00:00
Requirement already satisfied: typing-extensions~=4.0 in f:\test\image-interrogator\venv\lib\site-packages (from gradio==4.19.2->llava==1.2.0) (4.8.0)
Requirement already satisfied: jinja2<4.0 in f:\test\image-interrogator\venv\lib\site-packages (from gradio==4.19.2->llava==1.2.0) (3.1.2)
Collecting matplotlib~=3.0
  Downloading matplotlib-3.8.4-cp310-cp310-win_amd64.whl (7.7 MB)
     ---------------------------------------- 7.7/7.7 MB 44.5 MB/s eta 0:00:00
Collecting ruff>=0.2.2
  Downloading ruff-0.4.1-py3-none-win_amd64.whl (8.5 MB)
     ---------------------------------------- 8.5/8.5 MB 45.1 MB/s eta 0:00:00
Collecting semantic-version~=2.0
  Downloading semantic_version-2.10.0-py2.py3-none-any.whl (15 kB)
Requirement already satisfied: markupsafe~=2.0 in f:\test\image-interrogator\venv\lib\site-packages (from gradio==4.19.2->llava==1.2.0) (2.1.3)
Collecting tomlkit==0.12.0
  Downloading tomlkit-0.12.0-py3-none-any.whl (37 kB)
Collecting pandas<3.0,>=1.0
  Downloading pandas-2.2.2-cp310-cp310-win_amd64.whl (11.6 MB)
     ---------------------------------------- 11.6/11.6 MB 40.9 MB/s eta 0:00:00
Collecting pydub
  Downloading pydub-0.25.1-py2.py3-none-any.whl (32 kB)
Collecting aiofiles<24.0,>=22.0
  Downloading aiofiles-23.2.1-py3-none-any.whl (15 kB)
Collecting typer[all]<1.0,>=0.9
  Downloading typer-0.12.3-py3-none-any.whl (47 kB)
     ---------------------------------------- 47.2/47.2 kB ? eta 0:00:00
Collecting importlib-resources<7.0,>=1.3
  Downloading importlib_resources-6.4.0-py3-none-any.whl (38 kB)
Collecting ffmpy
  Downloading ffmpy-0.3.2.tar.gz (5.5 kB)
  Preparing metadata (setup.py) ... done
Requirement already satisfied: pillow<11.0,>=8.0 in f:\test\image-interrogator\venv\lib\site-packages (from gradio==4.19.2->llava==1.2.0) (10.2.0)
Collecting altair<6.0,>=4.2.0
  Downloading altair-5.3.0-py3-none-any.whl (857 kB)
     ---------------------------------------- 857.8/857.8 kB 53.0 MB/s eta 0:00:00
Collecting websockets<12.0,>=10.0
  Downloading websockets-11.0.3-cp310-cp310-win_amd64.whl (124 kB)
     ---------------------------------------- 124.7/124.7 kB ? eta 0:00:00
Requirement already satisfied: fsspec in f:\test\image-interrogator\venv\lib\site-packages (from gradio-client==0.10.1->llava==1.2.0) (2023.4.0)
Requirement already satisfied: certifi in f:\test\image-interrogator\venv\lib\site-packages (from httpx==0.24.1->llava==1.2.0) (2022.12.7)
Collecting httpcore<0.18.0,>=0.15.0
  Downloading httpcore-0.17.3-py3-none-any.whl (74 kB)
     ---------------------------------------- 74.5/74.5 kB ? eta 0:00:00
Collecting sniffio
  Downloading sniffio-1.3.1-py3-none-any.whl (10 kB)
Requirement already satisfied: idna in f:\test\image-interrogator\venv\lib\site-packages (from httpx==0.24.1->llava==1.2.0) (3.4)
Collecting tqdm
  Downloading tqdm-4.66.2-py3-none-any.whl (78 kB)
     ---------------------------------------- 78.3/78.3 kB ? eta 0:00:00
Collecting annotated-types>=0.4.0
  Downloading annotated_types-0.6.0-py3-none-any.whl (12 kB)
Collecting pydantic-core==2.16.2
  Downloading pydantic_core-2.16.2-cp310-none-win_amd64.whl (1.9 MB)
     ---------------------------------------- 1.9/1.9 MB 40.1 MB/s eta 0:00:00
Collecting scipy>=1.3.2
  Downloading scipy-1.13.0-cp310-cp310-win_amd64.whl (46.2 MB)
     ---------------------------------------- 46.2/46.2 MB 38.5 MB/s eta 0:00:00
Collecting threadpoolctl>=2.0.0
  Downloading threadpoolctl-3.4.0-py3-none-any.whl (17 kB)
Collecting joblib>=1.1.1
  Downloading joblib-1.4.0-py3-none-any.whl (301 kB)
     ---------------------------------------- 301.2/301.2 kB ? eta 0:00:00
Requirement already satisfied: sympy in f:\test\image-interrogator\venv\lib\site-packages (from torch==2.2.0->llava==1.2.0) (1.12)
Requirement already satisfied: filelock in f:\test\image-interrogator\venv\lib\site-packages (from torch==2.2.0->llava==1.2.0) (3.9.0)
Requirement already satisfied: networkx in f:\test\image-interrogator\venv\lib\site-packages (from torch==2.2.0->llava==1.2.0) (3.2.1)
Collecting regex!=2019.12.17
  Downloading regex-2024.4.16-cp310-cp310-win_amd64.whl (268 kB)
     ---------------------------------------- 268.9/268.9 kB ? eta 0:00:00
Collecting click>=7.0
  Downloading click-8.1.7-py3-none-any.whl (97 kB)
     ---------------------------------------- 97.9/97.9 kB ? eta 0:00:00
Collecting h11>=0.8
  Downloading h11-0.14.0-py3-none-any.whl (58 kB)
     ---------------------------------------- 58.3/58.3 kB ? eta 0:00:00
Collecting starlette<0.38.0,>=0.37.2
  Downloading starlette-0.37.2-py3-none-any.whl (71 kB)
     ---------------------------------------- 71.9/71.9 kB ? eta 0:00:00
Collecting wavedrom
  Downloading wavedrom-2.0.3.post3.tar.gz (137 kB)
     ---------------------------------------- 137.7/137.7 kB ? eta 0:00:00
  Preparing metadata (setup.py) ... done
Collecting pygments>=2.7.3
  Downloading pygments-2.17.2-py3-none-any.whl (1.2 MB)
     ---------------------------------------- 1.2/1.2 MB 18.9 MB/s eta 0:00:00
Requirement already satisfied: urllib3<1.27,>=1.21.1 in f:\test\image-interrogator\venv\lib\site-packages (from requests->llava==1.2.0) (1.26.13)
Requirement already satisfied: charset-normalizer<3,>=2 in f:\test\image-interrogator\venv\lib\site-packages (from requests->llava==1.2.0) (2.1.1)
Collecting toolz
  Downloading toolz-0.12.1-py3-none-any.whl (56 kB)
     ---------------------------------------- 56.1/56.1 kB ? eta 0:00:00
Collecting jsonschema>=3.0
  Downloading jsonschema-4.21.1-py3-none-any.whl (85 kB)
     ---------------------------------------- 85.5/85.5 kB ? eta 0:00:00
Collecting colorama
  Downloading colorama-0.4.6-py2.py3-none-any.whl (25 kB)
Collecting anyio<5.0,>=3.0
  Downloading anyio-4.3.0-py3-none-any.whl (85 kB)
     ---------------------------------------- 85.6/85.6 kB 4.7 MB/s eta 0:00:00
Collecting fsspec
  Downloading fsspec-2024.3.1-py3-none-any.whl (171 kB)
     ---------------------------------------- 172.0/172.0 kB ? eta 0:00:00
Collecting kiwisolver>=1.3.1
  Downloading kiwisolver-1.4.5-cp310-cp310-win_amd64.whl (56 kB)
     ---------------------------------------- 56.1/56.1 kB ? eta 0:00:00
Collecting fonttools>=4.22.0
  Downloading fonttools-4.51.0-cp310-cp310-win_amd64.whl (2.2 MB)
     ---------------------------------------- 2.2/2.2 MB 46.3 MB/s eta 0:00:00
Collecting pyparsing>=2.3.1
  Downloading pyparsing-3.1.2-py3-none-any.whl (103 kB)
     ---------------------------------------- 103.2/103.2 kB ? eta 0:00:00
Collecting python-dateutil>=2.7
  Downloading python_dateutil-2.9.0.post0-py2.py3-none-any.whl (229 kB)
     ---------------------------------------- 229.9/229.9 kB ? eta 0:00:00
Collecting cycler>=0.10
  Downloading cycler-0.12.1-py3-none-any.whl (8.3 kB)
Collecting contourpy>=1.0.1
  Downloading contourpy-1.2.1-cp310-cp310-win_amd64.whl (187 kB)
     ---------------------------------------- 187.5/187.5 kB ? eta 0:00:00
Collecting tzdata>=2022.7
  Downloading tzdata-2024.1-py2.py3-none-any.whl (345 kB)
     ---------------------------------------- 345.4/345.4 kB ? eta 0:00:00
Collecting pytz>=2020.1
  Downloading pytz-2024.1-py2.py3-none-any.whl (505 kB)
     ---------------------------------------- 505.5/505.5 kB ? eta 0:00:00
WARNING: typer 0.12.3 does not provide the extra 'all'
Collecting rich>=10.11.0
  Downloading rich-13.7.1-py3-none-any.whl (240 kB)
     ---------------------------------------- 240.7/240.7 kB ? eta 0:00:00
Collecting shellingham>=1.3.0
  Downloading shellingham-1.5.4-py2.py3-none-any.whl (9.8 kB)
Requirement already satisfied: mpmath>=0.19 in f:\test\image-interrogator\venv\lib\site-packages (from sympy->torch==2.2.0->llava==1.2.0) (1.3.0)
Collecting svgwrite
  Downloading svgwrite-1.4.3-py3-none-any.whl (67 kB)
     ---------------------------------------- 67.1/67.1 kB ? eta 0:00:00
Collecting six
  Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting exceptiongroup>=1.0.2
  Downloading exceptiongroup-1.2.1-py3-none-any.whl (16 kB)
Collecting referencing>=0.28.4
  Downloading referencing-0.34.0-py3-none-any.whl (26 kB)
Collecting rpds-py>=0.7.1
  Downloading rpds_py-0.18.0-cp310-none-win_amd64.whl (206 kB)
     ---------------------------------------- 206.7/206.7 kB ? eta 0:00:00
Collecting attrs>=22.2.0
  Downloading attrs-23.2.0-py3-none-any.whl (60 kB)
     ---------------------------------------- 60.8/60.8 kB ? eta 0:00:00
Collecting jsonschema-specifications>=2023.03.6
  Downloading jsonschema_specifications-2023.12.1-py3-none-any.whl (18 kB)
Collecting markdown-it-py>=2.2.0
  Downloading markdown_it_py-3.0.0-py3-none-any.whl (87 kB)
     ---------------------------------------- 87.5/87.5 kB ? eta 0:00:00
Collecting mdurl~=0.1
  Downloading mdurl-0.1.2-py3-none-any.whl (10.0 kB)
Building wheels for collected packages: llava
  Building editable for llava (pyproject.toml) ... done
  Created wheel for llava: filename=llava-1.2.0-0.editable-py3-none-any.whl size=16760 sha256=8109c6fa43ec585a41d2da2272134bc634bedfaf6f702a8557759135ec5adaa7
  Stored in directory: C:\Users\pelol\AppData\Local\Temp\pip-ephem-wheel-cache-mr6mtbpf\wheels\34\a4\0e\f147101cdf834d125428d7c6d4b730083e98c6d2f59ab4ea14
Successfully built llava
Installing collected packages: sentencepiece, pytz, pydub, ffmpy, websockets, tzdata, toolz, tomlkit, threadpoolctl, svgwrite, sniffio, six, shortuuid, shellingham, semantic-version, scipy, safetensors, ruff, rpds-py, regex, pyyaml, python-multipart, pyparsing, pygments, pydantic-core, psutil, packaging, orjson, mdurl, markdown2, kiwisolver, joblib, importlib-resources, h11, fsspec, fonttools, exceptiongroup, einops, cycler, contourpy, colorama, attrs, annotated-types, aiofiles, wavedrom, tqdm, scikit-learn, referencing, python-dateutil, pydantic, markdown-it-py, einops-exts, click, anyio, uvicorn, starlette, rich, pandas, matplotlib, jsonschema-specifications, huggingface-hub, httpcore, bitsandbytes, typer, tokenizers, timm, jsonschema, httpx, fastapi, accelerate, transformers, gradio-client, altair, peft, gradio, llava
  DEPRECATION: ffmpy is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559
  Running setup.py install for ffmpy ... done
  Attempting uninstall: fsspec
    Found existing installation: fsspec 2023.4.0
    Uninstalling fsspec-2023.4.0:
      Successfully uninstalled fsspec-2023.4.0
  DEPRECATION: wavedrom is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559
  Running setup.py install for wavedrom ... done
Successfully installed accelerate-0.27.2 aiofiles-23.2.1 altair-5.3.0 annotated-types-0.6.0 anyio-4.3.0 attrs-23.2.0 bitsandbytes-0.43.1 click-8.1.7 colorama-0.4.6 contourpy-1.2.1 cycler-0.12.1 einops-0.7.0 einops-exts-0.0.4 exceptiongroup-1.2.1 fastapi-0.110.2 ffmpy-0.3.2 fonttools-4.51.0 fsspec-2024.3.1 gradio-4.19.2 gradio-client-0.10.1 h11-0.14.0 httpcore-0.17.3 httpx-0.24.1 huggingface-hub-0.22.2 importlib-resources-6.4.0 joblib-1.4.0 jsonschema-4.21.1 jsonschema-specifications-2023.12.1 kiwisolver-1.4.5 llava-1.2.0 markdown-it-py-3.0.0 markdown2-2.4.13 matplotlib-3.8.4 mdurl-0.1.2 orjson-3.10.1 packaging-24.0 pandas-2.2.2 peft-0.9.0 psutil-5.9.8 pydantic-2.6.1 pydantic-core-2.16.2 pydub-0.25.1 pygments-2.17.2 pyparsing-3.1.2 python-dateutil-2.9.0.post0 python-multipart-0.0.9 pytz-2024.1 pyyaml-6.0.1 referencing-0.34.0 regex-2024.4.16 rich-13.7.1 rpds-py-0.18.0 ruff-0.4.1 safetensors-0.4.3 scikit-learn-1.2.2 scipy-1.13.0 semantic-version-2.10.0 sentencepiece-0.2.0 shellingham-1.5.4 shortuuid-1.0.13 six-1.16.0 sniffio-1.3.1 starlette-0.37.2 svgwrite-1.4.3 threadpoolctl-3.4.0 timm-0.9.16 tokenizers-0.15.0 tomlkit-0.12.0 toolz-0.12.1 tqdm-4.66.2 transformers-4.37.2 typer-0.12.3 tzdata-2024.1 uvicorn-0.29.0 wavedrom-2.0.3.post3 websockets-11.0.3

[notice] A new release of pip is available: 23.0.1 -> 24.0
[notice] To update, run: python.exe -m pip install --upgrade pip
Installing other requirements. This could take a few minutes...
Looking in indexes: https://pypi.org/simple, https://pypi.ngc.nvidia.com
Requirement already satisfied: pip in f:\test\image-interrogator\venv\lib\site-packages (23.0.1)
Collecting pip
  Downloading pip-24.0-py3-none-any.whl (2.1 MB)
     ---------------------------------------- 2.1/2.1 MB 33.9 MB/s eta 0:00:00
Installing collected packages: pip
  Attempting uninstall: pip
    Found existing installation: pip 23.0.1
    Uninstalling pip-23.0.1:
      Successfully uninstalled pip-23.0.1
Successfully installed pip-24.0
Looking in indexes: https://pypi.org/simple, https://pypi.ngc.nvidia.com
Requirement already satisfied: transformers==4.37.2 in f:\test\image-interrogator\venv\lib\site-packages (from -r requirements.txt (line 1)) (4.37.2)
Collecting transformers_stream_generator==0.0.4 (from -r requirements.txt (line 2))
  Downloading transformers-stream-generator-0.0.4.tar.gz (12 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Installing backend dependencies ... done
  Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: tokenizers==0.15.0 in f:\test\image-interrogator\venv\lib\site-packages (from -r requirements.txt (line 3)) (0.15.0)
Collecting huggingface-hub==0.21.3 (from -r requirements.txt (line 4))
  Downloading huggingface_hub-0.21.3-py3-none-any.whl.metadata (13 kB)
Collecting datasets==2.14.7 (from -r requirements.txt (line 5))
  Downloading datasets-2.14.7-py3-none-any.whl.metadata (19 kB)
Requirement already satisfied: gradio==4.19.2 in f:\test\image-interrogator\venv\lib\site-packages (from -r requirements.txt (line 6)) (4.19.2)
Requirement already satisfied: gradio_client==0.10.1 in f:\test\image-interrogator\venv\lib\site-packages (from -r requirements.txt (line 7)) (0.10.1)
Requirement already satisfied: peft==0.9.0 in f:\test\image-interrogator\venv\lib\site-packages (from -r requirements.txt (line 8)) (0.9.0)
Requirement already satisfied: httpx==0.24.1 in f:\test\image-interrogator\venv\lib\site-packages (from -r requirements.txt (line 9)) (0.24.1)
Requirement already satisfied: einops==0.7.0 in f:\test\image-interrogator\venv\lib\site-packages (from -r requirements.txt (line 10)) (0.7.0)
Requirement already satisfied: einops-exts==0.0.4 in f:\test\image-interrogator\venv\lib\site-packages (from -r requirements.txt (line 11)) (0.0.4)
Requirement already satisfied: timm==0.9.16 in f:\test\image-interrogator\venv\lib\site-packages (from -r requirements.txt (line 12)) (0.9.16)
Requirement already satisfied: pydantic==2.6.1 in f:\test\image-interrogator\venv\lib\site-packages (from -r requirements.txt (line 13)) (2.6.1)
Requirement already satisfied: pillow==10.2.0 in f:\test\image-interrogator\venv\lib\site-packages (from -r requirements.txt (line 14)) (10.2.0)
Requirement already satisfied: scikit-learn==1.2.2 in f:\test\image-interrogator\venv\lib\site-packages (from -r requirements.txt (line 15)) (1.2.2)
Collecting easygui (from -r requirements.txt (line 16))
  Downloading easygui-0.98.3-py2.py3-none-any.whl.metadata (8.4 kB)
Collecting open_clip_torch (from -r requirements.txt (line 17))
  Downloading open_clip_torch-2.24.0-py3-none-any.whl.metadata (30 kB)
Collecting modelscope (from -r requirements.txt (line 18))
  Downloading modelscope-1.13.3-py3-none-any.whl.metadata (33 kB)
Collecting tiktoken==0.6.0 (from -r requirements.txt (line 19))
  Downloading tiktoken-0.6.0-cp310-cp310-win_amd64.whl.metadata (6.8 kB)
Collecting optimum==1.17.1 (from -r requirements.txt (line 20))
  Downloading optimum-1.17.1-py3-none-any.whl.metadata (18 kB)
Requirement already satisfied: filelock in f:\test\image-interrogator\venv\lib\site-packages (from transformers==4.37.2->-r requirements.txt (line 1)) (3.9.0)
Requirement already satisfied: numpy>=1.17 in f:\test\image-interrogator\venv\lib\site-packages (from transformers==4.37.2->-r requirements.txt (line 1)) (1.26.3)
Requirement already satisfied: packaging>=20.0 in f:\test\image-interrogator\venv\lib\site-packages (from transformers==4.37.2->-r requirements.txt (line 1)) (24.0)
Requirement already satisfied: pyyaml>=5.1 in f:\test\image-interrogator\venv\lib\site-packages (from transformers==4.37.2->-r requirements.txt (line 1)) (6.0.1)
Requirement already satisfied: regex!=2019.12.17 in f:\test\image-interrogator\venv\lib\site-packages (from transformers==4.37.2->-r requirements.txt (line 1)) (2024.4.16)
Requirement already satisfied: requests in f:\test\image-interrogator\venv\lib\site-packages (from transformers==4.37.2->-r requirements.txt (line 1)) (2.28.1)
Requirement already satisfied: safetensors>=0.4.1 in f:\test\image-interrogator\venv\lib\site-packages (from transformers==4.37.2->-r requirements.txt (line 1)) (0.4.3)
Requirement already satisfied: tqdm>=4.27 in f:\test\image-interrogator\venv\lib\site-packages (from transformers==4.37.2->-r requirements.txt (line 1)) (4.66.2)
Requirement already satisfied: fsspec>=2023.5.0 in f:\test\image-interrogator\venv\lib\site-packages (from huggingface-hub==0.21.3->-r requirements.txt (line 4)) (2024.3.1)
Requirement already satisfied: typing-extensions>=3.7.4.3 in f:\test\image-interrogator\venv\lib\site-packages (from huggingface-hub==0.21.3->-r requirements.txt (line 4)) (4.8.0)
Collecting pyarrow>=8.0.0 (from datasets==2.14.7->-r requirements.txt (line 5))
  Downloading pyarrow-15.0.2-cp310-cp310-win_amd64.whl.metadata (3.1 kB)
Collecting pyarrow-hotfix (from datasets==2.14.7->-r requirements.txt (line 5))
  Downloading pyarrow_hotfix-0.6-py3-none-any.whl.metadata (3.6 kB)
Collecting dill<0.3.8,>=0.3.0 (from datasets==2.14.7->-r requirements.txt (line 5))
  Downloading dill-0.3.7-py3-none-any.whl.metadata (9.9 kB)
Requirement already satisfied: pandas in f:\test\image-interrogator\venv\lib\site-packages (from datasets==2.14.7->-r requirements.txt (line 5)) (2.2.2)
Collecting xxhash (from datasets==2.14.7->-r requirements.txt (line 5))
  Downloading xxhash-3.4.1-cp310-cp310-win_amd64.whl.metadata (12 kB)
Collecting multiprocess (from datasets==2.14.7->-r requirements.txt (line 5))
  Downloading multiprocess-0.70.16-py310-none-any.whl.metadata (7.2 kB)
Collecting fsspec>=2023.5.0 (from huggingface-hub==0.21.3->-r requirements.txt (line 4))
  Downloading fsspec-2023.10.0-py3-none-any.whl.metadata (6.8 kB)
Collecting aiohttp (from datasets==2.14.7->-r requirements.txt (line 5))
  Downloading aiohttp-3.9.5-cp310-cp310-win_amd64.whl.metadata (7.7 kB)
Requirement already satisfied: aiofiles<24.0,>=22.0 in f:\test\image-interrogator\venv\lib\site-packages (from gradio==4.19.2->-r requirements.txt (line 6)) (23.2.1)
Requirement already satisfied: altair<6.0,>=4.2.0 in f:\test\image-interrogator\venv\lib\site-packages (from gradio==4.19.2->-r requirements.txt (line 6)) (5.3.0)
Requirement already satisfied: fastapi in f:\test\image-interrogator\venv\lib\site-packages (from gradio==4.19.2->-r requirements.txt (line 6)) (0.110.2)
Requirement already satisfied: ffmpy in f:\test\image-interrogator\venv\lib\site-packages (from gradio==4.19.2->-r requirements.txt (line 6)) (0.3.2)
Requirement already satisfied: importlib-resources<7.0,>=1.3 in f:\test\image-interrogator\venv\lib\site-packages (from gradio==4.19.2->-r requirements.txt (line 6)) (6.4.0)
Requirement already satisfied: jinja2<4.0 in f:\test\image-interrogator\venv\lib\site-packages (from gradio==4.19.2->-r requirements.txt (line 6)) (3.1.2)
Requirement already satisfied: markupsafe~=2.0 in f:\test\image-interrogator\venv\lib\site-packages (from gradio==4.19.2->-r requirements.txt (line 6)) (2.1.3)
Requirement already satisfied: matplotlib~=3.0 in f:\test\image-interrogator\venv\lib\site-packages (from gradio==4.19.2->-r requirements.txt (line 6)) (3.8.4)
Requirement already satisfied: orjson~=3.0 in f:\test\image-interrogator\venv\lib\site-packages (from gradio==4.19.2->-r requirements.txt (line 6)) (3.10.1)
Requirement already satisfied: pydub in f:\test\image-interrogator\venv\lib\site-packages (from gradio==4.19.2->-r requirements.txt (line 6)) (0.25.1)
Requirement already satisfied: python-multipart>=0.0.9 in f:\test\image-interrogator\venv\lib\site-packages (from gradio==4.19.2->-r requirements.txt (line 6)) (0.0.9)
Requirement already satisfied: ruff>=0.2.2 in f:\test\image-interrogator\venv\lib\site-packages (from gradio==4.19.2->-r requirements.txt (line 6)) (0.4.1)
Requirement already satisfied: semantic-version~=2.0 in f:\test\image-interrogator\venv\lib\site-packages (from gradio==4.19.2->-r requirements.txt (line 6)) (2.10.0)
Requirement already satisfied: tomlkit==0.12.0 in f:\test\image-interrogator\venv\lib\site-packages (from gradio==4.19.2->-r requirements.txt (line 6)) (0.12.0)
Requirement already satisfied: typer<1.0,>=0.9 in f:\test\image-interrogator\venv\lib\site-packages (from typer[all]<1.0,>=0.9->gradio==4.19.2->-r requirements.txt (line 6)) (0.12.3)
Requirement already satisfied: uvicorn>=0.14.0 in f:\test\image-interrogator\venv\lib\site-packages (from gradio==4.19.2->-r requirements.txt (line 6)) (0.29.0)
Requirement already satisfied: websockets<12.0,>=10.0 in f:\test\image-interrogator\venv\lib\site-packages (from gradio_client==0.10.1->-r requirements.txt (line 7)) (11.0.3)
Requirement already satisfied: psutil in f:\test\image-interrogator\venv\lib\site-packages (from peft==0.9.0->-r requirements.txt (line 8)) (5.9.8)
Requirement already satisfied: torch>=1.13.0 in f:\test\image-interrogator\venv\lib\site-packages (from peft==0.9.0->-r requirements.txt (line 8)) (2.2.0+cu118)
Requirement already satisfied: accelerate>=0.21.0 in f:\test\image-interrogator\venv\lib\site-packages (from peft==0.9.0->-r requirements.txt (line 8)) (0.27.2)
Requirement already satisfied: certifi in f:\test\image-interrogator\venv\lib\site-packages (from httpx==0.24.1->-r requirements.txt (line 9)) (2022.12.7)
Requirement already satisfied: httpcore<0.18.0,>=0.15.0 in f:\test\image-interrogator\venv\lib\site-packages (from httpx==0.24.1->-r requirements.txt (line 9)) (0.17.3)
Requirement already satisfied: idna in f:\test\image-interrogator\venv\lib\site-packages (from httpx==0.24.1->-r requirements.txt (line 9)) (3.4)
Requirement already satisfied: sniffio in f:\test\image-interrogator\venv\lib\site-packages (from httpx==0.24.1->-r requirements.txt (line 9)) (1.3.1)
Requirement already satisfied: torchvision in f:\test\image-interrogator\venv\lib\site-packages (from timm==0.9.16->-r requirements.txt (line 12)) (0.17.0+cu118)
Requirement already satisfied: annotated-types>=0.4.0 in f:\test\image-interrogator\venv\lib\site-packages (from pydantic==2.6.1->-r requirements.txt (line 13)) (0.6.0)
Requirement already satisfied: pydantic-core==2.16.2 in f:\test\image-interrogator\venv\lib\site-packages (from pydantic==2.6.1->-r requirements.txt (line 13)) (2.16.2)
Requirement already satisfied: scipy>=1.3.2 in f:\test\image-interrogator\venv\lib\site-packages (from scikit-learn==1.2.2->-r requirements.txt (line 15)) (1.13.0)
Requirement already satisfied: joblib>=1.1.1 in f:\test\image-interrogator\venv\lib\site-packages (from scikit-learn==1.2.2->-r requirements.txt (line 15)) (1.4.0)
Requirement already satisfied: threadpoolctl>=2.0.0 in f:\test\image-interrogator\venv\lib\site-packages (from scikit-learn==1.2.2->-r requirements.txt (line 15)) (3.4.0)
Collecting coloredlogs (from optimum==1.17.1->-r requirements.txt (line 20))
  Downloading coloredlogs-15.0.1-py2.py3-none-any.whl.metadata (12 kB)
Requirement already satisfied: sympy in f:\test\image-interrogator\venv\lib\site-packages (from optimum==1.17.1->-r requirements.txt (line 20)) (1.12)
Collecting ftfy (from open_clip_torch->-r requirements.txt (line 17))
  Downloading ftfy-6.2.0-py3-none-any.whl.metadata (7.3 kB)
Requirement already satisfied: sentencepiece in f:\test\image-interrogator\venv\lib\site-packages (from open_clip_torch->-r requirements.txt (line 17)) (0.2.0)
Collecting protobuf (from open_clip_torch->-r requirements.txt (line 17))
  Downloading protobuf-5.26.1-cp310-abi3-win_amd64.whl.metadata (592 bytes)
Collecting addict (from modelscope->-r requirements.txt (line 18))
  Downloading addict-2.4.0-py3-none-any.whl.metadata (1.0 kB)
Requirement already satisfied: attrs in f:\test\image-interrogator\venv\lib\site-packages (from modelscope->-r requirements.txt (line 18)) (23.2.0)
Collecting gast>=0.2.2 (from modelscope->-r requirements.txt (line 18))
  Downloading gast-0.5.4-py3-none-any.whl.metadata (1.3 kB)
Collecting oss2 (from modelscope->-r requirements.txt (line 18))
  Downloading oss2-2.18.4.tar.gz (278 kB)
     ---------------------------------------- 278.1/278.1 kB 16.7 MB/s eta 0:00:00
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Installing backend dependencies ... done
  Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: python-dateutil>=2.1 in f:\test\image-interrogator\venv\lib\site-packages (from modelscope->-r requirements.txt (line 18)) (2.9.0.post0)
Requirement already satisfied: setuptools in f:\test\image-interrogator\venv\lib\site-packages (from modelscope->-r requirements.txt (line 18)) (65.5.0)
Collecting simplejson>=3.3.0 (from modelscope->-r requirements.txt (line 18))
  Downloading simplejson-3.19.2-cp310-cp310-win_amd64.whl.metadata (3.2 kB)
Collecting sortedcontainers>=1.5.9 (from modelscope->-r requirements.txt (line 18))
  Downloading sortedcontainers-2.4.0-py2.py3-none-any.whl.metadata (10 kB)
Requirement already satisfied: urllib3>=1.26 in f:\test\image-interrogator\venv\lib\site-packages (from modelscope->-r requirements.txt (line 18)) (1.26.13)
Collecting yapf (from modelscope->-r requirements.txt (line 18))
  Downloading yapf-0.40.2-py3-none-any.whl.metadata (45 kB)
     ---------------------------------------- 45.4/45.4 kB ? eta 0:00:00
Requirement already satisfied: jsonschema>=3.0 in f:\test\image-interrogator\venv\lib\site-packages (from altair<6.0,>=4.2.0->gradio==4.19.2->-r requirements.txt (line 6)) (4.21.1)
Requirement already satisfied: toolz in f:\test\image-interrogator\venv\lib\site-packages (from altair<6.0,>=4.2.0->gradio==4.19.2->-r requirements.txt (line 6)) (0.12.1)
Collecting aiosignal>=1.1.2 (from aiohttp->datasets==2.14.7->-r requirements.txt (line 5))
  Downloading aiosignal-1.3.1-py3-none-any.whl.metadata (4.0 kB)
Collecting frozenlist>=1.1.1 (from aiohttp->datasets==2.14.7->-r requirements.txt (line 5))
  Downloading frozenlist-1.4.1-cp310-cp310-win_amd64.whl.metadata (12 kB)
Collecting multidict<7.0,>=4.5 (from aiohttp->datasets==2.14.7->-r requirements.txt (line 5))
  Downloading multidict-6.0.5-cp310-cp310-win_amd64.whl.metadata (4.3 kB)
Collecting yarl<2.0,>=1.0 (from aiohttp->datasets==2.14.7->-r requirements.txt (line 5))
  Downloading yarl-1.9.4-cp310-cp310-win_amd64.whl.metadata (32 kB)
Collecting async-timeout<5.0,>=4.0 (from aiohttp->datasets==2.14.7->-r requirements.txt (line 5))
  Downloading async_timeout-4.0.3-py3-none-any.whl.metadata (4.2 kB)
Requirement already satisfied: h11<0.15,>=0.13 in f:\test\image-interrogator\venv\lib\site-packages (from httpcore<0.18.0,>=0.15.0->httpx==0.24.1->-r requirements.txt (line 9)) (0.14.0)
Requirement already satisfied: anyio<5.0,>=3.0 in f:\test\image-interrogator\venv\lib\site-packages (from httpcore<0.18.0,>=0.15.0->httpx==0.24.1->-r requirements.txt (line 9)) (4.3.0)
Requirement already satisfied: contourpy>=1.0.1 in f:\test\image-interrogator\venv\lib\site-packages (from matplotlib~=3.0->gradio==4.19.2->-r requirements.txt (line 6)) (1.2.1)
Requirement already satisfied: cycler>=0.10 in f:\test\image-interrogator\venv\lib\site-packages (from matplotlib~=3.0->gradio==4.19.2->-r requirements.txt (line 6)) (0.12.1)
Requirement already satisfied: fonttools>=4.22.0 in f:\test\image-interrogator\venv\lib\site-packages (from matplotlib~=3.0->gradio==4.19.2->-r requirements.txt (line 6)) (4.51.0)
Requirement already satisfied: kiwisolver>=1.3.1 in f:\test\image-interrogator\venv\lib\site-packages (from matplotlib~=3.0->gradio==4.19.2->-r requirements.txt (line 6)) (1.4.5)
Requirement already satisfied: pyparsing>=2.3.1 in f:\test\image-interrogator\venv\lib\site-packages (from matplotlib~=3.0->gradio==4.19.2->-r requirements.txt (line 6)) (3.1.2)
Requirement already satisfied: pytz>=2020.1 in f:\test\image-interrogator\venv\lib\site-packages (from pandas->datasets==2.14.7->-r requirements.txt (line 5)) (2024.1)
Requirement already satisfied: tzdata>=2022.7 in f:\test\image-interrogator\venv\lib\site-packages (from pandas->datasets==2.14.7->-r requirements.txt (line 5)) (2024.1)
Requirement already satisfied: six>=1.5 in f:\test\image-interrogator\venv\lib\site-packages (from python-dateutil>=2.1->modelscope->-r requirements.txt (line 18)) (1.16.0)
Requirement already satisfied: charset-normalizer<3,>=2 in f:\test\image-interrogator\venv\lib\site-packages (from requests->transformers==4.37.2->-r requirements.txt (line 1)) (2.1.1)
Requirement already satisfied: networkx in f:\test\image-interrogator\venv\lib\site-packages (from torch>=1.13.0->peft==0.9.0->-r requirements.txt (line 8)) (3.2.1)
Requirement already satisfied: colorama in f:\test\image-interrogator\venv\lib\site-packages (from tqdm>=4.27->transformers==4.37.2->-r requirements.txt (line 1)) (0.4.6)
Requirement already satisfied: click>=8.0.0 in f:\test\image-interrogator\venv\lib\site-packages (from typer<1.0,>=0.9->typer[all]<1.0,>=0.9->gradio==4.19.2->-r requirements.txt (line 6)) (8.1.7)
Requirement already satisfied: shellingham>=1.3.0 in f:\test\image-interrogator\venv\lib\site-packages (from typer<1.0,>=0.9->typer[all]<1.0,>=0.9->gradio==4.19.2->-r requirements.txt (line 6)) (1.5.4)
Requirement already satisfied: rich>=10.11.0 in f:\test\image-interrogator\venv\lib\site-packages (from typer<1.0,>=0.9->typer[all]<1.0,>=0.9->gradio==4.19.2->-r requirements.txt (line 6)) (13.7.1)
WARNING: typer 0.12.3 does not provide the extra 'all'
Collecting humanfriendly>=9.1 (from coloredlogs->optimum==1.17.1->-r requirements.txt (line 20))
  Downloading humanfriendly-10.0-py2.py3-none-any.whl.metadata (9.2 kB)
Requirement already satisfied: starlette<0.38.0,>=0.37.2 in f:\test\image-interrogator\venv\lib\site-packages (from fastapi->gradio==4.19.2->-r requirements.txt (line 6)) (0.37.2)
Collecting wcwidth<0.3.0,>=0.2.12 (from ftfy->open_clip_torch->-r requirements.txt (line 17))
  Downloading wcwidth-0.2.13-py2.py3-none-any.whl.metadata (14 kB)
INFO: pip is looking at multiple versions of multiprocess to determine which version is compatible with other requirements. This could take a while.
Collecting multiprocess (from datasets==2.14.7->-r requirements.txt (line 5))
  Downloading multiprocess-0.70.15-py310-none-any.whl.metadata (7.2 kB)
Collecting crcmod>=1.7 (from oss2->modelscope->-r requirements.txt (line 18))
  Downloading crcmod-1.7.tar.gz (89 kB)
     ---------------------------------------- 89.7/89.7 kB ? eta 0:00:00
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Installing backend dependencies ... done
  Preparing metadata (pyproject.toml) ... done
Collecting pycryptodome>=3.4.7 (from oss2->modelscope->-r requirements.txt (line 18))
  Downloading pycryptodome-3.20.0-cp35-abi3-win_amd64.whl.metadata (3.4 kB)
Collecting aliyun-python-sdk-kms>=2.4.1 (from oss2->modelscope->-r requirements.txt (line 18))
  Downloading aliyun_python_sdk_kms-2.16.2-py2.py3-none-any.whl.metadata (1.5 kB)
Collecting aliyun-python-sdk-core>=2.13.12 (from oss2->modelscope->-r requirements.txt (line 18))
  Downloading aliyun-python-sdk-core-2.15.1.tar.gz (443 kB)
     ---------------------------------------- 443.1/443.1 kB 14.0 MB/s eta 0:00:00
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Installing backend dependencies ... done
  Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: mpmath>=0.19 in f:\test\image-interrogator\venv\lib\site-packages (from sympy->optimum==1.17.1->-r requirements.txt (line 20)) (1.3.0)
Collecting importlib-metadata>=6.6.0 (from yapf->modelscope->-r requirements.txt (line 18))
  Downloading importlib_metadata-7.1.0-py3-none-any.whl.metadata (4.7 kB)
Collecting platformdirs>=3.5.1 (from yapf->modelscope->-r requirements.txt (line 18))
  Downloading platformdirs-4.2.0-py3-none-any.whl.metadata (11 kB)
Collecting tomli>=2.0.1 (from yapf->modelscope->-r requirements.txt (line 18))
  Downloading tomli-2.0.1-py3-none-any.whl.metadata (8.9 kB)
Collecting jmespath<1.0.0,>=0.9.3 (from aliyun-python-sdk-core>=2.13.12->oss2->modelscope->-r requirements.txt (line 18))
  Downloading jmespath-0.10.0-py2.py3-none-any.whl.metadata (8.0 kB)
Collecting cryptography>=2.6.0 (from aliyun-python-sdk-core>=2.13.12->oss2->modelscope->-r requirements.txt (line 18))
  Downloading cryptography-42.0.5-cp39-abi3-win_amd64.whl.metadata (5.4 kB)
Requirement already satisfied: exceptiongroup>=1.0.2 in f:\test\image-interrogator\venv\lib\site-packages (from anyio<5.0,>=3.0->httpcore<0.18.0,>=0.15.0->httpx==0.24.1->-r requirements.txt (line 9)) (1.2.1)
Collecting pyreadline3 (from humanfriendly>=9.1->coloredlogs->optimum==1.17.1->-r requirements.txt (line 20))
  Downloading pyreadline3-3.4.1-py3-none-any.whl.metadata (2.0 kB)
Collecting zipp>=0.5 (from importlib-metadata>=6.6.0->yapf->modelscope->-r requirements.txt (line 18))
  Downloading zipp-3.18.1-py3-none-any.whl.metadata (3.5 kB)
Requirement already satisfied: jsonschema-specifications>=2023.03.6 in f:\test\image-interrogator\venv\lib\site-packages (from jsonschema>=3.0->altair<6.0,>=4.2.0->gradio==4.19.2->-r requirements.txt (line 6)) (2023.12.1)
Requirement already satisfied: referencing>=0.28.4 in f:\test\image-interrogator\venv\lib\site-packages (from jsonschema>=3.0->altair<6.0,>=4.2.0->gradio==4.19.2->-r requirements.txt (line 6)) (0.34.0)
Requirement already satisfied: rpds-py>=0.7.1 in f:\test\image-interrogator\venv\lib\site-packages (from jsonschema>=3.0->altair<6.0,>=4.2.0->gradio==4.19.2->-r requirements.txt (line 6)) (0.18.0)
Requirement already satisfied: markdown-it-py>=2.2.0 in f:\test\image-interrogator\venv\lib\site-packages (from rich>=10.11.0->typer<1.0,>=0.9->typer[all]<1.0,>=0.9->gradio==4.19.2->-r requirements.txt (line 6)) (3.0.0)
Requirement already satisfied: pygments<3.0.0,>=2.13.0 in f:\test\image-interrogator\venv\lib\site-packages (from rich>=10.11.0->typer<1.0,>=0.9->typer[all]<1.0,>=0.9->gradio==4.19.2->-r requirements.txt (line 6)) (2.17.2)
Collecting cffi>=1.12 (from cryptography>=2.6.0->aliyun-python-sdk-core>=2.13.12->oss2->modelscope->-r requirements.txt (line 18))
  Downloading cffi-1.16.0-cp310-cp310-win_amd64.whl.metadata (1.5 kB)
Requirement already satisfied: mdurl~=0.1 in f:\test\image-interrogator\venv\lib\site-packages (from markdown-it-py>=2.2.0->rich>=10.11.0->typer<1.0,>=0.9->typer[all]<1.0,>=0.9->gradio==4.19.2->-r requirements.txt (line 6)) (0.1.2)
Collecting pycparser (from cffi>=1.12->cryptography>=2.6.0->aliyun-python-sdk-core>=2.13.12->oss2->modelscope->-r requirements.txt (line 18))
  Downloading pycparser-2.22-py3-none-any.whl.metadata (943 bytes)
Downloading huggingface_hub-0.21.3-py3-none-any.whl (346 kB)
   ---------------------------------------- 346.2/346.2 kB ? eta 0:00:00
Downloading datasets-2.14.7-py3-none-any.whl (520 kB)
   ---------------------------------------- 520.4/520.4 kB 31.9 MB/s eta 0:00:00
Downloading tiktoken-0.6.0-cp310-cp310-win_amd64.whl (798 kB)
   ---------------------------------------- 798.7/798.7 kB 49.3 MB/s eta 0:00:00
Downloading optimum-1.17.1-py3-none-any.whl (407 kB)
   ---------------------------------------- 407.1/407.1 kB ? eta 0:00:00
Downloading easygui-0.98.3-py2.py3-none-any.whl (92 kB)
   ---------------------------------------- 92.7/92.7 kB ? eta 0:00:00
Downloading open_clip_torch-2.24.0-py3-none-any.whl (1.5 MB)
   ---------------------------------------- 1.5/1.5 MB 48.0 MB/s eta 0:00:00
Downloading modelscope-1.13.3-py3-none-any.whl (5.7 MB)
   ---------------------------------------- 5.7/5.7 MB 5.0 MB/s eta 0:00:00
Downloading dill-0.3.7-py3-none-any.whl (115 kB)
   ---------------------------------------- 115.3/115.3 kB ? eta 0:00:00
Downloading fsspec-2023.10.0-py3-none-any.whl (166 kB)
   ---------------------------------------- 166.4/166.4 kB ? eta 0:00:00
Downloading aiohttp-3.9.5-cp310-cp310-win_amd64.whl (370 kB)
   ---------------------------------------- 370.7/370.7 kB ? eta 0:00:00
Downloading gast-0.5.4-py3-none-any.whl (19 kB)
Downloading pyarrow-15.0.2-cp310-cp310-win_amd64.whl (24.8 MB)
   ---------------------------------------- 24.8/24.8 MB 38.6 MB/s eta 0:00:00
Downloading simplejson-3.19.2-cp310-cp310-win_amd64.whl (75 kB)
   ---------------------------------------- 75.5/75.5 kB ? eta 0:00:00
Downloading sortedcontainers-2.4.0-py2.py3-none-any.whl (29 kB)
Downloading addict-2.4.0-py3-none-any.whl (3.8 kB)
Downloading coloredlogs-15.0.1-py2.py3-none-any.whl (46 kB)
   ---------------------------------------- 46.0/46.0 kB ? eta 0:00:00
Downloading ftfy-6.2.0-py3-none-any.whl (54 kB)
   ---------------------------------------- 54.4/54.4 kB ? eta 0:00:00
Downloading multiprocess-0.70.15-py310-none-any.whl (134 kB)
   ---------------------------------------- 134.8/134.8 kB ? eta 0:00:00
Downloading protobuf-5.26.1-cp310-abi3-win_amd64.whl (420 kB)
   ---------------------------------------- 420.9/420.9 kB ? eta 0:00:00
Downloading pyarrow_hotfix-0.6-py3-none-any.whl (7.9 kB)
Downloading xxhash-3.4.1-cp310-cp310-win_amd64.whl (29 kB)
Downloading yapf-0.40.2-py3-none-any.whl (254 kB)
   ---------------------------------------- 254.7/254.7 kB ? eta 0:00:00
Downloading aiosignal-1.3.1-py3-none-any.whl (7.6 kB)
Downloading aliyun_python_sdk_kms-2.16.2-py2.py3-none-any.whl (94 kB)
   ---------------------------------------- 94.0/94.0 kB ? eta 0:00:00
Downloading async_timeout-4.0.3-py3-none-any.whl (5.7 kB)
Downloading frozenlist-1.4.1-cp310-cp310-win_amd64.whl (50 kB)
   ---------------------------------------- 50.4/50.4 kB ? eta 0:00:00
Downloading humanfriendly-10.0-py2.py3-none-any.whl (86 kB)
   ---------------------------------------- 86.8/86.8 kB ? eta 0:00:00
Downloading importlib_metadata-7.1.0-py3-none-any.whl (24 kB)
Downloading multidict-6.0.5-cp310-cp310-win_amd64.whl (28 kB)
Downloading platformdirs-4.2.0-py3-none-any.whl (17 kB)
Downloading pycryptodome-3.20.0-cp35-abi3-win_amd64.whl (1.8 MB)
   ---------------------------------------- 1.8/1.8 MB 37.2 MB/s eta 0:00:00
Downloading tomli-2.0.1-py3-none-any.whl (12 kB)
Downloading wcwidth-0.2.13-py2.py3-none-any.whl (34 kB)
Downloading yarl-1.9.4-cp310-cp310-win_amd64.whl (76 kB)
   ---------------------------------------- 76.4/76.4 kB ? eta 0:00:00
Downloading cryptography-42.0.5-cp39-abi3-win_amd64.whl (2.9 MB)
   ---------------------------------------- 2.9/2.9 MB 46.5 MB/s eta 0:00:00
Downloading jmespath-0.10.0-py2.py3-none-any.whl (24 kB)
Downloading zipp-3.18.1-py3-none-any.whl (8.2 kB)
Downloading pyreadline3-3.4.1-py3-none-any.whl (95 kB)
   ---------------------------------------- 95.2/95.2 kB ? eta 0:00:00
Downloading cffi-1.16.0-cp310-cp310-win_amd64.whl (181 kB)
   ---------------------------------------- 181.6/181.6 kB ? eta 0:00:00
Downloading pycparser-2.22-py3-none-any.whl (117 kB)
   ---------------------------------------- 117.6/117.6 kB ? eta 0:00:00
Building wheels for collected packages: transformers_stream_generator, oss2, aliyun-python-sdk-core, crcmod
  Building wheel for transformers_stream_generator (pyproject.toml) ... done
  Created wheel for transformers_stream_generator: filename=transformers_stream_generator-0.0.4-py3-none-any.whl size=12340 sha256=d440402140aaa758b634004ac3962ea2de85f6f0cb8dc2312628a79db3925292
  Stored in directory: C:\Users\pelol\AppData\Local\Temp\pip-ephem-wheel-cache-j_4w862x\wheels\47\1d\3c\92d88493ed40c0d9be60a391eb76c9a56e9f9b7542cb789401
  Building wheel for oss2 (pyproject.toml) ... done
  Created wheel for oss2: filename=oss2-2.18.4-py3-none-any.whl size=115998 sha256=5bc885b8ca5d968b9e649b83d8bc705ad2b9429064969baefa34f7006ea4d658
  Stored in directory: C:\Users\pelol\AppData\Local\Temp\pip-ephem-wheel-cache-j_4w862x\wheels\9e\34\68\f21dc0320c699eb02ab90f2f7965d6f60ee793f03ef5e23212
  Building wheel for aliyun-python-sdk-core (pyproject.toml) ... done
  Created wheel for aliyun-python-sdk-core: filename=aliyun_python_sdk_core-2.15.1-py3-none-any.whl size=535341 sha256=38d0379b376fb15a60bfc52155b5b71d7033a6125ab2ba99cfbc25625d65832c
  Stored in directory: C:\Users\pelol\AppData\Local\Temp\pip-ephem-wheel-cache-j_4w862x\wheels\69\4b\8e\0a28e00f4cf43b273c18cce083804738d41013e017da922ce4
  Building wheel for crcmod (pyproject.toml) ... done
  Created wheel for crcmod: filename=crcmod-1.7-cp310-cp310-win_amd64.whl size=25153 sha256=f25c18dc625d12558e32709b8b42f42cae7ccf56029f5ef32bce3a35304ad641
  Stored in directory: C:\Users\pelol\AppData\Local\Temp\pip-ephem-wheel-cache-j_4w862x\wheels\85\4c\07\72215c529bd59d67e3dac29711d7aba1b692f543c808ba9e86
Successfully built transformers_stream_generator oss2 aliyun-python-sdk-core crcmod
Installing collected packages: wcwidth, sortedcontainers, pyreadline3, easygui, crcmod, addict, zipp, xxhash, tomli, simplejson, pycryptodome, pycparser, pyarrow-hotfix, pyarrow, protobuf, platformdirs, multidict, jmespath, humanfriendly, gast, ftfy, fsspec, frozenlist, dill, async-timeout, yarl, tiktoken, multiprocess, importlib-metadata, huggingface-hub, coloredlogs, cffi, aiosignal, yapf, cryptography, aiohttp, aliyun-python-sdk-core, transformers_stream_generator, open_clip_torch, datasets, aliyun-python-sdk-kms, oss2, optimum, modelscope
  Attempting uninstall: fsspec
    Found existing installation: fsspec 2024.3.1
    Uninstalling fsspec-2024.3.1:
      Successfully uninstalled fsspec-2024.3.1
  Attempting uninstall: huggingface-hub
    Found existing installation: huggingface-hub 0.22.2
    Uninstalling huggingface-hub-0.22.2:
      Successfully uninstalled huggingface-hub-0.22.2
Successfully installed addict-2.4.0 aiohttp-3.9.5 aiosignal-1.3.1 aliyun-python-sdk-core-2.15.1 aliyun-python-sdk-kms-2.16.2 async-timeout-4.0.3 cffi-1.16.0 coloredlogs-15.0.1 crcmod-1.7 cryptography-42.0.5 datasets-2.14.7 dill-0.3.7 easygui-0.98.3 frozenlist-1.4.1 fsspec-2023.10.0 ftfy-6.2.0 gast-0.5.4 huggingface-hub-0.21.3 humanfriendly-10.0 importlib-metadata-7.1.0 jmespath-0.10.0 modelscope-1.13.3 multidict-6.0.5 multiprocess-0.70.15 open_clip_torch-2.24.0 optimum-1.17.1 oss2-2.18.4 platformdirs-4.2.0 protobuf-5.26.1 pyarrow-15.0.2 pyarrow-hotfix-0.6 pycparser-2.22 pycryptodome-3.20.0 pyreadline3-3.4.1 simplejson-3.19.2 sortedcontainers-2.4.0 tiktoken-0.6.0 tomli-2.0.1 transformers_stream_generator-0.0.4 wcwidth-0.2.13 xxhash-3.4.1 yapf-0.40.2 yarl-1.9.4 zipp-3.18.1
Found existing installation: bitsandbytes 0.43.1
Uninstalling bitsandbytes-0.43.1:
  Successfully uninstalled bitsandbytes-0.43.1
Looking in indexes: https://pypi.org/simple, https://pypi.ngc.nvidia.com
Collecting bitsandbytes==0.43.0
  Downloading bitsandbytes-0.43.0-py3-none-win_amd64.whl.metadata (1.9 kB)
Requirement already satisfied: torch in f:\test\image-interrogator\venv\lib\site-packages (from bitsandbytes==0.43.0) (2.2.0+cu118)
Requirement already satisfied: numpy in f:\test\image-interrogator\venv\lib\site-packages (from bitsandbytes==0.43.0) (1.26.3)
Requirement already satisfied: filelock in f:\test\image-interrogator\venv\lib\site-packages (from torch->bitsandbytes==0.43.0) (3.9.0)
Requirement already satisfied: typing-extensions>=4.8.0 in f:\test\image-interrogator\venv\lib\site-packages (from torch->bitsandbytes==0.43.0) (4.8.0)
Requirement already satisfied: sympy in f:\test\image-interrogator\venv\lib\site-packages (from torch->bitsandbytes==0.43.0) (1.12)
Requirement already satisfied: networkx in f:\test\image-interrogator\venv\lib\site-packages (from torch->bitsandbytes==0.43.0) (3.2.1)
Requirement already satisfied: jinja2 in f:\test\image-interrogator\venv\lib\site-packages (from torch->bitsandbytes==0.43.0) (3.1.2)
Requirement already satisfied: fsspec in f:\test\image-interrogator\venv\lib\site-packages (from torch->bitsandbytes==0.43.0) (2023.10.0)
Requirement already satisfied: MarkupSafe>=2.0 in f:\test\image-interrogator\venv\lib\site-packages (from jinja2->torch->bitsandbytes==0.43.0) (2.1.3)
Requirement already satisfied: mpmath>=0.19 in f:\test\image-interrogator\venv\lib\site-packages (from sympy->torch->bitsandbytes==0.43.0) (1.3.0)
Downloading bitsandbytes-0.43.0-py3-none-win_amd64.whl (101.6 MB)
   ---------------------------------------- 101.6/101.6 MB 36.4 MB/s eta 0:00:00
Installing collected packages: bitsandbytes
Successfully installed bitsandbytes-0.43.0
Looking in indexes: https://pypi.org/simple, https://pypi.ngc.nvidia.com
Collecting triton==2.1.0
  Downloading https://huggingface.co/elismasilva/wheels/resolve/main/triton-2.1.0-cp310-cp310-win_amd64.whl (314.1 MB)
     ---------------------------------------- 314.1/314.1 MB 36.4 MB/s eta 0:00:00
Requirement already satisfied: filelock in f:\test\image-interrogator\venv\lib\site-packages (from triton==2.1.0) (3.9.0)
Installing collected packages: triton
Successfully installed triton-2.1.0
Looking in indexes: https://download.pytorch.org/whl/cu118, https://pypi.ngc.nvidia.com
Collecting xformers==0.0.24
  Downloading https://download.pytorch.org/whl/cu118/xformers-0.0.24%2Bcu118-cp310-cp310-win_amd64.whl (102.1 MB)
     ---------------------------------------- 102.1/102.1 MB 36.4 MB/s eta 0:00:00
Requirement already satisfied: numpy in f:\test\image-interrogator\venv\lib\site-packages (from xformers==0.0.24) (1.26.3)
Requirement already satisfied: torch==2.2.0 in f:\test\image-interrogator\venv\lib\site-packages (from xformers==0.0.24) (2.2.0+cu118)
Requirement already satisfied: filelock in f:\test\image-interrogator\venv\lib\site-packages (from torch==2.2.0->xformers==0.0.24) (3.9.0)
Requirement already satisfied: typing-extensions>=4.8.0 in f:\test\image-interrogator\venv\lib\site-packages (from torch==2.2.0->xformers==0.0.24) (4.8.0)
Requirement already satisfied: sympy in f:\test\image-interrogator\venv\lib\site-packages (from torch==2.2.0->xformers==0.0.24) (1.12)
Requirement already satisfied: networkx in f:\test\image-interrogator\venv\lib\site-packages (from torch==2.2.0->xformers==0.0.24) (3.2.1)
Requirement already satisfied: jinja2 in f:\test\image-interrogator\venv\lib\site-packages (from torch==2.2.0->xformers==0.0.24) (3.1.2)
Requirement already satisfied: fsspec in f:\test\image-interrogator\venv\lib\site-packages (from torch==2.2.0->xformers==0.0.24) (2023.10.0)
Requirement already satisfied: MarkupSafe>=2.0 in f:\test\image-interrogator\venv\lib\site-packages (from jinja2->torch==2.2.0->xformers==0.0.24) (2.1.3)
Requirement already satisfied: mpmath>=0.19 in f:\test\image-interrogator\venv\lib\site-packages (from sympy->torch==2.2.0->xformers==0.0.24) (1.3.0)
Installing collected packages: xformers
Successfully installed xformers-0.0.24+cu118
Looking in indexes: https://pypi.org/simple, https://pypi.ngc.nvidia.com, https://huggingface.github.io/autogptq-index/whl/cu118/
Collecting auto-gptq==0.7.1
  Downloading https://huggingface.github.io/autogptq-index/whl/cu118/auto-gptq/auto_gptq-0.7.1%2Bcu118-cp310-cp310-win_amd64.whl (4.7 MB)
     ---------------------------------------- 4.7/4.7 MB 37.1 MB/s eta 0:00:00
Requirement already satisfied: accelerate>=0.26.0 in f:\test\image-interrogator\venv\lib\site-packages (from auto-gptq==0.7.1) (0.27.2)
Requirement already satisfied: datasets in f:\test\image-interrogator\venv\lib\site-packages (from auto-gptq==0.7.1) (2.14.7)
Requirement already satisfied: sentencepiece in f:\test\image-interrogator\venv\lib\site-packages (from auto-gptq==0.7.1) (0.2.0)
Requirement already satisfied: numpy in f:\test\image-interrogator\venv\lib\site-packages (from auto-gptq==0.7.1) (1.26.3)
Collecting rouge (from auto-gptq==0.7.1)
  Downloading rouge-1.0.1-py3-none-any.whl.metadata (4.1 kB)
Collecting gekko (from auto-gptq==0.7.1)
  Downloading gekko-1.1.1-py3-none-any.whl.metadata (3.0 kB)
Requirement already satisfied: torch>=1.13.0 in f:\test\image-interrogator\venv\lib\site-packages (from auto-gptq==0.7.1) (2.2.0+cu118)
Requirement already satisfied: safetensors in f:\test\image-interrogator\venv\lib\site-packages (from auto-gptq==0.7.1) (0.4.3)
Requirement already satisfied: transformers>=4.31.0 in f:\test\image-interrogator\venv\lib\site-packages (from auto-gptq==0.7.1) (4.37.2)
Requirement already satisfied: peft>=0.5.0 in f:\test\image-interrogator\venv\lib\site-packages (from auto-gptq==0.7.1) (0.9.0)
Requirement already satisfied: tqdm in f:\test\image-interrogator\venv\lib\site-packages (from auto-gptq==0.7.1) (4.66.2)
Requirement already satisfied: packaging>=20.0 in f:\test\image-interrogator\venv\lib\site-packages (from accelerate>=0.26.0->auto-gptq==0.7.1) (24.0)
Requirement already satisfied: psutil in f:\test\image-interrogator\venv\lib\site-packages (from accelerate>=0.26.0->auto-gptq==0.7.1) (5.9.8)
Requirement already satisfied: pyyaml in f:\test\image-interrogator\venv\lib\site-packages (from accelerate>=0.26.0->auto-gptq==0.7.1) (6.0.1)
Requirement already satisfied: huggingface-hub in f:\test\image-interrogator\venv\lib\site-packages (from accelerate>=0.26.0->auto-gptq==0.7.1) (0.21.3)
Requirement already satisfied: filelock in f:\test\image-interrogator\venv\lib\site-packages (from torch>=1.13.0->auto-gptq==0.7.1) (3.9.0)
Requirement already satisfied: typing-extensions>=4.8.0 in f:\test\image-interrogator\venv\lib\site-packages (from torch>=1.13.0->auto-gptq==0.7.1) (4.8.0)
Requirement already satisfied: sympy in f:\test\image-interrogator\venv\lib\site-packages (from torch>=1.13.0->auto-gptq==0.7.1) (1.12)
Requirement already satisfied: networkx in f:\test\image-interrogator\venv\lib\site-packages (from torch>=1.13.0->auto-gptq==0.7.1) (3.2.1)
Requirement already satisfied: jinja2 in f:\test\image-interrogator\venv\lib\site-packages (from torch>=1.13.0->auto-gptq==0.7.1) (3.1.2)
Requirement already satisfied: fsspec in f:\test\image-interrogator\venv\lib\site-packages (from torch>=1.13.0->auto-gptq==0.7.1) (2023.10.0)
Requirement already satisfied: regex!=2019.12.17 in f:\test\image-interrogator\venv\lib\site-packages (from transformers>=4.31.0->auto-gptq==0.7.1) (2024.4.16)
Requirement already satisfied: requests in f:\test\image-interrogator\venv\lib\site-packages (from transformers>=4.31.0->auto-gptq==0.7.1) (2.28.1)
Requirement already satisfied: tokenizers<0.19,>=0.14 in f:\test\image-interrogator\venv\lib\site-packages (from transformers>=4.31.0->auto-gptq==0.7.1) (0.15.0)
Requirement already satisfied: colorama in f:\test\image-interrogator\venv\lib\site-packages (from tqdm->auto-gptq==0.7.1) (0.4.6)
Requirement already satisfied: pyarrow>=8.0.0 in f:\test\image-interrogator\venv\lib\site-packages (from datasets->auto-gptq==0.7.1) (15.0.2)
Requirement already satisfied: pyarrow-hotfix in f:\test\image-interrogator\venv\lib\site-packages (from datasets->auto-gptq==0.7.1) (0.6)
Requirement already satisfied: dill<0.3.8,>=0.3.0 in f:\test\image-interrogator\venv\lib\site-packages (from datasets->auto-gptq==0.7.1) (0.3.7)
Requirement already satisfied: pandas in f:\test\image-interrogator\venv\lib\site-packages (from datasets->auto-gptq==0.7.1) (2.2.2)
Requirement already satisfied: xxhash in f:\test\image-interrogator\venv\lib\site-packages (from datasets->auto-gptq==0.7.1) (3.4.1)
Requirement already satisfied: multiprocess in f:\test\image-interrogator\venv\lib\site-packages (from datasets->auto-gptq==0.7.1) (0.70.15)
Requirement already satisfied: aiohttp in f:\test\image-interrogator\venv\lib\site-packages (from datasets->auto-gptq==0.7.1) (3.9.5)
Requirement already satisfied: six in f:\test\image-interrogator\venv\lib\site-packages (from rouge->auto-gptq==0.7.1) (1.16.0)
Requirement already satisfied: aiosignal>=1.1.2 in f:\test\image-interrogator\venv\lib\site-packages (from aiohttp->datasets->auto-gptq==0.7.1) (1.3.1)
Requirement already satisfied: attrs>=17.3.0 in f:\test\image-interrogator\venv\lib\site-packages (from aiohttp->datasets->auto-gptq==0.7.1) (23.2.0)
Requirement already satisfied: frozenlist>=1.1.1 in f:\test\image-interrogator\venv\lib\site-packages (from aiohttp->datasets->auto-gptq==0.7.1) (1.4.1)
Requirement already satisfied: multidict<7.0,>=4.5 in f:\test\image-interrogator\venv\lib\site-packages (from aiohttp->datasets->auto-gptq==0.7.1) (6.0.5)
Requirement already satisfied: yarl<2.0,>=1.0 in f:\test\image-interrogator\venv\lib\site-packages (from aiohttp->datasets->auto-gptq==0.7.1) (1.9.4)
Requirement already satisfied: async-timeout<5.0,>=4.0 in f:\test\image-interrogator\venv\lib\site-packages (from aiohttp->datasets->auto-gptq==0.7.1) (4.0.3)
Requirement already satisfied: charset-normalizer<3,>=2 in f:\test\image-interrogator\venv\lib\site-packages (from requests->transformers>=4.31.0->auto-gptq==0.7.1) (2.1.1)
Requirement already satisfied: idna<4,>=2.5 in f:\test\image-interrogator\venv\lib\site-packages (from requests->transformers>=4.31.0->auto-gptq==0.7.1) (3.4)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in f:\test\image-interrogator\venv\lib\site-packages (from requests->transformers>=4.31.0->auto-gptq==0.7.1) (1.26.13)
Requirement already satisfied: certifi>=2017.4.17 in f:\test\image-interrogator\venv\lib\site-packages (from requests->transformers>=4.31.0->auto-gptq==0.7.1) (2022.12.7)
Requirement already satisfied: MarkupSafe>=2.0 in f:\test\image-interrogator\venv\lib\site-packages (from jinja2->torch>=1.13.0->auto-gptq==0.7.1) (2.1.3)
Requirement already satisfied: python-dateutil>=2.8.2 in f:\test\image-interrogator\venv\lib\site-packages (from pandas->datasets->auto-gptq==0.7.1) (2.9.0.post0)
Requirement already satisfied: pytz>=2020.1 in f:\test\image-interrogator\venv\lib\site-packages (from pandas->datasets->auto-gptq==0.7.1) (2024.1)
Requirement already satisfied: tzdata>=2022.7 in f:\test\image-interrogator\venv\lib\site-packages (from pandas->datasets->auto-gptq==0.7.1) (2024.1)
Requirement already satisfied: mpmath>=0.19 in f:\test\image-interrogator\venv\lib\site-packages (from sympy->torch>=1.13.0->auto-gptq==0.7.1) (1.3.0)
Downloading gekko-1.1.1-py3-none-any.whl (13.2 MB)
   ---------------------------------------- 13.2/13.2 MB 40.9 MB/s eta 0:00:00
Downloading rouge-1.0.1-py3-none-any.whl (13 kB)
Installing collected packages: rouge, gekko, auto-gptq
Successfully installed auto-gptq-0.7.1+cu118 gekko-1.1.1 rouge-1.0.1
Patching PIL...
        1 arquivo(s) copiado(s).
Patching Gradio...
        1 arquivo(s) copiado(s).

All done!. Launch 'start.bat'.
Pressione qualquer tecla para continuar. . .
elismasilva commented 6 months ago

and captioning working too:

(venv) F:\test\image-interrogator>start.bat
Activating python venv
Running on local URL:  http://127.0.0.1:7860

To create a public link, set `share=True` in `launch()`.
Running with this settings...
----------------------------------------------------------------------------------------------------
Precision Type: FP16
Load Mode: 4bit
Device: auto
Optimize for Low VRAM: False
Include image features in the prompt: False
Don't save dataset images: False
Generate individual caption file: True
Generate caption in the original path: False
Generate dataset: False
Dataset Name: Default
Caption Model: blip-large
Max outputs tokens: 2048
Temperature: 0.2
Top p: 0.7
----------------------------------------------------------------------------------------------------
Loading caption model blip-large...
config.json: 100%|████████████████████████████████████████████████████████████████████████| 4.60k/4.60k [00:00<?, ?B/s]
model.safetensors: 100%|██████████████████████████████████████████████████████████| 1.88G/1.88G [01:05<00:00, 28.9MB/s]
Some weights of BlipForConditionalGeneration were not initialized from the model checkpoint at Salesforce/blip-image-captioning-large and are newly initialized: ['text_decoder.cls.predictions.decoder.bias']
You should probably TRAIN this model on a down-stream task to be able to use it for predictions and inference.
preprocessor_config.json: 100%|████████████████████████████████████████████████████████| 445/445 [00:00<00:00, 440kB/s]
tokenizer_config.json: 100%|██████████████████████████████████████████████████████████████████| 527/527 [00:00<?, ?B/s]
vocab.txt: 100%|████████████████████████████████████████████████████████████████████| 232k/232k [00:00<00:00, 2.01MB/s]
tokenizer.json: 100%|███████████████████████████████████████████████████████████████| 711k/711k [00:00<00:00, 2.09MB/s]
special_tokens_map.json: 100%|████████████████████████████████████████████████████████████████| 125/125 [00:00<?, ?B/s]
Generating caption for images... Batch: 1 | Total Images: 1
Caption for image C:\Users\pelol\AppData\Local\Temp\gradio\eda262c182a8f3ef7df931d22243b5a138824c6c\band.png processed.
Saving file...: F:\test\image-interrogator\outputs\images\2024-04-19\Default\band.png
Generating individual file caption...: F:\test\image-interrogator\outputs\images\2024-04-19\Default\band.txt
Saving dataset metadata...
Image process completed!
Running with this settings...
----------------------------------------------------------------------------------------------------
Precision Type: FP16
Load Mode: 4bit
Device: auto
Optimize for Low VRAM: False
Include image features in the prompt: True
Don't save dataset images: False
Generate individual caption file: True
Generate caption in the original path: False
Generate dataset: False
Dataset Name: Default
Caption Model: blip-large
Max outputs tokens: 2048
Temperature: 0.2
Top p: 0.7
CLIP Model: ViT-L-14/openai
Feature Mode: classic
----------------------------------------------------------------------------------------------------
Loading CLIP model ViT-L-14/openai...
ViT-L-14_openai_artists.safetensors: 100%|████████████████████████████████████████| 16.2M/16.2M [00:01<00:00, 10.1MB/s]
ViT-L-14_openai_flavors.safetensors: 100%|██████████████████████████████████████████| 155M/155M [00:07<00:00, 19.6MB/s]
ViT-L-14_openai_mediums.safetensors: 100%|███████████████████████████████████████████| 146k/146k [00:00<00:00, 536kB/s]
ViT-L-14_openai_movements.safetensors: 100%|█████████████████████████████████████████| 307k/307k [00:00<00:00, 803kB/s]
ViT-L-14_openai_trendings.safetensors: 100%|█████████████████████████████████████████| 111k/111k [00:00<00:00, 507kB/s]
Preprocessing trendings: 100%|███████████████████████████████████████████████████████████| 1/1 [00:00<00:00,  4.96it/s]
ViT-L-14_openai_negative.safetensors: 100%|████████████████████████████████████████| 63.2k/63.2k [00:00<00:00, 487kB/s]
Loaded CLIP model and data in 20.41 seconds.
Generating caption for images... Batch: 1 | Total Images: 1
100%|███████████████████████████████████████████████████████████████████████████████████| 6/6 [00:00<00:00, 113.21it/s]
100%|█████████████████████████████████████████████████████████████████████████████████| 50/50 [00:00<00:00, 264.55it/s]
Caption for image C:\Users\pelol\AppData\Local\Temp\gradio\eda262c182a8f3ef7df931d22243b5a138824c6c\band.png processed.
Saving file...: F:\test\image-interrogator\outputs\images\2024-04-19\Default\band.png
Generating individual file caption...: F:\test\image-interrogator\outputs\images\2024-04-19\Default\band.txt
Saving dataset metadata...
Image process completed!
MNeMoNiCuZ commented 2 months ago

Sorry for the extremely long delay in reply here! This was indeed solved. I just did a new setup and it works brilliantly :)

The problem was indeed that I used my own venv-creation script to set up the environment, instead of the one provided, so the setup script was only half-successful. So used to not having fancy setup tools like this :D