Comments (14)
Very exciting, I'll be taking a look tomorrow. I'm bouncing between two workstations; don't have the processing power to do anything substantial other than some basic refactoring right now. Very promising though!
from faceswap-model.
I gave a try at https://github.com/ageitgey/face_recognition
I thought it was mostly a repackaging of dlib, but it actually solves the 2 issues I raised on faceswap-playground!
@Ganonmaster can you give it a try and see if it is better for you. I pushed it in my own repo https://github.com/Clorr/faceswap
(It is also pushed with a Dockerfile rework and reqs should be cleaned before PR-ing it...)
from faceswap-model.
Ow sh*t, it's been pushed to the upstream repo.... I'll check how I did that, and revert
(It seems I haved messed things with Github Desktop, but I don't understand why a sync with my account pushes things to the upstream repo...)
from faceswap-model.
Yeah I had a look at the code and was thinking it wouldn't change much, but actually, it did very well. When installing, it fetches its own models, and that's maybe where the magic comes from ;-)
from faceswap-model.
Also I realize my commit from yesterday with an aligner is also in the upstream...
I was not satisfied with it, have you seen a difference ? Do you want me to remove it, or is it ok for you ?
from faceswap-model.
I've not seen an improvement for the aligner so far, it seem to not have had much impact.
However, I just ran the extract script on the Trump folder with the face_recognition
lib, and the results seem to be so much better. Scanning the Trump dataset yielded roughly 120 faces out of 376 images, whereas the new lib managed to grab 310. Results for my Charlize Theron and Clinton pictures are similar. Going to try and test it with a trained model asap. 😃
from faceswap-model.
Not sure if it's the aligner's fault, the test data, or the new face recognition, but some of these converted photos seem to be the proper size, while on others it seems to be enlarging the resulting faces.
from faceswap-model.
Yes it's an aligner issue I also encountered, I'll revert that...
But it's a great news for the recognition !
from faceswap-model.
Btw if you want to mute the aligner, it is in lib/faces_process.py . The old superpose is there as a fallback
from faceswap-model.
Hi guys!
I had a review of the code, things go well I see ;-)
@Clorr I disabled the Aligner, but the rest seems fine
@Ganonmaster I did a little modification on cli.py to preserve Python2 compatibility.
If you have ideas to move on to a full Python3 setup, it would be pretty cool.
About folder structure, it is a bit messy for now, once we args parsing on all entrypoints, we should decide about a more standard/usable folder structure, and also, we will have to update the docs...
Keep up the good work guys ! It's moving on pretty well!
from faceswap-model.
I'm doing pretty much all my testing on Python3 and would suggest making that the standard for this project going forward. "New" projects like this should strive to not depend on legacy software, as it only delays the inevitable and makes transitioning more painful. That does not mean it can't be Python2 compatible, but I would strongly recommend developing for Python3 first and Python2 as a nice to have.
from faceswap-model.
I totally agree we should move on to python3.
The problem is the Dockerfile has been built with python2, and if user try the project with it, it will fail, so it's a bit sad.
But, all in all, it is just a matter of migrating the Dockerfile...
from faceswap-model.
On deepfakes subreddit there are lots of different versions of the scripts like this one for instance.
Is it better than what we have now ? Should we try to integrate it ?
from faceswap-model.
This is more a face alignment patch than a face detection one. But yes it would be nice to have it integrated. However the face alignment part relies on pytorch which is an annoying dependency (heavy and not available on windows).
So the seamless clone face merge part can be integrated if it is more performant than what we have. The face alignment part could be interesting but not as the official algorithm. So it can pushed in a branch if you want. Or even better, we could replace the face landmarks detection by something we already have in ‘face-recognition‘ module
from faceswap-model.
Related Issues (20)
- [Paper] Fast Face-swap Using Convolutional Neural Networks HOT 3
- [Google Research Blog] Mobile Real-time Video Segmentation
- GitHub repos for 3D Face Model
- Resources on faces/poses generative network HOT 1
- Resources for image refinment HOT 2
- Learning rate, beta1, beta 2 in adam optimizer in models HOT 11
- neural enchance to improve resolution HOT 1
- Survey of Model Improvements Proposals HOT 1
- [Featured] Deepfakes uses in the wild HOT 2
- [Paper] Generative Adversarial Talking Head: Bringing Portraits to Life with a Weakly Supervised Neural Network HOT 5
- Paper & source: progressive growing of gans HOT 4
- Why do two autoencoders need to be trained? HOT 2
- Histogramm loss func.
- How do I reuse models in other faceswaps? HOT 4
- Does anyone successfully train a generic encoder?
- Paper : Boundary-Aware Face Alignment Algorithm
- How does the loss minimize if autoencoder_B keeps changing the weights learned by autoencoder_A ? HOT 2
- NVIDIA GAN for higly detailed output
- Why do we use warped images as part of the loss function?
- can anyone tell me what is a masked model ? HOT 1
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 faceswap-model.