Skip to content

Core Compatibility Report: straightforward-crocodile/v0ยค

๐ŸŸก bioimageio format validation
status valid-format
source https://hypha.aicell.io/bioimage-io/artifacts/straightforward-crocodile/files/rdf.yaml?version=v0
id 10.5281/zenodo.5910854/6539073
version 1
applied format model 0.4.10
bioimageio.spec 0.5.7.4
Location Details
โœ”๏ธ Successfully created `ModelDescr` instance.
โœ”๏ธ bioimageio.spec format validation model 0.4.10
โš  weights.torchscript.pytorch_version
missing. Please specify the PyTorch version these Torchscript weights were created with.
โœ”๏ธ weights.onnx Found existing conda environment '4d82a6bc4511b4ad0459f190edebc373e2ca235c8452606867e45b1507100a34'
โŒ weights.onnx Reproduce test outputs from test inputs (onnx)
โŒ weights.onnx
model.v0_4.ScaleLinearKwargs with axes not implemented, please consider updating the model to v0_5.
See Traceback 1.
weights.onnx
recommended conda environment (Reproduce test outputs from test inputs (onnx))
%YAML 1.2
---
channels:
  - conda-forge
  - nodefaults
dependencies:
  - conda-forge::bioimageio.core
  - onnxruntime
  - pip
weights.onnx
conda compare (Reproduce test outputs from test inputs (onnx))
Success. All the packages in the specification file are present in the environment with matching
version and build string.
โŒ weights.torchscript Conda environment creation
โŒ weights.torchscript
Command '['conda', 'env', 'create', '--yes', '--file=/tmp/tmpsnn702v5/torchscript/env.yaml', '--name=8e61e58e234408358ebe72e5f3a59a6fb1adb59db8e7656f72bc034a857c269d', '--quiet']' returned non-zero exit status 1.
See Traceback 2.
weights.torchscript
recommended conda environment (Conda environment creation)
%YAML 1.2
---
channels:
  - conda-forge
  - nodefaults
dependencies:
  - conda-forge::bioimageio.core>=0.9.4
  - mkl ==2024.0.0
  - numpy <2
  - pip
  - pytorch==1.10.1
  - setuptools <70.0.0
  - torchaudio==0.10.1
  - torchvision==0.11.2
weights.torchscript
conda compare (Conda environment creation)
bioimageio.core not found mkl not found numpy not found pip not found pytorch not found
setuptools not found torchaudio not found torchvision not found

Traceback 1








    
โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ Traceback (most recent call last) โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚ /usr/share/miniconda/envs/4d82a6bc4511b4ad0459f190edebc373e2ca235c8452606867e45b1507100a34/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/4d82a6bc4511b4ad0459f190edebc373e2ca235c8452606867e45b1507100a34/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/4d82a6bc4511b4ad0459f190edebc373e2ca235c8452606867e45b1507100a34/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/4d82a6bc4511b4ad0459f190edebc373e2ca235c8452606867e45b1507100a34/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/4d82a6bc4511b4ad0459f190edebc373e2ca235c8452606867e45b1507100a34/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/4d82a6bc4511b4ad0459f190edebc373e2ca235c8452606867e45b1507100a34/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/4d82a6bc4511b4ad0459f190edebc373e2ca235c8452606867e45b1507100a34/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.

