mirror of
https://github.com/iperov/DeepFaceLab.git
synced 2025-07-06 04:52:13 -07:00
removed support of extracted(aligned) PNG faces. Use old builds to convert from PNG to JPG. fanseg model file in facelib/ is renamed
17 lines
No EOL
378 B
Python
17 lines
No EOL
378 B
Python
from core.leras import nn
|
|
|
|
class ArchiBase():
|
|
|
|
def __init__(self, *args, name=None, **kwargs):
|
|
self.name=name
|
|
|
|
|
|
#overridable
|
|
def flow(self, *args, **kwargs):
|
|
raise Exception("this archi does not support flow. Use model classes directly.")
|
|
|
|
#overridable
|
|
def get_weights(self):
|
|
pass
|
|
|
|
nn.ArchiBase = ArchiBase |