From d886cd79a8ad49cb3736c62e654541782753dec0 Mon Sep 17 00:00:00 2001 From: Colombo Date: Mon, 15 Jul 2019 15:27:51 +0400 Subject: [PATCH 1/2] upd readme --- README.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/README.md b/README.md index a5971b7..5d4402f 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -![](doc/DFL_welcome.jpg) +![](doc/DFL_welcome.jpg) ![](doc/logo_cuda.jpg)![](doc/logo_opencl.jpg)![](doc/logo_keras.jpg)![](doc/logo_tensorflow.jpg)![](doc/logo_plaidml.jpg) @@ -14,8 +14,6 @@ GOAL: next DeepFacelab update. [Donate via Paypal](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=lepersorium@gmail.com&lc=US&no_note=0&item_name=Support+DeepFaceLab&cn=&curency_code=USD&bn=PP-DonationsBF:btn_donateCC_LG.gif:NonHosted) -[Donate via Alipay](https://i.loli.net/2019/01/13/5c3ae3829809f.jpg) - bitcoin:31mPd6DxPCzbpCMZk4k1koWAbErSyqkAXr - ### [Gallery](doc/gallery/doc_gallery.md) From 582c9748515db9f8d2903deeb175f469bd207a31 Mon Sep 17 00:00:00 2001 From: fakerdaker <52134018+Fakerdaker@users.noreply.github.com> Date: Thu, 25 Jul 2019 03:29:31 -0400 Subject: [PATCH 2/2] Colab choose random preview (#316) --- models/ModelBase.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/models/ModelBase.py b/models/ModelBase.py index 0ff3154..b823a74 100644 --- a/models/ModelBase.py +++ b/models/ModelBase.py @@ -102,6 +102,8 @@ class ModelBase(object): if (self.iter == 0 or ask_override) and self.options['write_preview_history'] and io.is_support_windows(): choose_preview_history = io.input_bool("Choose image for the preview history? (y/n skip:%s) : " % (yn_str[False]) , False) + elif (self.iter == 0 or ask_override) and self.options['write_preview_history'] and io.is_colab(): + choose_preview_history = io.input_bool("Randomly choose new image for preview history? (y/n ?:help skip:%s) : " % (yn_str[False]), False, help_message="Preview image history will stay stuck with old faces if you reuse the same model on different celebs. Choose no unless you are changing src/dst to a new person") else: choose_preview_history = False