Comments (8)
try this:
pip uninstall torch torchvision
pip install torch==1.7.0+cpu torchvision==0.8.1+cpu -f https://download.pytorch.org/whl/torch_stable.html
from rembg.
I got an error for installing rembg
ERROR: Could not find a version that satisfies the requirement torchvision==0.8.1 (from rembg) (from versions: 0.1.6, 0.1.7, 0.1.8, 0.1.9, 0.2.0, 0.2.1, 0.2.2, 0.2.2.post2, 0.2.2.post3, 0.5.0)
ERROR: No matching distribution found for torchvision==0.8.1 (from rembg)
Even I am having the same issue, seems like the torchvision library has not been updated/remove from pypi.
from rembg.
Same issue
from rembg.
Same issue here
from rembg.
I tried in ubuntu 20.04 and Mac OS. It successfully installed. No error Detected.
It shows error in only windows OS.
from rembg.
same issue
from rembg.
same issue, on macOS
from rembg.
pip install torch==1.7.0+cu110 torchvision==0.8.1+cu110 torchaudio===0.7.0 -f https://download.pytorch.org/whl/torch_stable.html
Torch and Torchvision versions need to be paired.
Try this. (you can delete torchaudio option.)
from rembg.
Related Issues (20)
- Why downloading humgan_seg also downloads same u2net default HOT 2
- [BUG] jsonschema.exceptions.ValidationError: '{}' is not of type 'array' HOT 4
- [BUG] rembg[cli] not availible on mac HOT 1
- [BUG] ...improper removal of background HOT 4
- Unable to Set Output Image Format via extras param HOT 3
- [FEATURE] ... HOT 2
- [BUG] If there is a hole in the main object of the photo and the background is visible inside it (like a ring), rembg cannot remove the bg of that part HOT 2
- [FEATURE] allow to add border HOT 2
- [FEATURE] Add --gpu 0 --gpu 1 HOT 4
- [BUG] env["CUDA_VISIBLE_DEVICES"] = "0" doesn't work HOT 2
- How do I uninstall Onnx Runtime and Rembg?
- [BUG] onnx runtime errors HOT 2
- [BUG] custom model on windows HOT 1
- [BUG] When using the API, it sometimes gets stuck and the request never completes. The terminal shows an error message when this happens. HOT 2
- [BUG] Missing dependencies from pypi HOT 2
- [BUG] This module is not using GPU at all. HOT 11
- [BUG] Sam model sessions do not respect providers argument HOT 1
- [BUG] Could not use model in custom dir on Win10 with cli command HOT 2
- [FEATURE] Use downloaded model on Cloud Function HOT 4
- Minimal dependencies? 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 rembg.