Skip to content
This repository was archived by the owner on Jul 17, 2024. It is now read-only.

Import CustomVision.ai ONNX Models #227

Open
shawncal opened this issue Jul 4, 2019 · 0 comments
Open

Import CustomVision.ai ONNX Models #227

shawncal opened this issue Jul 4, 2019 · 0 comments

Comments

@shawncal
Copy link
Contributor

shawncal commented Jul 4, 2019

Goal: import an ONNX model exported from CustomVision.ai

Repro Steps
*NOTE: Pre-trained ONNX model attached, if you want to skip training your own

Train a new model:

  • Go to https://www.customvision.ai
  • Create an image classifier (mobile) model
  • Train the model
  • From the "Perfomance" tab, click the download button captioned "export selected iteration"
  • Choose "ONNX" and version 1.2, download the model to a local folder

Import ONNX model

  • Run ELL's onnx_import.py script:

    python E:\ELL\tools\importers\onnx\onnx_import.py cv_model.onnx

Result:
Exception: Unimplemented node type: ImageScaler

cv_model.zip

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant