Created
February 13, 2020 06:18
-
-
Save odigity/acdb7cad5fb04d199bf9490e256ecbd0 to your computer and use it in GitHub Desktop.
Faceswap GUI
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
┌─ Data ─────────────────────────────────────────────────────────────────────┐ | |
│ Input Dir [ ] │ | |
│ Output Dir [ ] │ | |
│ Alignments [ ] │ | |
│ Reference Video [ ] │ | |
│ Model Dir [ ] │ | |
└────────────────────────────────────────────────────────────────────────────┘ | |
┌─ Plugins ──────────────────────────────────────────────────────────────────┐ | |
│ ┌─ Color Adjustment ─────────────────────────────────────────────────────┐ │ | |
│ │ < > None <*> Avg-Color < > Color-Transfer │ │ | |
│ │ < > Manual-Balance < > Match-Hist < > Seamless-Clone │ │ | |
│ └────────────────────────────────────────────────────────────────────────┘ │ | |
│ ┌─ Mask Type ────────────────────────────────────────────────────────────┐ │ | |
│ │ < > None < > Components <*> Extended │ │ | |
│ │ < > Unet-Dfl < > Vgg-Clear < > Vgg-Obstructed │ │ | |
│ │ < > Predicted │ │ | |
│ └────────────────────────────────────────────────────────────────────────┘ │ | |
│ ┌─ Scaling ──────────────────────────────────────────────────────────────┐ │ | |
│ │ <*> None < > Sharpen │ │ | |
│ └────────────────────────────────────────────────────────────────────────┘ │ | |
│ ┌─ Writer ───────────────────────────────────────────────────────────────┐ │ | |
│ │ < > Ffmpeg < > Gif <*> Opencv │ │ | |
│ │ < > Pillow │ │ | |
│ └────────────────────────────────────────────────────────────────────────┘ │ | |
└────────────────────────────────────────────────────────────────────────────┘ | |
┌─ Frame Processing ─────────────────────────────────────────────────────────┐ | |
│ Output Scale [ | ][ 100] │ 25.. 400 | |
│ Frame Ranges [ ] │ | |
│ [ ] Keep Unchanged │ | |
└────────────────────────────────────────────────────────────────────────────┘ | |
┌─ Face Processing ──────────────────────────────────────────────────────────┐ | |
│ Input Aligned Dir [ ] │ | |
│ Nfilter [ ] │ | |
│ Filter [ ] │ | |
│ Ref Threshold [ | ][ 0.4] │ 0.01..0.99 | |
└────────────────────────────────────────────────────────────────────────────┘ | |
┌─ Settings ─────────────────────────────────────────────────────────────────┐ | |
│ Jobs [| ][ 0] │ 0.. 40 | |
│ Gpus [| ][ 1] │ 1.. 10 | |
│ Trainer [ ][v] │ | |
│ [ ] Allow Growth [ ] On The Fly [ ] Swap Model │ | |
│ [ ] Singleprocess │ | |
└────────────────────────────────────────────────────────────────────────────┘ | |
┌─ Global Options ───────────────────────────────────────────────────────────┐ | |
│ Configfile [ ] │ | |
│ Loglevel [INFO ][v] │ | |
│ Logfile [ ] │ | |
└────────────────────────────────────────────────────────────────────────────┘ | |
[ Generate ] [ Convert ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
┌─ Data ─────────────────────────────────────────────────────────────────────┐ | |
│ Input Dir [ ] │ | |
│ Output Dir [ ] │ | |
│ Alignments [ ] │ | |
└────────────────────────────────────────────────────────────────────────────┘ | |
┌─ Plugins ──────────────────────────────────────────────────────────────────┐ | |
│ ┌─ Detector ─────────────────────────────────────────────────────────────┐ │ | |
│ │ < > Cv2-Dnn < > Mtcnn <*> S3Fd │ │ | |
│ └────────────────────────────────────────────────────────────────────────┘ │ | |
│ ┌─ Aligner ──────────────────────────────────────────────────────────────┐ │ | |
│ │ < > Cv2-Dnn <*> Fan │ │ | |
│ └────────────────────────────────────────────────────────────────────────┘ │ | |
│ ┌─ Masker ───────────────────────────────────────────────────────────────┐ │ | |
│ │ < > None < > Components <*> Extended │ │ | |
│ │ < > Unet-Dfl < > Vgg-Clear < > Vgg-Obstructed │ │ | |
│ └────────────────────────────────────────────────────────────────────────┘ │ | |
│ ┌─ Normalization ────────────────────────────────────────────────────────┐ │ | |
│ │ <*> None < > Clahe < > Hist │ │ | |
│ │ < > Mean │ │ | |
│ └────────────────────────────────────────────────────────────────────────┘ │ | |
│ Rotate Images [ ] │ | |
└────────────────────────────────────────────────────────────────────────────┘ | |
┌─ Face Processing ──────────────────────────────────────────────────────────┐ | |
│ Min Size [| ][ 0] │ 0..1080 | |
│ Nfilter [ ] │ | |
│ Filter [ ] │ | |
│ Ref Threshold [ | ][ 0.4] │ 0.01..0.99 | |
└────────────────────────────────────────────────────────────────────────────┘ | |
┌─ Output ───────────────────────────────────────────────────────────────────┐ | |
│ Extract Every N [| ][ 1] │ 1.. 100 | |
│ Size [ | ][ 256] │ 128.. 512 | |
│ Save Interval [| ][ 0] │ 0..1000 | |
│ [ ] Debug Landmarks │ | |
└────────────────────────────────────────────────────────────────────────────┘ | |
┌─ Settings ─────────────────────────────────────────────────────────────────┐ | |
│ [ ] Singleprocess [ ] Skip Existing [ ] Skip Existing Faces │ | |
└────────────────────────────────────────────────────────────────────────────┘ | |
┌─ Global Options ───────────────────────────────────────────────────────────┐ | |
│ Configfile [ ] │ | |
│ Loglevel [INFO ][v] │ | |
│ Logfile [ ] │ | |
└────────────────────────────────────────────────────────────────────────────┘ | |
[ Generate ] [ Extract ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
┌─ Job ──────────────────────────────────────────────────────────────────────┐ | |
│ < > Dfl < > Draw < > Extract │ | |
│ < > Fix < > Manual < > Merge │ | |
│ < > Missing-Alignments < > Missing-Frames < > Leftover-Faces │ | |
│ < > Multi-Faces < > No-Faces < > Remove-Faces │ | |
│ < > Remove-Frames < > Rename < > Sort │ | |
│ < > Spatial < > Update-Hashes │ | |
└────────────────────────────────────────────────────────────────────────────┘ | |
┌─ Data ─────────────────────────────────────────────────────────────────────┐ | |
│ Alignments Files [ ] │ | |
│ Faces Folder [ ] │ | |
│ Frames Folder [ ] │ | |
└────────────────────────────────────────────────────────────────────────────┘ | |
┌─ Processing ───────────────────────────────────────────────────────────────┐ | |
│ ┌─ Output ───────────────────────────────────────────────────────────────┐ │ | |
│ │ <*> Console < > File < > Move │ │ | |
│ └────────────────────────────────────────────────────────────────────────┘ │ | |
└────────────────────────────────────────────────────────────────────────────┘ | |
┌─ Extract ──────────────────────────────────────────────────────────────────┐ | |
│ Extract Every N [| ][ 1] │ 1..100 | |
│ Size [ | ][ 256] │ 128..512 | |
│ [ ] Align Eyes [ ] Large │ | |
└────────────────────────────────────────────────────────────────────────────┘ | |
┌─ Manual Tool ──────────────────────────────────────────────────────────────┐ | |
│ [ ] Disable Monitor │ | |
└────────────────────────────────────────────────────────────────────────────┘ | |
┌─ Global Options ───────────────────────────────────────────────────────────┐ | |
│ Configfile [ ] │ | |
│ Loglevel [INFO ][v] │ | |
│ Logfile [ ] │ | |
└────────────────────────────────────────────────────────────────────────────┘ | |
[ Generate ] [ Alignments ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
┌─ Action ───────────────────────────────────────────────────────────────────┐ | |
│ <*> Extract < > Gen-Vid < > Get-Fps │ | |
│ < > Get-Info < > Mux-Audio < > Rescale │ | |
│ < > Rotate < > Slice │ | |
└────────────────────────────────────────────────────────────────────────────┘ | |
┌─ Data ─────────────────────────────────────────────────────────────────────┐ | |
│ Input [ ] │ | |
│ Output [ ] │ | |
│ Reference Video [ ] │ | |
└────────────────────────────────────────────────────────────────────────────┘ | |
┌─ Output ───────────────────────────────────────────────────────────────────┐ | |
│ Fps [-1.0 ] │ | |
│ ┌─ Extract Filetype ─────────────────────────────────────────────────────┐ │ | |
│ │ < > .Bmp < > .Jpeg < > .Jpg │ │ | |
│ │ <*> .Png < > .Tif < > .Tiff │ │ | |
│ └────────────────────────────────────────────────────────────────────────┘ │ | |
│ Scale [1920x1080 ] │ | |
│ [ ] Mux Audio │ | |
└────────────────────────────────────────────────────────────────────────────┘ | |
┌─ Clip ─────────────────────────────────────────────────────────────────────┐ | |
│ Start [00:00:00 ] │ | |
│ End [00:00:00 ] │ | |
│ Duration [00:00:00 ] │ | |
└────────────────────────────────────────────────────────────────────────────┘ | |
┌─ Rotate ───────────────────────────────────────────────────────────────────┐ | |
│ Transpose [ ][v] │ | |
│ Degrees [ ] │ | |
└────────────────────────────────────────────────────────────────────────────┘ | |
┌─ Settings ─────────────────────────────────────────────────────────────────┐ | |
│ [ ] Quiet [ ] Verbose │ | |
└────────────────────────────────────────────────────────────────────────────┘ | |
┌─ Global Options ───────────────────────────────────────────────────────────┐ | |
│ Configfile [ ] │ | |
│ Loglevel [INFO ][v] │ | |
│ Logfile [ ] │ | |
└────────────────────────────────────────────────────────────────────────────┘ | |
[ Generate ] [ Effmpeg ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
┌─ Data ─────────────────────────────────────────────────────────────────────┐ | |
│ Alignments [ ] │ | |
│ Input [ ] │ | |
│ ┌─ Input Type ───────────────────────────────────────────────────────────┐ │ | |
│ │ < > Faces <*> Frames │ │ | |
│ └────────────────────────────────────────────────────────────────────────┘ │ | |
└────────────────────────────────────────────────────────────────────────────┘ | |
┌─ Process ──────────────────────────────────────────────────────────────────┐ | |
│ ┌─ Masker ───────────────────────────────────────────────────────────────┐ │ | |
│ │ < > Components <*> Extended < > Unet-Dfl │ │ | |
│ │ < > Vgg-Clear < > Vgg-Obstructed │ │ | |
│ └────────────────────────────────────────────────────────────────────────┘ │ | |
│ ┌─ Processing ───────────────────────────────────────────────────────────┐ │ | |
│ │ < > All <*> Missing < > Output │ │ | |
│ └────────────────────────────────────────────────────────────────────────┘ │ | |
└────────────────────────────────────────────────────────────────────────────┘ | |
┌─ Output ───────────────────────────────────────────────────────────────────┐ | |
│ Output Folder [ ] │ | |
│ Blur Kernel [ | ][ 3] │ 0.. 9 | |
│ Threshold [ | ][ 4] │ 0..50 | |
│ ┌─ Output Type ──────────────────────────────────────────────────────────┐ │ | |
│ │ <*> Combined < > Masked < > Mask │ │ | |
│ └────────────────────────────────────────────────────────────────────────┘ │ | |
│ [ ] Full Frame │ | |
└────────────────────────────────────────────────────────────────────────────┘ | |
┌─ Global Options ───────────────────────────────────────────────────────────┐ | |
│ Configfile [ ] │ | |
│ Loglevel [INFO ][v] │ | |
│ Logfile [ ] │ | |
└────────────────────────────────────────────────────────────────────────────┘ | |
[ Generate ] [ Mask ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
┌─ Data ─────────────────────────────────────────────────────────────────────┐ | |
│ Input Dir [ ] │ | |
│ Alignments [ ] │ | |
│ Model Dir [ ] │ | |
└────────────────────────────────────────────────────────────────────────────┘ | |
[ ] Swap Model [ ] Allow Growth | |
┌─ Global Options ───────────────────────────────────────────────────────────┐ | |
│ Configfile [ ] │ | |
│ Loglevel [INFO ][v] │ | |
│ Logfile [ ] │ | |
└────────────────────────────────────────────────────────────────────────────┘ | |
[ Generate ] [ Preview ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Model Dir [ ] | |
┌─ Global Options ───────────────────────────────────────────────────────────┐ | |
│ Configfile [ ] │ | |
│ Loglevel [INFO ][v] │ | |
│ Logfile [ ] │ | |
└────────────────────────────────────────────────────────────────────────────┘ | |
[ Generate ] [ Restore ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
┌─ Data ─────────────────────────────────────────────────────────────────────┐ | |
│ Input [ ] │ | |
│ Output [ ] │ | |
└────────────────────────────────────────────────────────────────────────────┘ | |
┌─ Sort Settings ────────────────────────────────────────────────────────────┐ | |
│ ┌─ Sort By ──────────────────────────────────────────────────────────────┐ │ | |
│ │ < > Blur <*> Face < > Face-Cnn │ │ | |
│ │ < > Face-Cnn-Dissim < > Face-Yaw < > Hist │ │ | |
│ │ < > Hist-Dissim < > Color-Gray < > Color-Luma │ │ | |
│ │ < > Color-Green < > Color-Orange │ │ | |
│ └────────────────────────────────────────────────────────────────────────┘ │ | |
│ Ref Threshold [| ][ -1.0] │ -1.0..10.0 | |
└────────────────────────────────────────────────────────────────────────────┘ | |
┌─ Output ───────────────────────────────────────────────────────────────────┐ | |
│ ┌─ Final Process ────────────────────────────────────────────────────────┐ │ | |
│ │ < > Folders <*> Rename │ │ | |
│ └────────────────────────────────────────────────────────────────────────┘ │ | |
│ ┌─ Group By ─────────────────────────────────────────────────────────────┐ │ | |
│ │ < > Blur < > Face-Cnn < > Face-Yaw │ │ | |
│ │ <*> Hist │ │ | |
│ └────────────────────────────────────────────────────────────────────────┘ │ | |
│ Bins [ | ][ 5] │ 1.. 100 | |
│ [ ] Keep │ | |
└────────────────────────────────────────────────────────────────────────────┘ | |
┌─ Settings ─────────────────────────────────────────────────────────────────┐ | |
│ ┌─ Backend ──────────────────────────────────────────────────────────────┐ │ | |
│ │ < > Cpu <*> Gpu │ │ | |
│ └────────────────────────────────────────────────────────────────────────┘ │ | |
│ Log File [sort_log.json ] │ | |
│ [ ] Log Changes │ | |
└────────────────────────────────────────────────────────────────────────────┘ | |
┌─ Global Options ───────────────────────────────────────────────────────────┐ | |
│ Configfile [ ] │ | |
│ Loglevel [INFO ][v] │ | |
│ Logfile [ ] │ | |
└────────────────────────────────────────────────────────────────────────────┘ | |
[ Generate ] [ Sort ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
┌─ Faces ────────────────────────────────────────────────────────────────────┐ | |
│ Input A [ ] │ | |
│ Alignments A [ ] │ | |
│ Input B [ ] │ | |
│ Alignments B [ ] │ | |
└────────────────────────────────────────────────────────────────────────────┘ | |
┌─ Model ────────────────────────────────────────────────────────────────────┐ | |
│ Model Dir [ ] │ | |
│ ┌─ Trainer ──────────────────────────────────────────────────────────────┐ │ | |
│ │ < > Dfaker < > Dfl-H128 < > Dfl-Sae │ │ | |
│ │ < > Dlight < > Iae < > Lightweight │ │ | |
│ │ <*> Original < > Realface < > Unbalanced │ │ | |
│ │ < > Villain │ │ | |
│ └────────────────────────────────────────────────────────────────────────┘ │ | |
│ [ ] Allow Growth │ | |
└────────────────────────────────────────────────────────────────────────────┘ | |
┌─ Training ─────────────────────────────────────────────────────────────────┐ | |
│ Batch Size [ | ][ 64] │ 2.. 256 | |
│ Iterations [ | ][1000000] │ 0..5000000 | |
│ Gpus [| ][ 1] │ 1.. 10 | |
│ [ ] No Logs [ ] Warp to Landmarks [ ] No Flip │ | |
│ [ ] No Augment Color │ | |
└────────────────────────────────────────────────────────────────────────────┘ | |
┌─ Vram Savings ─────────────────────────────────────────────────────────────┐ | |
│ [ ] Memory Saving Gradients [ ] Optimizer Savings [ ] Ping Pong │ | |
└────────────────────────────────────────────────────────────────────────────┘ | |
┌─ Saving ───────────────────────────────────────────────────────────────────┐ | |
│ Save Interval [ | ][ 100] │ 10.. 1000 | |
│ Sanpshot Interval [ | ][ 25000] │ 0.. 100000 | |
└────────────────────────────────────────────────────────────────────────────┘ | |
┌─ Timelapse ────────────────────────────────────────────────────────────────┐ | |
│ Timelapse Input [ ] │ | |
│ Timelapse Input [ ] │ | |
│ Timelapse Output [ ] │ | |
└────────────────────────────────────────────────────────────────────────────┘ | |
┌─ Preview ──────────────────────────────────────────────────────────────────┐ | |
│ Preview Scale [ | ][ 50] │ 25.. 200 | |
│ [ ] Preview [ ] Write Image │ | |
└────────────────────────────────────────────────────────────────────────────┘ | |
┌─ Global Options ───────────────────────────────────────────────────────────┐ | |
│ Configfile [ ] │ | |
│ Loglevel [INFO ][v] │ | |
│ Logfile [ ] │ | |
└────────────────────────────────────────────────────────────────────────────┘ | |
[ Generate ] [ Train ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment