mirror of
https://github.com/netfun2000/dddd_trainer.git
synced 2026-08-12 23:59:25 +08:00
beta0.1
This commit is contained in:
+1
-1
@@ -34,7 +34,7 @@ class CacheData:
|
||||
def __get_label_from_name(self, base_path: str):
|
||||
files = os.listdir(base_path)
|
||||
logger.info("\nFiles number is {}.".format(len(files)))
|
||||
self.__collect_data(files, base_path)
|
||||
self.__collect_data(files, base_path, [])
|
||||
|
||||
def __get_label_from_file(self, base_path: str):
|
||||
labels_path = os.path.join(base_path, "labels.txt")
|
||||
|
||||
Reference in New Issue
Block a user