mirror of
https://github.com/iperov/DeepFaceLab.git
synced 2025-07-06 21:12:07 -07:00
fix
This commit is contained in:
parent
6169e6ba8a
commit
97008291b8
1 changed files with 2 additions and 2 deletions
|
@ -124,7 +124,7 @@ class SAEModel(ModelBase):
|
|||
target_dst_ar = [ Input ( ( bgr_shape[0] // (2**i) ,)*2 + (bgr_shape[-1],) ) for i in range(ms_count-1, -1, -1)]
|
||||
target_dstm_ar = [ Input ( ( mask_shape[0] // (2**i) ,)*2 + (mask_shape[-1],) ) for i in range(ms_count-1, -1, -1)]
|
||||
|
||||
use_bn = True
|
||||
use_bn = False
|
||||
|
||||
models_list = []
|
||||
weights_to_load = []
|
||||
|
@ -791,4 +791,4 @@ Model = SAEModel
|
|||
# b = x[:,1]
|
||||
# idxs = (x[:,0][ np.argwhere ( b [ b > (np.mean(b)+np.std(b)) ] )[:,0] ]).astype(np.uint)
|
||||
# generators_list[1].repeat_sample_idxs(idxs) #ask generator to repeat these sample idxs
|
||||
# print ("dst repeated %d" % (len(idxs)) )
|
||||
# print ("dst repeated %d" % (len(idxs)) )
|
Loading…
Add table
Add a link
Reference in a new issue