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 fe45db8 commit b966b34Copy full SHA for b966b34
bioimageio/core/model_adapters/_keras_model_adapter.py
@@ -79,7 +79,7 @@ def __init__(
79
def forward(self, *input_tensors: Optional[Tensor]) -> List[Optional[Tensor]]:
80
_result: Union[Sequence[NDArray[Any]], NDArray[Any]]
81
_result = self._network.predict( # pyright: ignore[reportUnknownVariableType]
82
- *input_tensors
+ *[None if t is None else t.data.data for t in input_tensors]
83
)
84
if isinstance(_result, (tuple, list)):
85
result: Sequence[NDArray[Any]] = _result
0 commit comments