tf-coreml:TensorFlow到CoreML转换器

时间:2021-04-01 11:43:17
【文件属性】:
文件名称:tf-coreml:TensorFlow到CoreML转换器
文件大小:128KB
文件格式:ZIP
更新时间:2021-04-01 11:43:17
Python 从Tensorflow转换为CoreML (推荐方法) 要将TensorFlow模型转换为CoreML格式,建议的方法是使用可通过coremltools 4.0 python软件包中引入的新统一转换API获得的TensorFlow转换器。 请阅读有关的coremltools文档以获取示例用法。 要安装coremltools包,请按照的coremltools文档。 tfcoreml tfcoreml软件包不再维护。 只有在满足以下所有条件的情况下,才应使用Conversion API tfcoreml.convert : 主要部署目标是iOS 12或更早版本。 源模型是TensorFlow 1 graph_def对象,序列化为冻结的protobuf格式(“ .pb”) 要安装tfcoreml ,请运行: pip install --upgrade tfcoreml 请阅读
【文件预览】:
tf-coreml-master
----README.rst(979B)
----utils()
--------_infer_shapes_nn_mlmodel.py(17KB)
--------inspect_pb.py(2KB)
--------inspect_mlmodel.py(3KB)
--------visualize_pb.py(1KB)
----.github()
--------ISSUE_TEMPLATE()
----AUTHORS(331B)
----scripts()
--------make_wheel.sh(1KB)
--------test_wheel.sh(1KB)
----Usage.md(1KB)
----CONTRIBUTING.md(5KB)
----.travis.yml(2KB)
----LICENSE(11KB)
----setup.py(2KB)
----README.md(2KB)
----BUILD.md(1019B)
----tests()
--------test_tf_converter.py(52KB)
--------test_pretrained_models.py(21KB)
--------test_mlmodel_optimizer.py(2KB)
--------test_tf_keras_layers.py(18KB)
--------test_images()
----.gitignore(78B)
----tfcoreml()
--------_shape_sensitive_layers.py(15KB)
--------_layers.py(61KB)
--------optimizations()
--------_ops_to_layers.py(6KB)
--------_tf_coreml_converter.py(26KB)
--------__init__.py(104B)
--------_interpret_shapes.py(9KB)
--------_layers_common.py(5KB)
--------_tf_graph_transform.py(7KB)
----.gitlab-ci.yml(5KB)
----requirements.pip(85B)

网友评论