Comments (9)
Oh wait now it worked even with GPU, the error was that i had set to add custom tag to caption but the custom caption was empty, i set it to dont add. My bad it works perfectly. I think you should make another post on the reddit saying that it can caption with Blip2 in the title, im sure many people are looking for an UI for those models. Great work!
from taggui.
Hi, thanks for letting me know. I removed a few DLLs that seemed to be unnecessary in order to reduce the bundle size (GitHub has a 2 GB file size limit for releases), but it seems that they weren't safe to remove after all. I'll upload a new version with all the DLLs included as fast as possible and let you know.
from taggui.
I released a new version that will hopefully fix the issue: https://github.com/jhc13/taggui/releases/tag/v1.2.1
Could you check if it works now?
from taggui.
Yes now it install perfectly, but when i try to caption with Blip2 its says this, any idea?:
File "torch\nn\modules\module.py", line 797, in _apply
module._apply(fn)
File "torch\nn\modules\module.py", line 797, in _apply
module._apply(fn)
File "torch\nn\modules\module.py", line 797, in _apply
module._apply(fn)
[Previous line repeated 4 more times]
File "torch\nn\modules\module.py", line 820, in _apply
param_applied = fn(param)
^
File "torch\nn\modules\module.py", line 1143, in convert
return t.to(device, dtype if t.is_floating_point() or t.is_complex() else None, non_blocking)
^
NotImplementedError
:
Cannot copy out of meta tensor; no data!
from taggui.
Does it work if you select CPU? What device are you using?
from taggui.
Sorry i dont know how run it on cpu, if you can tell me i will try. Im using an rtx 2060. By the way i coped incompleted the error code. This is the full one:
Loading BLIP-2 model...
Loading checkpoint shards: 0%| | 0/2 [00:00<?, ?it/s]
Loading checkpoint shards: 50%|##### | 1/2 [00:23<00:23, 23.45s/it]
Loading checkpoint shards: 100%|##########| 2/2 [00:29<00:00, 13.07s/it]
Loading checkpoint shards: 100%|##########| 2/2 [00:29<00:00, 14.63s/it]
Traceback (most recent call last):
File "widgets\blip_2_captioner.py", line 315, in run
File "transformers\modeling_utils.py", line 1900, in to
return super().to(*args, **kwargs)
^
File "torch\nn\modules\module.py", line 1145, in to
return self._apply(convert)
^
File "torch\nn\modules\module.py", line 797, in _apply
module._apply(fn)
File "torch\nn\modules\module.py", line 797, in _apply
module._apply(fn)
File "torch\nn\modules\module.py", line 797, in _apply
module._apply(fn)
[Previous line repeated 4 more times]
File "torch\nn\modules\module.py", line 820, in _apply
param_applied = fn(param)
NotImplementedError
:
Cannot copy out of meta tensor; no data!
from taggui.
from taggui.
Okay i did it but i got a different error:
The current device_map
had weights offloaded to the disk. Please provide an offload_folder
for them. Alternatively, make sure you have safetensors
installed if the model you are using offers the weights in this format.
from taggui.
By the way there is sort of an error of the iterface because i cant see those options unless i clicked on the floating tab mode because it was cut out of the screen and it cant scroll down
from taggui.
Related Issues (20)
- Im getting this issue when usign autocaption Error while downloading from https://cdn-lfs-us-1.huggingface.co/repos/32/e4 HOT 6
- Please pass the argument `trust_remote_code=True` to allow custom code to be run. HOT 3
- Feature Request: Allow us to set default model folder for all models in the settings menu. HOT 1
- Bug: Images do not use EXIF rotation directive HOT 2
- JPEG XL support HOT 1
- Model Request: Support for the new CogAgent visual language models HOT 3
- Model Request: Addition of new Lava-1.6 models HOT 10
- How can I restore default preferences? HOT 2
- Model Request: Moondream HOT 1
- Feature Request: Ban tokens/words HOT 3
- What are NPZ files? HOT 7
- Support for .webp images HOT 2
- Feature request/bug: Autocaption crashes on illegal file types. HOT 1
- PySide6-6.6.2 error on start (python 3.11.8 on windows) HOT 3
- [Model Request] ShareGPT4V HOT 1
- [Model Request] InternLM-XComposer2-VL HOT 5
- [Model Request] Qwen-VL-Max HOT 2
- [Model Request] Qwen-VL HOT 11
- [Feature Request] Dark Mode HOT 4
- [Model Request] MoE-LLaVA-Phi2-2.7B-4e
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 taggui.