|
|
@ -782,7 +782,7 @@ class Dataset:
|
|
|
|
"""
|
|
|
|
"""
|
|
|
|
if self.input:
|
|
|
|
if self.input:
|
|
|
|
return self.input[0].get_class_indexing()
|
|
|
|
return self.input[0].get_class_indexing()
|
|
|
|
return None
|
|
|
|
raise NotImplementedError("Dataset {} has not supported api get_class_indexing yet.".format(type(self)))
|
|
|
|
|
|
|
|
|
|
|
|
def reset(self):
|
|
|
|
def reset(self):
|
|
|
|
"""Reset the dataset for next epoch"""
|
|
|
|
"""Reset the dataset for next epoch"""
|
|
|
|