Skip to content
#

coremltools

Here are 34 public repositories matching this topic...

tucan9389
tucan9389 commented Jul 26, 2020

Question

Is there any method for printing converted operation shape during converting?

I converted to .mlmodel, but the model doesn't have output shapes. So I want to inspect which operation was incorrectly converted.

In 3.x coremltools, I can see all shapes each operation. But in 4.0b1, I cannot see it anymore and coremltools only shows the progress status.

v3.x log exampl

enhancement question good first issue feature request
gunjunlee
gunjunlee commented Dec 10, 2019

🌱 Describe your Feature Request

Support Path (from pathlib) as type of argument model

https://github.com/onnx/onnx-coreml/blob/7a630c113b27c8cc1a83412ce1dbfda77f9f8422/onnx_coreml/converter.py#L447

convert doesn't support Path as type of argument model
but onnx.load supports Path

Use cases

from pathlib import Path
model_path = Path("path/to/onnx")
convert(model_p
help wanted good first issue feature request

Improve this page

Add a description, image, and links to the coremltools topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the coremltools topic, visit your repo's landing page and select "manage topics."

Learn more