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 9f378a2 commit a66f24eCopy full SHA for a66f24e
bioimageio/spec/model/v0_5.py
@@ -1538,7 +1538,7 @@ def _validate_sample_tensor(self) -> Self:
1538
return self
1539
1540
reader = get_reader(self.sample_tensor.source, sha256=self.sample_tensor.sha256)
1541
- tensor: NDArray[Any] = imread( # pyright: ignore[reportUnknownVariableType]
+ tensor: NDArray[Any] = imread(
1542
reader.read(),
1543
extension=PurePosixPath(reader.original_file_name).suffix,
1544
)
0 commit comments