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 cc6ff24 commit e42bd0bCopy full SHA for e42bd0b
bioimageio/core/prediction.py
@@ -330,13 +330,16 @@ def check_tiling(tiling):
330
# override metadata defaults with provided dict
331
if isinstance(tiling, dict):
332
for key in ["halo", "tile", "scale"]:
333
- default_tiling.update(tiling.get(key, dict()))
+ default_tiling[key].update(tiling.get(key, dict()))
334
tiling = default_tiling
335
check_tiling(tiling)
336
+
337
elif isinstance(tiling, bool) and not tiling:
338
raise NotImplementedError("Should be unreachable")
339
340
else:
341
raise ValueError(f"Invalid argument for tiling: {tiling}")
342
343
return tiling
344
345
0 commit comments