Comments (1)
I have never encountered such an issue before. As described in 'Error named symbol not found at line ...', The possible reason for this issue may be the incompatible version of bitsandbytes. Here are some suggestions about how to fix this issue:
- update your bitsandbytes library. I use bitsandbytes0.37.2
!pip install --upgrade bitsandbytes
or!pip install bitsandbytes==0.37.2
- If 1. does not work, maybe you should try to load BLIP2 without int8 quantization algorithm.
captioning_model = Blip2ForConditionalGeneration.from_pretrained("Salesforce/blip2-opt-2.7b", torch_dtype=torch.float16)
Feel free to contact me if any other questions.
from caption-anything.
Related Issues (20)
- Related work HOT 2
- 添加了 "--gradio_share" 后运行demo报错 HOT 2
- 请问能输入一张图片,然后直接输出图片中的内容和相关性吗(也就是不要点击),我想用来给图片生成描述方便搜索 HOT 6
- Torch 1.10.1 not available HOT 2
- Trajectory Support HOT 2
- Hugging Face demo is wrong
- Suggestion - Integrate MobileSAM into the pipeline for lightweight and faster inference
- Segmentation fault (core dumped) HOT 2
- Hugging Face demo is wrong
- Hugging Face demo is wrong
- successfully implemented it without gpt version
- My server can't network to call ChatGPT.
- 进去后怎么点击按钮没有反应呢 HOT 1
- 支持中文对话吗?
- [strange] Dense captions are all filtered out HOT 1
- Can detailed image description text be generated?
- How many tokens would one query use?
- Out of memory with 16G menory + 12G video memory HOT 1
- About interaction HOT 5
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 caption-anything.