Browse Source

Remove libraries from pip install

This fixes issue on Colab with conflicting numpy versions and exception importing transformers
pull/34/head
pharmapsychotic 2 years ago
parent
commit
180cbc4f7b
  1. 2
      clip_interrogator.ipynb

2
clip_interrogator.ipynb

@ -53,7 +53,7 @@
"\n", "\n",
"def setup():\n", "def setup():\n",
" install_cmds = [\n", " install_cmds = [\n",
" ['pip', 'install', 'ftfy', 'gradio', 'regex', 'tqdm', 'transformers==4.21.2', 'timm', 'fairscale', 'requests'],\n", " ['pip', 'install', 'gradio'],\n",
" ['pip', 'install', 'open_clip_torch'],\n", " ['pip', 'install', 'open_clip_torch'],\n",
" ['pip', 'install', '-e', 'git+https://github.com/pharmapsychotic/BLIP.git@lib#egg=blip'],\n", " ['pip', 'install', '-e', 'git+https://github.com/pharmapsychotic/BLIP.git@lib#egg=blip'],\n",
" ['git', 'clone', 'https://github.com/pharmapsychotic/clip-interrogator.git']\n", " ['git', 'clone', 'https://github.com/pharmapsychotic/clip-interrogator.git']\n",

Loading…
Cancel
Save