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 13f215c commit d01133cCopy full SHA for d01133c
bioimageio/core/model_adapters/_pytorch_model_adapter.py
@@ -29,7 +29,7 @@ def __init__(
29
devices: Optional[Sequence[str]] = None,
30
):
31
if torch is None:
32
- raise ImportError("torch")
+ raise ImportError("failed to import torch")
33
super().__init__()
34
self.output_dims = [tuple(a.id for a in get_axes_infos(out)) for out in outputs]
35
self._network = self.get_network(weights)
0 commit comments