Spleeter: [Discussion] How can I convert model to CoreML?

Created on 29 Dec 2019  Β·  6Comments  Β·  Source: deezer/spleeter


I wanna make CoreML.
I make .pb file from checkpoint, but I don't understand converting CoreML.
Please teach meπŸ™‡πŸ»β€β™€οΈ

question

All 6 comments

I wanna make CoreML.
I make .pb file from checkpoint, but I don't understand converting CoreML.
Please teach meπŸ™‡πŸ»β€β™€οΈ
https://github.com/tf-coreml/tf-coreml
γ“γ‚Œγ‚’δ½Ώγ†γ¨γ€ε€šεˆ†ε‡Ίζ₯γ‚‹

I saw the _Tensorflow conversion section in the Neural network guide_ and tried _TensorFlow 1 converter_ from this website, but I can't...

import tfcoreml as tf_converter
tf_converter.convert(tf_model_path = 'Protobufs/Binary_Protobuf.pb',
                     mlmodel_path = 'separate_model.mlmodel',
                     output_feature_names = ['softmax:0'],
                     input_name_shape_dict = {'conv_n_filters' : [16, 32, 64, 128, 256, 512]},
                     minimum_ios_deployment_target='12')    

I don't know what to write "output_feature_names", "input_name_shape_dict" and "minimum_ios_deployment_target", so I wrote somehow...
First of all, the way to make .pb file may be different...😭

I try to make coreml library under Windows.
Because I don't have a linux or OSX environment.😭
I can try to solve this problem, but it take some time.

Thank you for your doing!!
Please let me know if it takes time...!

Hi there

It's not something that we have tried so far but you can have a look at the conversation in #155 to get inspiration.

Good luck

I saw it, but I cannot...

I saw the Tensorflow conversion section in the Neural network guide and tried TensorFlow 1 converter from this website, but I can't...

import tfcoreml as tf_converter
tf_converter.convert(tf_model_path = 'Protobufs/Binary_Protobuf.pb',
                    mlmodel_path = 'separate_model.mlmodel',
                    output_feature_names = ['softmax:0'],
                    input_name_shape_dict = {'conv_n_filters' : [16, 32, 64, 128, 256, 512]},
                    minimum_ios_deployment_target='12')    

I don't know what to write "output_feature_names", "input_name_shape_dict" and "minimum_ios_deployment_target", so I wrote somehow...
First of all, the way to make .pb file may be different...😭

Was this page helpful?
0 / 5 - 0 ratings

Related issues

omgwtfbbqpls picture omgwtfbbqpls  Β·  3Comments

JohnSmith2007 picture JohnSmith2007  Β·  4Comments

ateammeech picture ateammeech  Β·  3Comments

danielkorg picture danielkorg  Β·  4Comments

eoeintu picture eoeintu  Β·  4Comments