Comments (1)
To reduce the impact of Internet speed on pipeline performance, you can prefetch the image and provide a blob url to the pipeline:
let blob = await fetch(url).then(x=>x.blob())
let bloburl = URL.createObjectURL(blob)
await pipe(bloburl)
from transformers.js.
Related Issues (20)
- Add support for Gemma 2 templating HOT 2
- Error while using the library in nextjs (app based route) HOT 1
- Musicgen progress updates no longer work? HOT 1
- How to load version 3 from CDN? HOT 2
- convert.py has errors when i use yolov9 HOT 13
- How do I free up memory after transliteration HOT 1
- Model downloads or running on server? HOT 1
- Add Bitnet tokenizer HOT 2
- My extension was rejected from the Chrome Web Store for "including remotely hosted code in a Manifest V3 item" HOT 2
- Is translation via opus-mt-mul-en not supported? HOT 5
- Trying to run the Modnet example with nodejs on macOS result in Unknown model class "modnet", attempting to construct from base class. Model type for 'modnet' not found, assuming encoder-only architecture. HOT 1
- nllb-200-distilled-600M prunes itself to death? HOT 1
- Adding support for LivePortrait model onnx
- V3 audio transcription: aud.subarray is not a function HOT 8
- range error: array buffer allocation failed <- how to catch this error?
- transformers@latest: Unsupported model IR version: 9, max supported IR version: 8
- Support nomic-ai/nomic-embed-vision-v1.5 HOT 1
- AutoModel.from_pretrained - Which model is loaded HOT 1
- The scripts/convert.py script fails for a few reasons
- RAGatouille/Colbert support
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 transformers.js.