Skip to content

Commit b7f4813

Browse files
Merge pull request #253 from bioimage-io/fix-torch-to-onnx
Fix torch to onnx conversion
2 parents ede8c3e + 50dd49d commit b7f4813

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

bioimageio/core/weight_converter/torch/onnx.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ def convert_weights_to_onnx(
5858
output_path,
5959
verbose=verbose,
6060
opset_version=opset_version,
61-
example_outputs=expected_outputs,
6261
)
6362
else:
6463
raise NotImplementedError

dev/environment-torch.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ dependencies:
66
- black
77
- bioimageio.spec >=0.4.4
88
- conda-build
9-
- h5py >=2.10,<2.11
9+
- h5py
1010
- mypy
1111
- pip
1212
- pytest
1313
- python >=3.7
1414
- xarray
15-
- pytorch <1.10
15+
- pytorch
1616
- onnxruntime
1717
- tifffile

0 commit comments

Comments
 (0)