mirror of
https://github.com/iperov/DeepFaceLab.git
synced 2025-07-06 04:52:13 -07:00
XSeg: added pretrain option.
This commit is contained in:
parent
83b1412da7
commit
55b947eab5
3 changed files with 111 additions and 46 deletions
|
@ -81,8 +81,8 @@ class XSegNet(object):
|
|||
def get_resolution(self):
|
||||
return self.resolution
|
||||
|
||||
def flow(self, x):
|
||||
return self.model(x)
|
||||
def flow(self, x, pretrain=False):
|
||||
return self.model(x, pretrain=pretrain)
|
||||
|
||||
def get_weights(self):
|
||||
return self.model_weights
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue