Skip to content

Core Compatibility Report: dazzling-spider/v0ยค

๐ŸŸก bioimageio format validation
status valid-format
source https://hypha.aicell.io/bioimage-io/artifacts/dazzling-spider/files/rdf.yaml?version=v0
id dazzling-spider
format version model 0.5.6
bioimageio.spec 0.5.6.0
Location Details
โœ”๏ธ Successfully created `ModelDescr` instance.
โœ”๏ธ bioimageio.spec format validation model 0.5.6
โš  documentation
No '# Validation' (sub)section found in README.md.
โš  inputs.0.sample_tensor
Needs to be filled for FAIR compliance
โš  outputs.0.sample_tensor
Needs to be filled for FAIR compliance
โŒ weights.pytorch_state_dict Reproduce test outputs from test inputs (pytorch_state_dict)
โŒ weights.pytorch_state_dict
No module named 'careamics'
See Traceback 1.
weights.pytorch_state_dict
recommended conda environment (Reproduce test outputs from test inputs (pytorch_state_dict))
%YAML 1.2
---
name: careamics
channels:
  - conda-forge
  - nodefaults
dependencies:
  - conda-forge::bioimageio.core
  - pip
  - python=3.10
  - pytorch=2.4.0
  - torchvision=0.19.0
  - pip:
      - git+https://github.com/CAREamics/careamics.git
weights.pytorch_state_dict
conda compare (Reproduce test outputs from test inputs (pytorch_state_dict))
//github.com/careamics/careamics.git not found

