Skip to content

Commit

Permalink
fix import
Browse files Browse the repository at this point in the history
  • Loading branch information
sdpython committed Apr 15, 2020
1 parent d481467 commit 5222349
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion onnxmltools/convert/h2o/convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import h2o

from onnxconverter_common.onnx_ex import get_maximum_opset_supported
from ...proto import onnx
import onnx
from ..common._topology import convert_topology
from ..common.data_types import FloatTensorType
from ._parse import parse_h2o
Expand Down
3 changes: 2 additions & 1 deletion tests/coreml/test_cml_AllNeuralNetworkConverters.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,13 @@
setattr(sklearn.preprocessing, 'Imputer', Imputer)
except ImportError:
from sklearn.preprocessing import Imputer
import onnx
from coremltools.models.neural_network import NeuralNetworkBuilder
from coremltools.models import datatypes
from coremltools.proto.FeatureTypes_pb2 import ImageFeatureType
from distutils.version import StrictVersion
from onnxmltools import convert_coreml
from onnxmltools.proto import onnx


class TestNeuralNetworkLayerConverter(unittest.TestCase):

Expand Down

0 comments on commit 5222349

Please sign in to comment.