Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Dec 11, 2023
1 parent d80fec0 commit 1048584
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions export.py
Original file line number Diff line number Diff line change
Expand Up @@ -398,10 +398,10 @@ def export_saved_model(model,

LOGGER.info(f'\n{prefix} starting export with tensorflow {tf.__version__}...')
check_version(tf.__version__,
'<=2.13.1',
name='tensorflow',
verbose=True,
msg='https://github.com/ultralytics/yolov5/issues/12489')
'<=2.13.1',
name='tensorflow',
verbose=True,
msg='https://github.com/ultralytics/yolov5/issues/12489')
f = str(file).replace('.pt', '_saved_model')
batch_size, ch, *imgsz = list(im.shape) # BCHW

Expand Down

0 comments on commit 1048584

Please sign in to comment.