debug pipeline
This commit is contained in:
@@ -34,6 +34,8 @@ class DataLoadUtil:
|
||||
@staticmethod
|
||||
def get_label_num(root, scene_name):
|
||||
label_dir = os.path.join(root, scene_name, "label")
|
||||
if not os.path.exists(label_dir):
|
||||
return 0
|
||||
return len(os.listdir(label_dir))
|
||||
|
||||
@staticmethod
|
||||
|
Reference in New Issue
Block a user