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

Import CustomVision.ai ONNX Models #227

Description

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions