Miscs
This commit is contained in:
@@ -211,7 +211,7 @@ for path_str in args.input_paths:
|
||||
labels_txt = (INPUT_DIR / "labels").read_text()
|
||||
valid_labels_set = set(line.strip() for line in labels_txt.splitlines() if line.strip())
|
||||
names_path = (INPUT_DIR / "names")
|
||||
if !os.path.exists(names_path):
|
||||
if not os.path.exists(names_path):
|
||||
names_path = Path("names")
|
||||
names_txt = names_path.read_text()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user