Skip to content

Commit

Permalink
Add tf.py verification printout (#5484)
Browse files Browse the repository at this point in the history
* Update tf.py with verified confirmation

* Update ci-testing.yml

* Update ci-testing.yml
  • Loading branch information
glenn-jocher authored Nov 3, 2021
1 parent 62d77a1 commit 06bf8ef
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions models/tf.py
Original file line number Diff line number Diff line change
Expand Up @@ -441,6 +441,8 @@ def run(weights=ROOT / 'yolov5s.pt', # weights path
keras_model = keras.Model(inputs=im, outputs=tf_model.predict(im))
keras_model.summary()

LOGGER.info('PyTorch, TensorFlow and Keras models successfully verified.\nUse export.py for TF model export.')


def parse_opt():
parser = argparse.ArgumentParser()
Expand Down

0 comments on commit 06bf8ef

Please sign in to comment.