run_cli.py just freezes? import open_clip freezes?
chrisbward opened this issue · comments
python3.8 -m venv ./.venv
source ./.venv/bin/activate
pip install -r requirements.txt
python ./run_cli.py
I've noticed a couple of things;
clip_interrogator.py, CACHE_URL_BASE is wrong, and should now be;
CACHE_URL_BASE = 'https://huggingface.co/pharmapsychotic/ci-preprocess/resolve/main/'
If I remove the line;
from clip_interrogator import Interrogator, Config, list_clip_models
I am now able to proceed to the help message when no arguments are supplied.
I've now tried importing open_clip in the REPL, and it hangs?
Python 3.8.10 (default, May 26 2023, 14:05:08)
[GCC 9.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import open_clip
^C
Oh thanks for mentioning the HF url change! I fixed my name there and it move my stuff around hehe
that's weird about open_clip freezing things up. maybe it's related to using older version of Python? fwiw I've been using Python 3.9 and 3.10