create dataset path in outdirs if not existing
This commit is contained in:
parent
323d79b27a
commit
95879e4759
@ -70,6 +70,9 @@ def main(args):
|
||||
|
||||
dataset_name = Path(args.folder).name
|
||||
|
||||
if not (Path(OUTDIR)/dataset_name).exists():
|
||||
Path(Path(OUTDIR)/dataset_name).mkdir(parents=True, exist_ok=True)
|
||||
|
||||
infere_model(inference_loader, model, dataset_name)
|
||||
|
||||
# detection_threshold = 0.8
|
||||
|
Loading…
Reference in New Issue
Block a user