Skip to content

Commit

Permalink
Change prefetch to 1 (temporary fix)
Browse files Browse the repository at this point in the history
  • Loading branch information
cceyda authored Nov 12, 2020
1 parent 342c31e commit 0cc152c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions image_checker/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def main():
args = parser.parse_args()
args = vars(args)

args["prefetch"]=2
args["prefetch"]=1
if args["use_cpu"]:
args["device"]="cpu"
else:
Expand Down Expand Up @@ -70,4 +70,4 @@ def main():
raise Exception(f"Problem with logfile {e}")

ds = folder_iterator(args["path"], args["extensions"], args["recursive"])
checker_batch(ds, args)
checker_batch(ds, args)

0 comments on commit 0cc152c

Please sign in to comment.