Skip to content

Core Compatibility Report: joyful-deer/v0ยค

๐ŸŸก bioimageio format validation
status valid-format
source https://hypha.aicell.io/bioimage-io/artifacts/joyful-deer/files/rdf.yaml?version=v0
id 10.5281/zenodo.7274275/8123818
format version model 0.4.10
bioimageio.spec 0.5.6.0
Location Details
โœ”๏ธ Successfully created `ModelDescr` instance.
โœ”๏ธ bioimageio.spec format validation model 0.4.10
โŒ weights.pytorch_state_dict Reproduce test outputs from test inputs (pytorch_state_dict)
โŒ weights.pytorch_state_dict
model.v0_4.ScaleLinearKwargs with axes not implemented, please consider updating the model to v0_5.
See Traceback 1.
weights.pytorch_state_dict
recommended conda environment (Reproduce test outputs from test inputs (pytorch_state_dict))
%YAML 1.2
---
channels:
  - pytorch
  - conda-forge
  - nodefaults
dependencies:
  - conda-forge::bioimageio.core
  - mkl ==2024.0.0
  - numpy <2
  - pip
  - pytorch==1.13.1
  - setuptools <70.0.0
  - torchaudio==0.13.1
  - torchvision==0.14.1
weights.pytorch_state_dict
conda compare (Reproduce test outputs from test inputs (pytorch_state_dict))
Success. All the packages in the specification file are present in the environment with matching
version and build string.

