mirror of
https://github.com/iperov/DeepFaceLab.git
synced 2024-12-25 23:41:12 -08:00
61472cdaf7
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
378 B
Python
17 lines
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 |