Error converting tensorFlow to coreML using tf-coreml

I want to do hand tracking with coreML.

For this, I took the ready-made tensorFlow model: https://github.com/timctho/convolutional-pose-machines-tensorflow

And I'm trying to convert it to coreML using tf-coreml. But during the conversion I get errors.


(base) MBP-Alexey:Desktop alexeygorbunov$ python convert_tf_to_coreml.py


Loading the TF graph...

Traceback (most recent call last):

File "convert_tf_to_coreml.py", line 5, in <module>

input_name_shape_dict = { ' input_placeholder: 0 ' : [ 1 , 256 , 256 , 3 ]})

File "/Users/alexeygorbunov/anaconda3/lib/python3.7/site-packages/tfcoreml/_tf_coreml_converter.py", line 586, in convert

custom_conversion_functions=custom_conversion_functions)

File "/Users/alexeygorbunov/anaconda3/lib/python3.7/site-packages/tfcoreml/_tf_coreml_converter.py", line 150, in _convert_pb_to_mlmodel

gdef.ParseFromString(serialized)

google.protobuf.message.DecodeError: Error parsing message


What could be the error and how to solve it?