From b79a208190dd327f478690a0e2284497b025c9c7 Mon Sep 17 00:00:00 2001 From: Daniel Franco Date: Mon, 16 Sep 2024 10:56:41 +0200 Subject: [PATCH] Add a TODO message for the future to check BMZ model conda environment.yaml file with its dependencies --- biapy/models/__init__.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/biapy/models/__init__.py b/biapy/models/__init__.py index ac72ed54..725079f7 100644 --- a/biapy/models/__init__.py +++ b/biapy/models/__init__.py @@ -510,6 +510,10 @@ def check_bmz_model_compatibility( # Accepting models that are exported in pytorch_state_dict and with just one input if "pytorch_state_dict" in model_rdf["weights"] and len(model_rdf["inputs"]) == 1: + # TODO: control model.weights.pytorch_state_dict.dependencies conda env to check if all + # dependencies are installed + # https://github.com/bioimage-io/collection-bioimage-io/issues/609 + model_version = Version("0.5") if "format_version" in model_rdf: model_version = Version(model_rdf["format_version"])