yolov5/models
Glenn Jocher c3a93d783d
Add TensorFlow formats to `export.py` (#4479)
* Initial commit

* Remove unused export_torchscript return

* ROOT variable

* Add prefix to fcn arg

* fix ROOT

* check_yaml into run()

* interim fixes

* imgsz=(320, 320)

* Hardcode tf_raw_resize False

* Finish opt elimination

* Update representative_dataset_gen()

* Update export.py with TF methods

* SiLU and GraphDef fixes

* file_size() directory handling feature

* export fixes

* add lambda: to representative_dataset

* Detect training False default

* Fuse false for TF models

* Embed agnostic NMS arguments

* Remove lambda

* TensorFlow.js export success

* Add pb to Usage

* Add *_tfjs_model/ to ignore files

* prepend YOLOv5 to function headers

* Remove end --- comments

* parameterize tfjs export pb file

* update run() data default /ROOT

* update --include help

* update imports

* return ct_model

* Consolidate TFLite export

* pb prerequisite to tfjs

* TF modules CamelCase

* Remove exports from tf.py and cleanup

* pass agnostic NMS arguments

* CI

* CI

* ignore *_web_model/

* Add tensorflow to CI dependencies

* CI tensorflow-cpu

* Update requirements.txt

* Remove tensorflow check_requirement

* CI coreml tfjs

* export only onnx torchscript

* reorder exports torchscript first
2021-09-12 15:52:24 +02:00
..
hub Fix: add P2 layer 21 to yolov5-p2.yaml `Detect()` inputs (#4608) 2021-08-30 15:46:33 +02:00
__init__.py add "__init__.py" file in <models> folder 2020-06-15 14:37:07 +08:00
common.py Allow `multi_label` option for NMS with PyTorch Hub (#4728) 2021-09-09 15:32:04 +02:00
experimental.py Add TensorFlow and TFLite export (#1127) 2021-08-17 13:18:16 +02:00
tf.py Add TensorFlow formats to `export.py` (#4479) 2021-09-12 15:52:24 +02:00
yolo.py Replace `path.absolute()` with `path.resolve()` (#4763) 2021-09-11 22:46:33 +02:00
yolov5l.yaml Standardize headers and docstrings (#4417) 2021-08-14 21:17:51 +02:00
yolov5m.yaml Standardize headers and docstrings (#4417) 2021-08-14 21:17:51 +02:00
yolov5s.yaml Standardize headers and docstrings (#4417) 2021-08-14 21:17:51 +02:00
yolov5x.yaml Standardize headers and docstrings (#4417) 2021-08-14 21:17:51 +02:00