We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a4cb0e commit aef6592Copy full SHA for aef6592
Dockerfile.tmpl
@@ -511,6 +511,7 @@ RUN pip install flashtext && \
511
# ipympl adds interactive widget support for matplotlib
512
pip install ipympl==0.7.0 && \
513
pip install pandarallel && \
514
+ pip install onnx && \
515
/tmp/clean-layer.sh
516
517
# Download base easyocr models.
tests/data/mnist-8.onnx
25.8 KB
tests/test_onnx.py
@@ -0,0 +1,8 @@
1
+import unittest
2
+
3
+import onnx
4
5
+class TestOnnx(unittest.TestCase):
6
+ def test_load(self):
7
+ model = onnx.load("/input/tests/data/mnist-8.onnx")
8
+ self.assertIn("CNTKGraph", onnx.helper.printable_graph(model.graph))
0 commit comments