Commit d2efe16d authored by ashawkey's avatar ashawkey
Browse files

update

parent 22e3e37f
...@@ -99,6 +99,9 @@ os.makedirs(opt.workspace, exist_ok=True) ...@@ -99,6 +99,9 @@ os.makedirs(opt.workspace, exist_ok=True)
if os.path.isdir(opt.test_path): if os.path.isdir(opt.test_path):
file_paths = glob.glob(os.path.join(opt.test_path, "*")) file_paths = glob.glob(os.path.join(opt.test_path, "*"))
for path in tqdm.tqdm(file_paths): for path in tqdm.tqdm(file_paths):
run(path) try:
run(path)
except Exception as e:
print(f'[WARN] {path} failed: {e}')
else: else:
run(opt.test_path) run(opt.test_path)
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment