rename dump_dflive to export_dfm
This commit is contained in:
1 parent
9d6b6feb1f
commit
63c794b3d0
4 files changed
+12
-12
No files matched your search
@@ -638,10 +638,10 @@ class AMPModel(ModelBase):
|
||||
self.update_sample_for_preview(force_new=True)
|
||||
|
||||
|
||||
def dump_dflive (self):
|
||||
output_path=self.get_strpath_storage_for_file('model.dflive')
|
||||
def export_dfm (self):
|
||||
output_path=self.get_strpath_storage_for_file('model.dfm')
|
||||
|
||||
io.log_info(f'Dumping .dflive to {output_path}')
|
||||
io.log_info(f'Dumping .dfm to {output_path}')
|
||||
|
||||
tf = nn.tf
|
||||
with tf.device (nn.tf_default_device_name):
|
||||
|
||||
@@ -659,10 +659,10 @@ Examples: df, liae, df-d, df-ud, liae-ud, ...
|
||||
if self.pretrain_just_disabled:
|
||||
self.update_sample_for_preview(force_new=True)
|
||||
|
||||
def dump_dflive (self):
|
||||
output_path=self.get_strpath_storage_for_file('model.dflive')
|
||||
def export_dfm (self):
|
||||
output_path=self.get_strpath_storage_for_file('model.dfm')
|
||||
|
||||
io.log_info(f'Dumping .dflive to {output_path}')
|
||||
io.log_info(f'Dumping .dfm to {output_path}')
|
||||
|
||||
tf = nn.tf
|
||||
nn.set_data_format('NCHW')
|
||||
|
||||
Reference in new issue
Block a user