WARNING:root:TensorFlow version 2.9.2 has not been tested with coremltools. You may run into unexpected errors. TensorFlow 2.8.0 is the most recent version that has been tested.
所以建议根据coremltools版本选择对应的tensorflow python版本
2. mxnet
点进去
提示 The 'apache/incubator-mxnet' repository doesn't contain the 'tools/coreml' path in 'master'.
找不到文档了,这里也没办法说明
应该是用不了了
3. tfcoreml
库已经不再维护 并且满足以下才行
Conversion API tfcoreml.convert should only be used if all of the following conditions are met:
Primary deployment target is iOS 12 or earlier.
Source model is a TensorFlow 1 graph_def object serialized as frozen protobuf format (".pb")
满足以上2点才能用 目前iOS要支持到iOS15,应该是用不了了。