Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
glenn-jocher committed Oct 23, 2021
1 parent e8ccd55 commit 7537daa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/autobatch.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def check_batch_size(model, imgsz=640, b=16):
return b


def autobatch(model, imgsz=640, fraction=0.95):
def autobatch(model, imgsz=640, fraction=0.9):
# Automatically compute optimal batch size to use `fraction` of available CUDA memory
# Usage:
# import torch
Expand Down

0 comments on commit 7537daa

Please sign in to comment.