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
16 lines
312 B
Python
16 lines
312 B
Python
from core.leras import nn
|
|
tf = nn.tf
|
|
|
|
class LayerBase(nn.Saveable):
|
|
#override
|
|
def build_weights(self):
|
|
pass
|
|
|
|
#override
|
|
def forward(self, *args, **kwargs):
|
|
pass
|
|
|
|
def __call__(self, *args, **kwargs):
|
|
return self.forward(*args, **kwargs)
|
|
|
|
nn.LayerBase = LayerBase |