Skip to content

Commit 0cc152c

Browse files
authored
Change prefetch to 1 (temporary fix)
1 parent 342c31e commit 0cc152c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

image_checker/cli.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def main():
3434
args = parser.parse_args()
3535
args = vars(args)
3636

37-
args["prefetch"]=2
37+
args["prefetch"]=1
3838
if args["use_cpu"]:
3939
args["device"]="cpu"
4040
else:
@@ -70,4 +70,4 @@ def main():
7070
raise Exception(f"Problem with logfile {e}")
7171

7272
ds = folder_iterator(args["path"], args["extensions"], args["recursive"])
73-
checker_batch(ds, args)
73+
checker_batch(ds, args)

0 commit comments

Comments
 (0)