Jiacong Fang 66e5d794c7
Fix TF exports >= 2GB (#6292)
* Fix exporting saved_model: pb exceeds 2GB

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Replace TF v1.x API with TF v2.x API for saved_model export

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Clean up

* Remove lambda in tf.function()

* Revert "Remove lambda in tf.function()" to be compatible with TF v2.4

This reverts commit 46c7931f11dfdea6ae340c77287c35c30b9e0779.

* Fix for pre-commit.ci

* Cleanup1

* Cleanup2

* Backwards compatibility update

* Update common.py

* Update common.py

* Cleanup3

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
2022-02-18 16:36:45 +01:00
..
2022-02-16 10:13:05 +01:00
2022-02-18 16:36:45 +01:00
2021-11-04 17:24:25 +01:00
2022-02-05 15:22:59 +01:00
2021-12-23 13:49:00 +01:00
2021-10-11 23:47:18 -07:00
2021-10-11 23:47:18 -07:00
2021-10-11 23:47:18 -07:00
2021-10-11 23:47:18 -07:00
2021-10-11 23:47:18 -07:00