forked from mindspore-Ecosystem/mindspore
Change the attribute to children, becuase the attribute has beed changed in dataset
This commit is contained in:
parent
be635d6100
commit
d3ada15673
|
@ -677,7 +677,7 @@ class SummaryCollector(Callback):
|
||||||
return output_dataset.dataset_dir
|
return output_dataset.dataset_dir
|
||||||
if isinstance(output_dataset, dataset_files_set):
|
if isinstance(output_dataset, dataset_files_set):
|
||||||
return output_dataset.dataset_files[0]
|
return output_dataset.dataset_files[0]
|
||||||
return self._get_dataset_path(output_dataset.input[0])
|
return self._get_dataset_path(output_dataset.children[0])
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def _get_ckpt_file_path(cb_params):
|
def _get_ckpt_file_path(cb_params):
|
||||||
|
|
Loading…
Reference in New Issue