| ๐ก |
bioimageio format validation |
| status |
valid-format |
| source |
https://hypha.aicell.io/bioimage-io/artifacts/independent-shrimp/files/rdf.yaml?version=v0 |
| id |
10.5281/zenodo.6811491/6811492 |
| 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.pytorch_state_dict.dependencies |
Custom dependencies (conda:environment.yaml) specified. Avoid this whenever possible to allow execution in a wider range of software environments. |
| โ |
weights.pytorch_state_dict.pytorch_version |
missing. Please specify the PyTorch version these PyTorch state dict weights were created with. |
| โ |
weights.torchscript.pytorch_version |
missing. Please specify the PyTorch version these Torchscript weights were created with. |
| โ๏ธ |
weights.pytorch_state_dict |
Found existing conda environment 'fe5c5ca5d72e353852afde2ce12a86fddf7a9a2d68b7f586310f01a815a50dee' |
| โ |
weights.pytorch_state_dict |
Reproduce test outputs from test inputs (pytorch_state_dict) |
| โ |
weights.pytorch_state_dict |
/usr/share/miniconda/envs/fe5c5ca5d72e353852afde2ce12a86fddf7a9a2d68b7f586310f01a815a50dee/lib/python3.10/site-packages/torch/lib/libtorch_cpu.so: undefined symbol: iJIT_NotifyEvent |
|
|
See Traceback 1. |
|
weights.pytorch_state_dict |
recommended conda environment (Reproduce test outputs from test inputs (pytorch_state_dict)) |
|
|
%YAML 1.2
---
name: torch-em-deploy
channels:
- pytorch
- conda-forge
- nodefaults
dependencies:
- conda-forge::bioimageio.core
- pip
- pytorch>=1.6,<2.0
|
|
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. |
| โ |
weights.torchscript |
Conda environment creation |
| โ |
weights.torchscript |
Command '['conda', 'env', 'create', '--yes', '--file=/tmp/tmpi3fyqsk6/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/fe5c5ca5d72e353852afde2ce12a86fddf7a9a2d68b7f586310f01a815a50dee/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/fe5c5ca5d72e353852afde2ce12a86fddf7a9a2d68b7f586310f01a815a50dee/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/fe5c5ca5d72e353852afde2ce12a86fddf7a9a2d68b7f586310f01a815a50dee/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/fe5c5ca5d72e353852afde2ce12a86fddf7a9a2d68b7f586310f01a815a50dee/lib/p โ
โ โ
โ 107 โ โ โ if wf == "pytorch_state_dict": โ
โ 108 โ โ โ โ assert weights.pytorch_state_dict is not None โ
โ 109 โ โ โ โ try: โ
โ โฑ 110 โ โ โ โ โ from .pytorch_backend import PytorchModelAdapter โ
โ 111 โ โ โ โ โ โ
โ 112 โ โ โ โ โ return PytorchModelAdapter( โ
โ 113 โ โ โ โ โ โ model_description=model_description, devices=devices โ
โ โ
โ /usr/share/miniconda/envs/fe5c5ca5d72e353852afde2ce12a86fddf7a9a2d68b7f586310f01a815a50dee/lib/p โ
โ โ
โ 5 from pathlib import Path โ
โ 6 from typing import Any, List, Literal, Optional, Sequence, Union โ
โ 7 โ
โ โฑ 8 import torch โ
โ 9 from loguru import logger โ
โ 10 from numpy.typing import NDArray โ
โ 11 from torch import nn โ
โ โ
โ /usr/share/miniconda/envs/fe5c5ca5d72e353852afde2ce12a86fddf7a9a2d68b7f586310f01a815a50dee/lib/p โ
โ โ
โ 215 โ # See Note [Global dependencies] โ
โ 216 โ if USE_GLOBAL_DEPS: โ
โ 217 โ โ _load_global_deps() โ
โ โฑ 218 โ from torch._C import * # noqa: F403 โ
โ 219 โ
โ 220 # Appease the type checker; ordinarily this binding is inserted by the โ
โ 221 # torch._C module initialization code in C โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
ImportError: /usr/share/miniconda/envs/fe5c5ca5d72e353852afde2ce12a86fddf7a9a2d68b7f586310f01a815a50dee/lib/python3.10/site-packages/torch/lib/libtorch_cpu.so: undefined symbol: iJIT_NotifyEvent
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/tmpi3fyqsk6/torchscript/env.yaml', '--name=8e61e58e234408358ebe72e5f3a59a6fb1adb59db8e7656f72bc034a857c269d', '--quiet']' returned non-zero exit status 1.