updates
This commit is contained in:
parent
1827b79647
commit
a3fcf20385
|
@ -22,6 +22,7 @@ def detect(
|
||||||
webcam=False
|
webcam=False
|
||||||
):
|
):
|
||||||
device = torch_utils.select_device()
|
device = torch_utils.select_device()
|
||||||
|
torch.backends.cudnn.benchmark = False # set False for reproducible results
|
||||||
if os.path.exists(output):
|
if os.path.exists(output):
|
||||||
shutil.rmtree(output) # delete output folder
|
shutil.rmtree(output) # delete output folder
|
||||||
os.makedirs(output) # make new output folder
|
os.makedirs(output) # make new output folder
|
||||||
|
|
Loading…
Reference in New Issue