mirror of
https://github.com/iperov/DeepFaceLab.git
synced 2025-08-14 02:37:00 -07:00
Converter: added Apply super resolution? (y/n skip:n) : , Enhance details by applying DCSCN network.
refactorings
This commit is contained in:
parent
4683c362ac
commit
85c01e3b4a
12 changed files with 271 additions and 77 deletions
|
@ -19,7 +19,11 @@ class Converter(object):
|
|||
pass
|
||||
|
||||
#overridable
|
||||
def convert_face (self, img_bgr, img_face_landmarks, debug):
|
||||
def on_host_(self):
|
||||
pass
|
||||
|
||||
#overridable
|
||||
def cli_convert_face (self, img_bgr, img_face_landmarks, debug):
|
||||
#return float32 image
|
||||
#if debug , return tuple ( images of any size and channels, ...)
|
||||
return image
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue