A bioimage.io dataset resource description file (dataset RDF) describes a dataset relevant to bioimage processing.
General notes on this documentation:
symbol | explanation |
---|---|
field type hint |
A fields's expected type may be shortened. If so, the abbreviated or full type is displayed below the field's description and can expanded to view further (nested) details if available. |
Union[A, B, ...] | indicates that a field value may be of type A or B, etc. |
Literal[a, b, ...] | indicates that a field value must be the specific value a or b, etc. |
Type* := Type (restrictions) | A field Type* followed by an asterisk indicates that annotations, e.g. value restriction apply. These are listed in parentheses in the expanded type description. They are not always intuitively understandable and merely a hint at more complex validation. |
<type>.v<major>_<minor>.<sub spec> | Subparts of a spec might be taken from another spec type or format version. |
field ≝ default |
Default field values are indicated after '≝' and make a field optional. However, type and format_version alwyas need to be set for resource descriptions written as YAML files and determine which bioimage.io specification applies. They are optional only when creating a resource description in Python code using the appropriate, type and format_version specific class. |
field ≝ 🡇 |
Default field value is not displayed in-line, but in the code block below. |
∈📦 | Files referenced in fields which are marked with '∈📦 ' are included when packaging the resource to a .zip archive. The resource description YAML file (RDF) is always included well as 'rdf.yaml'. |
Optional[generic.v0_2.AttachmentsDescr]
generic.v0_2.AttachmentsDescr:
Sequence[Union[Path*, _internal.io.RelativeFilePath, _internal.url.HttpUrl, Url*]*]
Sequence of Union of
- Path (PathType(path_type='file'))
- _internal.io.RelativeFilePath
- _internal.url.HttpUrl
- Url (max_length=2083 allowed_schemes=['http', 'https'])
(union_mode='left_to_right'; AfterValidator(wo_special_file_name); PlainSerializer(func=<function _package at 0x7fa1164f4540>, return_type=PydanticUndefined, when_used='unless-none'))
Sequence[generic.v0_2.Author]
generic.v0_2.Author:
Example: '0000-0001-2345-6789'
Optional[_internal.types.OrcidId]
Sequence[generic.v0_2.BadgeDescr]
generic.v0_2.BadgeDescr:
Example: 'Open in Colab'
Example: 'https://colab.research.google.com/assets/colab-badge.svg'
Union[Union[Path*, _internal.io.RelativeFilePath]*, _internal.url.HttpUrl, Url*, None]
Union of
- Union[Path (PathType(path_type='file')), _internal.io.RelativeFilePath] (AfterValidator(wo_special_file_name); PlainSerializer(func=<function _package at 0x7fa1164f4540>, return_type=PydanticUndefined, when_used='unless-none'))
- _internal.url.HttpUrl
- Url (max_length=2083 allowed_schemes=['http', 'https'])
- None
Example: 'https://colab.research.google.com/github/HenriquesLab/ZeroCostDL4Mic/blob/master/Colab_notebooks/U-net_2D_ZeroCostDL4Mic.ipynb'
Sequence[generic.v0_2.CiteEntry]
generic.v0_2.CiteEntry:
Example: {'bioimageio': {'my_custom_key': 3837283, 'another_key': {'nested': 'value'}}, 'imagej': {'macro_dir': 'path/to/macro/file'}}
Cover images. Please use an image smaller than 500KB and an aspect ratio width to height of 2:1. The supported image formats are: ('.gif', '.jpeg', '.jpg', '.png', '.svg', '.tif', '.tiff') Example: 'cover.png'
Sequence[Union[Path*, _internal.io.RelativeFilePath, _internal.url.HttpUrl]*]
Sequence of Union of
- Path (PathType(path_type='file'); Predicate(func=<function PurePath.is_absolute at 0x7fa119a63ba0>))
- _internal.io.RelativeFilePath
- _internal.url.HttpUrl
(union_mode='left_to_right'; WithSuffix(suffix=('.gif', '.jpeg', '.jpg', '.png', '.svg', '.tif', '.tiff'), case_sensitive=False); PlainSerializer(func=<function _package at 0x7fa1164f4540>, return_type=PydanticUndefined, when_used='unless-none'))
Examples: ['https://raw.githubusercontent.com/bioimage-io/spec-bioimage-io/main/example_descriptions/models/unet2d_nuclei_broad/README.md', '…']
Optional[Union[Path*, _internal.io.RelativeFilePath, _internal.url.HttpUrl, Url*]*]
Optional[Union of
- Path (PathType(path_type='file'))
- _internal.io.RelativeFilePath
- _internal.url.HttpUrl
- Url (max_length=2083 allowed_schemes=['http', 'https'])
(union_mode='left_to_right'; AfterValidator(wo_special_file_name); PlainSerializer(func=<function _package at 0x7fa1164f4540>, return_type=PydanticUndefined, when_used='unless-none'))]
Example: 'https://github.com/bioimage-io/spec-bioimage-io/tree/main/example_descriptions/models/unet2d_nuclei_broad'
Union[str*, Union[Path*, _internal.io.RelativeFilePath, _internal.url.HttpUrl, Url*]*, None]
Union of
-
str (Len(min_length=1, max_length=2))
-
Union of
- Path (PathType(path_type='file'))
- _internal.io.RelativeFilePath
- _internal.url.HttpUrl
- Url (max_length=2083 allowed_schemes=['http', 'https'])
(union_mode='left_to_right'; AfterValidator(wo_special_file_name); PlainSerializer(func=<function _package at 0x7fa1164f4540>, return_type=PydanticUndefined, when_used='unless-none'))
-
None
Optional[str (Len(min_length=1, max_length=1))]
Examples: ['CC0-1.0', 'MIT', 'BSD-2-Clause']
Union[_internal.license_id.LicenseId, _internal.license_id.DeprecatedLicenseId, str, None]
Example: ('ilastik/ilastik', 'deepimagej/deepimagej', 'zero/notebook_u-net_3d_zerocostdl4mic')
Sequence[generic.v0_2.Maintainer]
generic.v0_2.Maintainer:
Example: '0000-0001-2345-6789'
Optional[_internal.types.OrcidId]
Optional[str (AfterValidator(_remove_slashes))]
Optional[Union[Path*, _internal.io.RelativeFilePath, _internal.url.HttpUrl, Url*]*]
Optional[Union of
- Path (PathType(path_type='file'))
- _internal.io.RelativeFilePath
- _internal.url.HttpUrl
- Url (max_length=2083 allowed_schemes=['http', 'https'])
(union_mode='left_to_right')]
Example: ('unet2d', 'pytorch', 'nucleus', 'segmentation', 'dsb2018')
Optional[generic.v0_2.Uploader]
generic.v0_2.Uploader:
Optional[str (AfterValidator(_remove_slashes))]
Optional[_internal.version_type.Version]
0000-0001-2345-6789
Open in Colab
https://colab.research.google.com/assets/colab-badge.svg
{'bioimageio': {'my_custom_key': 3837283, 'another_key': {'nested': 'value'}}, 'imagej': {'macro_dir': 'path/to/macro/file'}}
cover.png
- CC0-1.0
- MIT
- BSD-2-Clause
('ilastik/ilastik', 'deepimagej/deepimagej', 'zero/notebook_u-net_3d_zerocostdl4mic')
0000-0001-2345-6789
('unet2d', 'pytorch', 'nucleus', 'segmentation', 'dsb2018')