Skip to content
This repository was archived by the owner on Feb 7, 2023. It is now read-only.

Commit 56ac628

Browse files
authored
Release 0.1.0 (#236)
* Fix converter script for installation from pypi * Bump version number to 0.1.0
1 parent 26bc5c4 commit 56ac628

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

onnx_coreml/bin/convert.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
from __future__ import unicode_literals
55

66
import click
7-
from onnx import onnx_pb2
7+
from onnx import onnx_pb
88
from onnx_coreml import convert
99
from typing import Text, IO
1010

@@ -20,7 +20,7 @@
2020
type=str,
2121
help='Output path for the CoreML *.mlmodel file')
2222
def onnx_to_coreml(onnx_model, output): # type: (IO[str], str) -> None
23-
onnx_model_proto = onnx_pb2.ModelProto()
23+
onnx_model_proto = onnx_pb.ModelProto()
2424
onnx_model_proto.ParseFromString(onnx_model.read())
2525
coreml_model = convert(onnx_model_proto)
2626
coreml_model.save(output)

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import sys
44

55

6-
VERSION = '0.0.2'
6+
VERSION = '0.1.0'
77

88
here = path.abspath(path.dirname(__file__))
99

0 commit comments

Comments
 (0)