Comments (10)
Merged #13 and #14 which takes care of the conversion script.
from faceswap.
Also if you have ideas for a better folder structure, feel free to suggest!
from faceswap.
I would propose to keep the different "actions" or steps in their current files (train.py
, convert.py
, extract.py
) and then allow for model data directory names to be used as input/output arguments. Example:
train.py --data-dirs="./data/trump;/data/cage" --model-dir="./models/trump-cage/"
from faceswap.
seems fine to me
from faceswap.
extract.py
now has basic command line options for specifying paths and verbose output. I'm going to be looking at convert.py
next.
from faceswap.
Updated train.py
and accidentally pushed results to upstream. I'm very drunk, so if someone could verify if the scripts are still working, please do so.
Now that all these scripts are using the same basic classes, we can probably consolidate them to a single file so they can be called from a single entrypoint. (like how git
has several subcommands, faceswap.py could have extract
, train
and convert
commands) That's my next objective, which I will be looking to tackle tomorrow. (after the hangover passes)
from faceswap.
I pushed also accidentally yesterday and I was not even drunk...
No problem, have a look tomorrow. Me I'll be on the way back to my family...
from faceswap.
If we could manage to create a program with different commands it would be way easier to use indeed.
Something like faceswap extract
, faceswap train
and faceswap convert
from faceswap.
Thank you, @Yutsa for implementing this functionality.
from faceswap.
This issue should probably be closed and split up into more specific issues since we have some basic command line usage now.
from faceswap.
Related Issues (20)
- Potential Issue in CI Workflow Affecting Code Coverage Accuracy HOT 1
- Error when open GUI after install HOT 1
- Bounding boxes coordinates HOT 1
- DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead HOT 1
- DeprecationWarning: pkg_resources is deprecated as an API. HOT 1
- There are model on project? HOT 2
- あ
- GUI crash when running on Apple Silicon macbook HOT 5
- Is my PC good for face swapping? HOT 1
- [Question] How isolated is the installer HOT 2
- Images found: 439 Faces detected: 0 HOT 1
- TypeError: unsupported operand type(s) for |: 'type' and 'type' HOT 8
- install error HOT 1
- Offline Installer? HOT 1
- windows installer: wrong pillow version installed HOT 2
- -LF option doesn't get carried to the internal tools HOT 1
- L
- inpaint error HOT 1
- just installed new graphic card and it stopped working HOT 1
- exception after few hours of training with villain 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 faceswap.