Traceback 2








    
โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ Traceback (most recent call last) โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚ /home/runner/.local/lib/python3.12/site-packages/bioimageio/core/_resource_tests.py:428 in _test โ”‚
โ”‚                                                                                                  โ”‚
โ”‚    425 โ”‚   โ”‚   raise RuntimeError("Conda not available") from e                                  โ”‚
โ”‚    426 โ”‚                                                                                         โ”‚
โ”‚    427 โ”‚   try:                                                                                  โ”‚
โ”‚ โฑ  428 โ”‚   โ”‚   run_command([CONDA_CMD, "run", "-n", env_name, "python", "--version"])            โ”‚
โ”‚    429 โ”‚   except Exception as e:                                                                โ”‚
โ”‚    430 โ”‚   โ”‚   working_dir.mkdir(parents=True, exist_ok=True)                                    โ”‚
โ”‚    431 โ”‚   โ”‚   path = working_dir / "env.yaml"                                                   โ”‚
โ”‚                                                                                                  โ”‚
โ”‚ /home/runner/.local/lib/python3.12/site-packages/bioimageio/core/_resource_tests.py:198 in defau โ”‚
โ”‚                                                                                                  โ”‚
โ”‚    195                                                                                           โ”‚
โ”‚    196 def default_run_command(args: Sequence[str]):                                             โ”‚
โ”‚    197 โ”‚   logger.info("running '{}'...", " ".join(args))                                        โ”‚
โ”‚ โฑ  198 โ”‚   _ = subprocess.check_call(args)                                                       โ”‚
โ”‚    199                                                                                           โ”‚
โ”‚    200                                                                                           โ”‚
โ”‚    201 def test_description(                                                                     โ”‚
โ”‚                                                                                                  โ”‚
โ”‚ /usr/lib/python3.12/subprocess.py:413 in check_call                                              โ”‚
โ”‚                                                                                                  โ”‚
โ”‚    410 โ”‚   โ”‚   cmd = kwargs.get("args")                                                          โ”‚
โ”‚    411 โ”‚   โ”‚   if cmd is None:                                                                   โ”‚
โ”‚    412 โ”‚   โ”‚   โ”‚   cmd = popenargs[0]                                                            โ”‚
โ”‚ โฑ  413 โ”‚   โ”‚   raise CalledProcessError(retcode, cmd)                                            โ”‚
โ”‚    414 โ”‚   return 0                                                                              โ”‚
โ”‚    415                                                                                           โ”‚
โ”‚    416                                                                                           โ”‚
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
CalledProcessError: Command '['conda', 'run', '-n', '8e61e58e234408358ebe72e5f3a59a6fb1adb59db8e7656f72bc034a857c269d', 'python', '--version']' returned non-zero exit status 1.

During handling of the above exception, another exception occurred:

โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ Traceback (most recent call last) โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚ /home/runner/.local/lib/python3.12/site-packages/bioimageio/core/_resource_tests.py:435 in _test โ”‚
โ”‚                                                                                                  โ”‚
โ”‚    432 โ”‚   โ”‚   try:                                                                              โ”‚
โ”‚    433 โ”‚   โ”‚   โ”‚   _ = path.write_bytes(encoded_env)                                             โ”‚
โ”‚    434 โ”‚   โ”‚   โ”‚   logger.debug("written conda env to {}", path)                                 โ”‚
โ”‚ โฑ  435 โ”‚   โ”‚   โ”‚   run_command(                                                                  โ”‚
โ”‚    436 โ”‚   โ”‚   โ”‚   โ”‚   [                                                                         โ”‚
โ”‚    437 โ”‚   โ”‚   โ”‚   โ”‚   โ”‚   CONDA_CMD,                                                            โ”‚
โ”‚    438 โ”‚   โ”‚   โ”‚   โ”‚   โ”‚   "env",                                                                โ”‚
โ”‚                                                                                                  โ”‚
โ”‚ /home/runner/.local/lib/python3.12/site-packages/bioimageio/core/_resource_tests.py:198 in defau โ”‚
โ”‚                                                                                                  โ”‚
โ”‚    195                                                                                           โ”‚
โ”‚    196 def default_run_command(args: Sequence[str]):                                             โ”‚
โ”‚    197 โ”‚   logger.info("running '{}'...", " ".join(args))                                        โ”‚
โ”‚ โฑ  198 โ”‚   _ = subprocess.check_call(args)                                                       โ”‚
โ”‚    199                                                                                           โ”‚
โ”‚    200                                                                                           โ”‚
โ”‚    201 def test_description(                                                                     โ”‚
โ”‚                                                                                                  โ”‚
โ”‚ /usr/lib/python3.12/subprocess.py:413 in check_call                                              โ”‚
โ”‚                                                                                                  โ”‚
โ”‚    410 โ”‚   โ”‚   cmd = kwargs.get("args")                                                          โ”‚
โ”‚    411 โ”‚   โ”‚   if cmd is None:                                                                   โ”‚
โ”‚    412 โ”‚   โ”‚   โ”‚   cmd = popenargs[0]                                                            โ”‚
โ”‚ โฑ  413 โ”‚   โ”‚   raise CalledProcessError(retcode, cmd)                                            โ”‚
โ”‚    414 โ”‚   return 0                                                                              โ”‚
โ”‚    415                                                                                           โ”‚
โ”‚    416                                                                                           โ”‚
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
CalledProcessError: Command '['conda', 'env', 'create', '--yes', '--file=/tmp/tmpsnn702v5/torchscript/env.yaml', '--name=8e61e58e234408358ebe72e5f3a59a6fb1adb59db8e7656f72bc034a857c269d', '--quiet']' returned non-zero exit status 1.