Comments (4)
- The StyleGAN needs customized CUDA(with GPU) extensions. So the original model requires GPU. I have updated a new version which does not require such CUDA extensions. So the GFPGAN can be run with CPU/ or run on windows. See the updates in : https://github.com/TencentARC/GFPGAN
- I have merged the PR. Thanks. :-)
from facexlib.
Hmm, I made the change in utils/face_restoration_helper.py > FaceRestoreHelper > __init__
, and was planning on opening a pr, but it seems that the basicsr
library needs CUDA drivers too. Still, it's only a one line change and those who want to use facexlib
without GPU might benefit from it, so I'll open a pr
from facexlib.
- The current GFPGAN requires GPU, so it may not available for CPU inference. We may add a CPU-support model later.
- I think BasicSR can support CPU only. (if we do not use those cuda extensions.)
- Thanks, it is better to add an option for supporting CPU
from facexlib.
- Yes please - that'd be great. Is it the StyleGAN part which needs the GPU?
- I'm getting a: "OSError: CUDA_HOME environment variable is not set. Please set it to your CUDA install root." through
basicsr\ops\dcn\deform_conv.py", line 14
inside theif BASICSR_JIT == 'True':
flag - PR opened (it's not a flag, just a device check): #6
from facexlib.
Related Issues (20)
- TypeError: '>' not supported between instances of 'NoneType' and 'int'
- increase area to paste.
- can facexlib it support mac m1 architecture
- wrong kernel in guassian blur ? HOT 2
- Feature Request: offload memory usage on storage
- Possible bug in filtering small / angled faces HOT 7
- Cannot install on Python version 3.11.2; only versions >=3.7,<3.11 are supported. HOT 2
- face_resotration_helper.py read_image() cv2 method clobbers 16 bit to 8 bit.
- 4k HD realistic
- bounding_boxes < 0 HOT 1
- Hi! profile faces!! HOT 3
- Error: can't convert cuda:0 device type HOT 1
- Can this handle animal or cartoon animal faces? HOT 1
- Low Quality Faces (blurry) after detecting and cv2.warpalign faces using Facexlib HOT 2
- parsing model half inference not work
- FaceRestoreHelper seems not thread-safe HOT 3
- A general question
- Non existing links in README.md
- onnx
- recognition/__init__.py from 'cuda' to device parameter
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 facexlib.