Traceback 1








    
โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ Traceback (most recent call last) โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚ /usr/share/miniconda/envs/b67f0851ec76977c6bebe397fb842f1c9b3e02c3f4da6dba02caf69ff1f8a0ee/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/b67f0851ec76977c6bebe397fb842f1c9b3e02c3f4da6dba02caf69ff1f8a0ee/lib/p โ”‚
โ”‚                                                                                                  โ”‚
โ”‚   384 โ”‚   โ”‚   โ”‚   else:                                                                          โ”‚
โ”‚   385 โ”‚   โ”‚   โ”‚   โ”‚   yield Sample(members=dict(zip(input_ids, x)), stat=common_stat, id=i)      โ”‚
โ”‚   386 โ”‚                                                                                          โ”‚
โ”‚ โฑ 387 โ”‚   preprocessing, postprocessing = setup_pre_and_postprocessing(                          โ”‚
โ”‚   388 โ”‚   โ”‚   bioimageio_model,                                                                  โ”‚
โ”‚   389 โ”‚   โ”‚   dataset(),                                                                         โ”‚
โ”‚   390 โ”‚   โ”‚   keep_updating_initial_dataset_stats=keep_updating_initial_dataset_statistics,      โ”‚
โ”‚                                                                                                  โ”‚
โ”‚ /usr/share/miniconda/envs/b67f0851ec76977c6bebe397fb842f1c9b3e02c3f4da6dba02caf69ff1f8a0ee/lib/p โ”‚
โ”‚                                                                                                  โ”‚
โ”‚    95 โ”‚   """                                                                                    โ”‚
โ”‚    96 โ”‚   Get pre- and postprocessing operators for a `model` description.                       โ”‚
โ”‚    97 โ”‚   Used in `bioimageio.core.create_prediction_pipeline"""                                 โ”‚
โ”‚ โฑ  98 โ”‚   prep, post, prep_meas, post_meas = _prepare_setup_pre_and_postprocessing(model)        โ”‚
โ”‚    99 โ”‚                                                                                          โ”‚
โ”‚   100 โ”‚   missing_dataset_stats = {                                                              โ”‚
โ”‚   101 โ”‚   โ”‚   m                                                                                  โ”‚
โ”‚                                                                                                  โ”‚
โ”‚ /usr/share/miniconda/envs/b67f0851ec76977c6bebe397fb842f1c9b3e02c3f4da6dba02caf69ff1f8a0ee/lib/p โ”‚
โ”‚                                                                                                  โ”‚
โ”‚   216                                                                                            โ”‚
โ”‚   217 def _prepare_setup_pre_and_postprocessing(model: AnyModelDescr) -> _SetupProcessing:       โ”‚
โ”‚   218 โ”‚   if isinstance(model, v0_4.ModelDescr):                                                 โ”‚
โ”‚ โฑ 219 โ”‚   โ”‚   pre = _prepare_procs(model.inputs)                                                 โ”‚
โ”‚   220 โ”‚   โ”‚   post = _prepare_procs(model.outputs)                                               โ”‚
โ”‚   221 โ”‚   elif isinstance(model, v0_5.ModelDescr):                                               โ”‚
โ”‚   222 โ”‚   โ”‚   pre = _prepare_procs(model.inputs)                                                 โ”‚
โ”‚                                                                                                  โ”‚
โ”‚ /usr/share/miniconda/envs/b67f0851ec76977c6bebe397fb842f1c9b3e02c3f4da6dba02caf69ff1f8a0ee/lib/p โ”‚
โ”‚                                                                                                  โ”‚
โ”‚   188 โ”‚   โ”‚                                                                                      โ”‚
โ”‚   189 โ”‚   โ”‚   if isinstance(t_descr, (v0_4.InputTensorDescr, v0_5.InputTensorDescr)):            โ”‚
โ”‚   190 โ”‚   โ”‚   โ”‚   for proc_d in t_descr.preprocessing:                                           โ”‚
โ”‚ โฑ 191 โ”‚   โ”‚   โ”‚   โ”‚   procs.append(get_proc(proc_d, t_descr))                                    โ”‚
โ”‚   192 โ”‚   โ”‚   elif isinstance(t_descr, (v0_4.OutputTensorDescr, v0_5.OutputTensorDescr)):        โ”‚
โ”‚   193 โ”‚   โ”‚   โ”‚   for proc_d in t_descr.postprocessing:                                          โ”‚
โ”‚   194 โ”‚   โ”‚   โ”‚   โ”‚   procs.append(get_proc(proc_d, t_descr))                                    โ”‚
โ”‚                                                                                                  โ”‚
โ”‚ /usr/share/miniconda/envs/b67f0851ec76977c6bebe397fb842f1c9b3e02c3f4da6dba02caf69ff1f8a0ee/lib/p โ”‚
โ”‚                                                                                                  โ”‚
โ”‚   719 โ”‚   elif isinstance(proc_descr, v0_5.FixedZeroMeanUnitVarianceDescr):                      โ”‚
โ”‚   720 โ”‚   โ”‚   return FixedZeroMeanUnitVariance.from_proc_descr(proc_descr, member_id)            โ”‚
โ”‚   721 โ”‚   elif isinstance(proc_descr, (v0_4.ScaleLinearDescr, v0_5.ScaleLinearDescr)):           โ”‚
โ”‚ โฑ 722 โ”‚   โ”‚   return ScaleLinear.from_proc_descr(proc_descr, member_id)                          โ”‚
โ”‚   723 โ”‚   elif isinstance(                                                                       โ”‚
โ”‚   724 โ”‚   โ”‚   proc_descr, (v0_4.ScaleMeanVarianceDescr, v0_5.ScaleMeanVarianceDescr)             โ”‚
โ”‚   725 โ”‚   ):                                                                                     โ”‚
โ”‚                                                                                                  โ”‚
โ”‚ /usr/share/miniconda/envs/b67f0851ec76977c6bebe397fb842f1c9b3e02c3f4da6dba02caf69ff1f8a0ee/lib/p โ”‚
โ”‚                                                                                                  โ”‚
โ”‚   310 โ”‚   โ”‚   โ”‚   axis = kwargs.axis                                                             โ”‚
โ”‚   311 โ”‚   โ”‚   elif isinstance(kwargs, v0_4.ScaleLinearKwargs):                                   โ”‚
โ”‚   312 โ”‚   โ”‚   โ”‚   if kwargs.axes is not None:                                                    โ”‚
โ”‚ โฑ 313 โ”‚   โ”‚   โ”‚   โ”‚   raise NotImplementedError(                                                 โ”‚
โ”‚   314 โ”‚   โ”‚   โ”‚   โ”‚   โ”‚   "model.v0_4.ScaleLinearKwargs with axes not implemented, please consid โ”‚
โ”‚   315 โ”‚   โ”‚   โ”‚   โ”‚   )                                                                          โ”‚
โ”‚   316 โ”‚   โ”‚   โ”‚   axis = None                                                                    โ”‚
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
NotImplementedError: model.v0_4.ScaleLinearKwargs with axes not implemented, please consider updating the model to v0_5.