Skip to content

Issue in converting .pb model to .mlmodel #190

@Saiktdey395

Description

@Saiktdey395

Hi, I am facing an issue ModuleNotFoundError: No module named 'tfcoreml' when I run these commands in a python file or in Terminal-

I have followed all the steps mentioned in https://github.com/tf-coreml/tf-coreml/blob/master/README.md

I used these commands to do the conversion-

import tfcoreml as tf_converter
tf_converter.convert(tf_model_path = '/Users/new_mac/Desktop/PBtoCoreML/tensorflow_inception_graph.pb',
mlmodel_path = '/Users/new_mac/Desktop/PBtoCoreML/tensorflow_inception_graph.mlmodel',
output_feature_names = ['softmax:0'])

I get a "No module named 'tfcoreml" error in my Terminal.

Please advise where am I going wrong? Also let me know how to run these commands in terminal as I am new to Python.

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateProgress will be shown on similar, previously logged issue (status)

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions