简体   繁体   中英

How to convert a CoreML Model to a TensorFlow Model?

I read that it is possible to convert a TensorFlow Model (.pb) file to CoreML (.mlmodel) to run it on iOS platforms. But I have some.mlmodel files that I want to run on tensorflow. So I want to know if there is any way I could convert them to.pb files or any other way I could use them in Tensorflow.

The good news: Yes, you can do this.

The bad news: You'll have to do it by hand. There are no tools for doing this automatically.

The easiest solution is to define the model in TensorFlow, then copy the weights from the Core ML model into the TF model.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM