1
0
Fork 0
mirror of https://github.com/deepfakes/faceswap synced 2025-06-07 19:05:02 -04:00
Commit graph

14 commits

Author SHA1 Message Date
Gareth Dunstone
29eec42594 Added serializers.
This speeds up convert speed x4 on my machine.
2018-02-09 02:44:31 +11:00
Clorr
5815baa920
Changes I forgot to push :-/ (#136) 2018-02-07 13:54:24 +01:00
Clorr
b3ae6130ed
Misc updates on master before GAN. Added multithreading + mmod face detector (#109)
* Preparing GAN plugin

* Adding multithreading for extract

* Adding support for mmod human face detector

* Adding face filter argument

* Added process number argument to multiprocessing extractor.

Fixed progressbar for multiprocessing.

* Added tiff as image type.
compression artefacts hurt my feelings.

* Cleanup
2018-02-07 13:42:19 +01:00
Gareth Dunstone
c3e15089fe
Merge branch 'master' into master 2018-02-01 19:26:23 +11:00
Clorr
34945cfcd7
Adding models as plugins + Face filtering (#53) + #39 + #43 + #44 + #49 (#61)
* Making Models as plugins

* Do not reload model on each image #39 + Adding FaceFilter #53

* Adding @lukaville PR for #43 and #44 (possibly)

* Training done in a separate thread

* Better log for plugin load

* Adding a prefetch to train.py #49
(Note that we prefetch 2 batches of images, due to the queue behavior)
+ More compact logging with verbose info included

* correction of DirectoryProcessor signature

* adding missing import

* Convert with parallel preprocessing of files

* Added coverage var for trainer

Added a var with comment. Feel free to add it as argument

* corrections

* Modifying preview and normalization of image + correction

* Cleanup
2018-01-31 18:56:44 +01:00
Gareth Dunstone
d17d7bd2dd Added progress bar re https://github.com/deepfakes/faceswap/issues/80
Fixed uppercase extensions re
https://github.com/deepfakes/faceswap/issues/75
2018-01-31 11:33:14 +11:00
Clorr
3e2976ab03 Adding plugins 2018-01-03 10:33:39 +01:00
Édouard WILLISSECK
0dcf192716 Improvement of the train action usability. (#37)
* Improvement of the train action usability.

* Prints the current iteration number in verbose mode.
* The number of iterations before saving the data can be changed by a command line optin.

* Added option to write training result to file even when in preview.

* Prints time elapsed for each iteration in verbose mode when training.
2017-12-28 20:55:39 +01:00
Édouard WILLISSECK
59d234ae5e Unified CLI (#22)
* Created a single script to call the other ones.

Usage is ./faceswap.py {train|extract|convert}

* Improved the help from the commands.

* Added forgotten faceswap.py file.

* Changed gitignore to add the scripts.

* Updates gitignore.

* Added guarding not to execute code when imported.

* Removed useless script. Display help when no arguments are provided.

* Update README
2017-12-25 02:17:02 +01:00
Hidde Jansen
66d59c3c5c Fix training command line arguments.
I'm severely drunk and I accidentally pushed to master. Sorry!
2017-12-23 00:22:35 +01:00
Hidde Jansen
c956cdf42f Add command line options for train.py 2017-12-23 00:16:27 +01:00
deepfakes_tmp
99942142ab Cleanup
- improved .gitignore
 - python2 compatibility
 - removing aligner
2017-12-22 11:06:24 +01:00
Hidde Jansen
3ba44f7551
Add optional model path to convert.py (#14) 2017-12-22 02:07:04 +01:00
Hidde Jansen
7f7f110933
Command line options for convert.py (#13)
* Rewrite extract.py, make code re-usable for conversion too.

* Add convert.py, adding command line options
2017-12-22 01:52:47 +01:00