- Export the model to the modelzoo format by running
python export_onnx_model.py
script. See the comments in there for the links to the files. This needs a python environment withbioimageio.core
andonnx
installed. See here for details. The script will create the zipped model inexported_model/model-onnx.zip
. - The model can then be tested by running
bioimageio test-model exported_model/model-onnx.zip --decimal 2
. It passes the test (see below). The--decimal 2
is necessary to run the test with a higher error tolerance than the default value, otherwise it fails due to a few values that disagree. (This is likely due to some inaccuracies in the onnx model conversion).
$ bioimageio test-model exported_model/model-onnx.zip --decimal 2
bioimageio.spec 0.4.9