Traceback 1








    
โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ Traceback (most recent call last) โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚ /usr/share/miniconda/envs/3d5bf57e23beeafd6ea2183cfc86de256c11395f850f34909b53a65354a43210/lib/p โ”‚
โ”‚                                                                                                  โ”‚
โ”‚    781 โ”‚   โ”‚   test_input = get_test_input_sample(model)                                         โ”‚
โ”‚    782 โ”‚   โ”‚   expected = get_test_output_sample(model)                                          โ”‚
โ”‚    783 โ”‚   โ”‚                                                                                     โ”‚
โ”‚ โฑ  784 โ”‚   โ”‚   with create_prediction_pipeline(                                                  โ”‚
โ”‚    785 โ”‚   โ”‚   โ”‚   bioimageio_model=model, devices=devices, weight_format=weight_format          โ”‚
โ”‚    786 โ”‚   โ”‚   ) as prediction_pipeline:                                                         โ”‚
โ”‚    787 โ”‚   โ”‚   โ”‚   results = prediction_pipeline.predict_sample_without_blocking(test_input)     โ”‚
โ”‚                                                                                                  โ”‚
โ”‚ /usr/share/miniconda/envs/3d5bf57e23beeafd6ea2183cfc86de256c11395f850f34909b53a65354a43210/lib/p โ”‚
โ”‚                                                                                                  โ”‚
โ”‚   368 โ”‚   โ”‚   โ”‚   f"deprecated create_prediction_pipeline kwargs: {set(deprecated_kwargs)}"      โ”‚
โ”‚   369 โ”‚   โ”‚   )                                                                                  โ”‚
โ”‚   370 โ”‚                                                                                          โ”‚
โ”‚ โฑ 371 โ”‚   model_adapter = model_adapter or create_model_adapter(                                 โ”‚
โ”‚   372 โ”‚   โ”‚   model_description=bioimageio_model,                                                โ”‚
โ”‚   373 โ”‚   โ”‚   devices=devices,                                                                   โ”‚
โ”‚   374 โ”‚   โ”‚   weight_format_priority_order=weights_format and (weights_format,),                 โ”‚
โ”‚                                                                                                  โ”‚
โ”‚ /usr/share/miniconda/envs/3d5bf57e23beeafd6ea2183cfc86de256c11395f850f34909b53a65354a43210/lib/p โ”‚
โ”‚                                                                                                  โ”‚
โ”‚   166 โ”‚   โ”‚   assert errors                                                                      โ”‚
โ”‚   167 โ”‚   โ”‚   if len(weight_format_priority_order) == 1:                                         โ”‚
โ”‚   168 โ”‚   โ”‚   โ”‚   assert len(errors) == 1                                                        โ”‚
โ”‚ โฑ 169 โ”‚   โ”‚   โ”‚   raise errors[0]                                                                โ”‚
โ”‚   170 โ”‚   โ”‚                                                                                      โ”‚
โ”‚   171 โ”‚   โ”‚   else:                                                                              โ”‚
โ”‚   172 โ”‚   โ”‚   โ”‚   msg = (                                                                        โ”‚
โ”‚                                                                                                  โ”‚
โ”‚ /usr/share/miniconda/envs/3d5bf57e23beeafd6ea2183cfc86de256c11395f850f34909b53a65354a43210/lib/p โ”‚
โ”‚                                                                                                  โ”‚
โ”‚   109 โ”‚   โ”‚   โ”‚   โ”‚   try:                                                                       โ”‚
โ”‚   110 โ”‚   โ”‚   โ”‚   โ”‚   โ”‚   from .pytorch_backend import PytorchModelAdapter                       โ”‚
โ”‚   111 โ”‚   โ”‚   โ”‚   โ”‚   โ”‚                                                                          โ”‚
โ”‚ โฑ 112 โ”‚   โ”‚   โ”‚   โ”‚   โ”‚   return PytorchModelAdapter(                                            โ”‚
โ”‚   113 โ”‚   โ”‚   โ”‚   โ”‚   โ”‚   โ”‚   model_description=model_description, devices=devices               โ”‚
โ”‚   114 โ”‚   โ”‚   โ”‚   โ”‚   โ”‚   )                                                                      โ”‚
โ”‚   115 โ”‚   โ”‚   โ”‚   โ”‚   except Exception as e:                                                     โ”‚
โ”‚                                                                                                  โ”‚
โ”‚ /usr/share/miniconda/envs/3d5bf57e23beeafd6ea2183cfc86de256c11395f850f34909b53a65354a43210/lib/p โ”‚
โ”‚                                                                                                  โ”‚
โ”‚    35 โ”‚   โ”‚   โ”‚   raise ValueError("No `pytorch_state_dict` weights found")                      โ”‚
โ”‚    36 โ”‚   โ”‚                                                                                      โ”‚
โ”‚    37 โ”‚   โ”‚   devices = get_devices(devices)                                                     โ”‚
โ”‚ โฑ  38 โ”‚   โ”‚   self._model = load_torch_model(weights, load_state=True, devices=devices)          โ”‚
โ”‚    39 โ”‚   โ”‚   if mode == "eval":                                                                 โ”‚
โ”‚    40 โ”‚   โ”‚   โ”‚   self._model = self._model.eval()                                               โ”‚
โ”‚    41 โ”‚   โ”‚   elif mode == "train":                                                              โ”‚
โ”‚                                                                                                  โ”‚
โ”‚ /usr/share/miniconda/envs/3d5bf57e23beeafd6ea2183cfc86de256c11395f850f34909b53a65354a43210/lib/p โ”‚
โ”‚                                                                                                  โ”‚
โ”‚   100 โ”‚   load_state: bool = True,                                                               โ”‚
โ”‚   101 โ”‚   devices: Optional[Sequence[Union[str, torch.device]]] = None,                          โ”‚
โ”‚   102 ) -> nn.Module:                                                                            โ”‚
โ”‚ โฑ 103 โ”‚   custom_callable = import_callable(                                                     โ”‚
โ”‚   104 โ”‚   โ”‚   weight_spec.architecture,                                                          โ”‚
โ”‚   105 โ”‚   โ”‚   sha256=(                                                                           โ”‚
โ”‚   106 โ”‚   โ”‚   โ”‚   weight_spec.architecture_sha256                                                โ”‚
โ”‚                                                                                                  โ”‚
โ”‚ /usr/share/miniconda/envs/3d5bf57e23beeafd6ea2183cfc86de256c11395f850f34909b53a65354a43210/lib/p โ”‚
โ”‚                                                                                                  โ”‚
โ”‚    68 โ”‚   โ”‚   module = importlib.import_module(node.module_name)                                 โ”‚
โ”‚    69 โ”‚   โ”‚   c = getattr(module, str(node.callable_name))                                       โ”‚
โ”‚    70 โ”‚   elif isinstance(node, ArchitectureFromLibraryDescr):                                   โ”‚
โ”‚ โฑ  71 โ”‚   โ”‚   module = importlib.import_module(node.import_from)                                 โ”‚
โ”‚    72 โ”‚   โ”‚   c = getattr(module, str(node.callable))                                            โ”‚
โ”‚    73 โ”‚   elif isinstance(node, CallableFromFile):                                               โ”‚
โ”‚    74 โ”‚   โ”‚   c = _import_from_file_impl(node.source_file, str(node.callable_name), **kwargs)    โ”‚
โ”‚                                                                                                  โ”‚
โ”‚ /usr/share/miniconda/envs/3d5bf57e23beeafd6ea2183cfc86de256c11395f850f34909b53a65354a43210/lib/p โ”‚
โ”‚                                                                                                  โ”‚
โ”‚   123 โ”‚   โ”‚   โ”‚   if character != '.':                                                           โ”‚
โ”‚   124 โ”‚   โ”‚   โ”‚   โ”‚   break                                                                      โ”‚
โ”‚   125 โ”‚   โ”‚   โ”‚   level += 1                                                                     โ”‚
โ”‚ โฑ 126 โ”‚   return _bootstrap._gcd_import(name[level:], package, level)                            โ”‚
โ”‚   127                                                                                            โ”‚
โ”‚   128                                                                                            โ”‚
โ”‚   129 _RELOADING = {}                                                                            โ”‚
โ”‚ in _gcd_import:1050                                                                              โ”‚
โ”‚ in _find_and_load:1027                                                                           โ”‚
โ”‚ in _find_and_load_unlocked:992                                                                   โ”‚
โ”‚ in _call_with_frames_removed:241                                                                 โ”‚
โ”‚ in _gcd_import:1050                                                                              โ”‚
โ”‚ in _find_and_load:1027                                                                           โ”‚
โ”‚ in _find_and_load_unlocked:992                                                                   โ”‚
โ”‚ in _call_with_frames_removed:241                                                                 โ”‚
โ”‚ in _gcd_import:1050                                                                              โ”‚
โ”‚ in _find_and_load:1027                                                                           โ”‚
โ”‚ in _find_and_load_unlocked:1004                                                                  โ”‚
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
ModuleNotFoundError: No module named 'careamics'