Comments (8)
I simply paste this line in windows cmd after I install the extension, and it works for me:
pip install clip-interrogator==0.4.4
(I don't know what I'm doing but hope it helps :) )
from clip-interrogator.
Could you give this a try? https://github.com/pharmapsychotic/clip-interrogator-ext It's installing and working for me but didn't work for a friend who tried it. If you get any errors in the terminal can you paste them here?
from clip-interrogator.
Could you give this a try? https://github.com/pharmapsychotic/clip-interrogator-ext It's installing and working for me but didn't work for a friend who tried it. If you get any errors in the terminal can you paste them here?
Thanks for this repo.
Unfortunately there is indeed an error coming up:
`Running on local URL: http://127.0.0.1:7860
To create a public link, set share=True
in launch()
.
Closing server running on port: 7860
Restarting UI...
Error loading script: clip_interrogator_ext.py
Traceback (most recent call last):
File "I:\Super SD 2.0\stable-diffusion-webui\modules\scripts.py", line 229, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "I:\Super SD 2.0\stable-diffusion-webui\modules\script_loading.py", line 11, in load_module
module_spec.loader.exec_module(module)
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "I:\Super SD 2.0\stable-diffusion-webui\extensions\clip-interrogator-ext\scripts\clip_interrogator_ext.py", line 3, in
import clip_interrogator
ModuleNotFoundError: No module named 'clip_interrogator'`
Thanks for your effort!
from clip-interrogator.
Any chance to get this working in Automatic1111 WebUI ... please ?
from clip-interrogator.
UnicodeDecodeError: 'gbk' codec can't decode byte 0xa4 in position 1326: illegal multibyte sequence
from clip-interrogator.
I'm getting an error as well, running on a M1 Macbook, can anyone help?
thanks:
Loading weights [cc6cb27103] from /Users/machado/stable-diffusion-webui/models/Stable-diffusion/v1-5-pruned-emaonly.ckpt
Applying cross attention optimization (InvokeAI).
Weights loaded in 4.2s (load weights from disk: 1.8s, apply weights to model: 1.5s, move model to device: 0.9s).
Loading CLIP Interrogator 0.5.4...
Loading BLIP model...
load checkpoint from https://storage.googleapis.com/sfr-vision-language-research/BLIP/models/model_large_caption.pth
Loading CLIP model...
Loaded CLIP model and data in 4.45 seconds.
2023-03-16 08:14:00.107 Python[5788:25819958] Error getting visible function:
(null) Function floorOp_i64 was not found in the library
/AppleInternal/Library/BuildRoots/5b8a32f9-5db2-11ed-8aeb-7ef33c48bc85/Library/Caches/com.apple.xbs/Sources/MetalPerformanceShaders/MPSCore/Utility/MPSKernelDAG.mm:803: failed assertion `Error getting visible function:
(null) Function floorOp_i64 was not found in the library'
zsh: abort ./webui.sh
machado@Felipes-MBP stable-diffusion-webui % /opt/homebrew/Cellar/[email protected]/3.10.8/Frameworks/Python.framework/Versions/3.10/lib/python3.10/multiprocessing/resource_tracker.py:224: UserWarning: resource_tracker: There appear to be 1 leaked semaphore objects to clean up at shutdown
warnings.warn('resource_tracker: There appear to be %d '
machado@Felipes-MBP stable-diffusion-webui % x
from clip-interrogator.
I installed from url with https://github.com/pharmapsychotic/clip-interrogator-ext, and ran the "pip install clip-interrogator==0.4.4" command
The UI initially was unresponsive and didn't do anything. I changed through the tabs a few times, ended up hitting reload on my browser and tried again. Second time through it started to download a bunch of files. So maybe it just needed time to start up or something.
Loading CLIP Interrogator 0.5.4...
load checkpoint from D:\stable-diffusion\stable-diffusion-webui\models\BLIP\model_base_caption_capfilt_large.pth
Loading CLIP model...
ViT-L-14_openai_artists.safetensors: 100%|████████████████████████████████████████| 16.2M/16.2M [00:00<00:00, 51.1MB/s]
ViT-L-14_openai_flavors.safetensors: 100%|██████████████████████████████████████████| 155M/155M [00:02<00:00, 54.8MB/s]
ViT-L-14_openai_mediums.safetensors: 100%|██████████████████████████████████████████| 146k/146k [00:00<00:00, 6.95MB/s]
ViT-L-14_openai_movements.safetensors: 100%|████████████████████████████████████████| 307k/307k [00:00<00:00, 9.91MB/s]
ViT-L-14_openai_trendings.safetensors: 100%|████████████████████████████████████████| 111k/111k [00:00<00:00, 5.83MB/s]
ViT-L-14_openai_negative.safetensors: 100%|███████████████████████████████████████| 63.2k/63.2k [00:00<00:00, 5.26MB/s]
Loaded CLIP model and data in 12.94 seconds.
100%|███████████████████████████████████████████████████████████████████████████████| 110/110 [00:00<00:00, 211.35it/s]
Flavor chain: 31%|█████████████████████▎ | 10/32 [00:09<00:21, 1.04it/s]
100%|███████████████████████████████████████████████████████████████████████████████| 110/110 [00:00<00:00, 256.18it/s]
100%|█████████████████████████████████████████████████████████████████████████████████| 11/11 [00:00<00:00, 186.27it/s]
100%|█████████████████████████████████████████████████████████████████████████████████| 99/99 [00:00<00:00, 223.28it/s]
But it's working with just the two commands executed.
from clip-interrogator.
I ran it on a photo of myself and...
a close up of a person wearing a suit and tie, with nerdy! glasses! and goatee, steven jung, professional headshot, in 2 0 1 8, young cute wan asian face, nick silva, without mustache, tally hall, smiling like a jerk, official government photo, age 3 0, precisionism
damn, robot threw me some shade.
from clip-interrogator.
Related Issues (20)
- Only keeping flavors.txt and removing other data files HOT 1
- Clip Interrogator EXT issue - incorrect prompt
- Interrogator 1: RuntimeError: The size of tensor a (3) must match the size of tensor b (9) at non-singleton dimension 0
- How to speed up? Which torch version is suggested HOT 3
- How to set lowvram mode on via settings?
- two errors
- Prompt generation issiue
- timing interrogation
- Is there any way to only return caption without tag
- Error occurred when executing ClipInterrogator: Remote end closed connection without response HOT 1
- How to set interrogation mode when used in another script?
- cannot find python: which version HOT 1
- Are there any expansion plans for comfyui? HOT 6
- run_cli.py just freezes? import open_clip freezes? HOT 1
- Exception <class 'RuntimeError'> HOT 4
- Does clip-interrogator have built-in queue processing? HOT 1
- Downloads BLIP Checkpoint every time HOT 2
- What does "Ranking against your own list of terms?" mean?
- SD crashed after install CLIP, how to fix it or remove it?
- Loading flavors.txt is very slow HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from clip-interrogator.