You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 14, 2025. It is now read-only.
| ml-model:learning_approach| string |**REQUIRED**. The learning approach used to train the model. It is STRONGLY RECOMMENDED that you use one of the values described below, but other values are allowed. |
59
-
| ml-model:prediction_type| string |**REQUIRED.** The type of prediction that the model makes. It is STRONGLY RECOMMENDED that you use one of the values described below, but other values are allowed. |
58
+
| ml-model:learning_approach| string |**REQUIRED**. The learning approach used to train the model. It is STRONGLY RECOMMENDED that you use one of the values [described below](#ml-modellearning_approach), but other values are allowed. |
59
+
| ml-model:prediction_type| string |**REQUIRED.** The type of prediction that the model makes. It is STRONGLY RECOMMENDED that you use one of the values [described below](#ml-modelprediction_type), but other values are allowed. |
60
60
| ml-model:architecture| string |**REQUIRED.** Identifies the architecture employed by the model (e.g. RCNN, U-Net, etc.). This may be any string identifier, but publishers are encouraged to use well-known identifiers whenever possible. |
61
+
| ml-model:training-environment|[Training Environment Object](#training-environment-object)| Describes the environment used to train the model. See the Link [relation types](#relation-types) defined below for definitions of the data used during training. |
| operating-system | string | Identifies the operating system on which the model was trained. See the [Operating System](#operating-system) description below for recommended values. |
68
+
| processor-type | string | The type of processor used during training. Must be one of `"cpu"` or `"gpu"`. |
69
+
70
+
#### Operating System
71
+
72
+
It is STRONGLY RECOMMENDED that one of the following operating system identifiers (taken from the Python [`sys.platform`
73
+
values](https://docs.python.org/3/library/sys.html#sys.platform) be used whenever possible:
74
+
75
+
-`aix`
76
+
-`linux`
77
+
-`win32`
78
+
-`cygwin`
79
+
-`darwin`
80
+
81
+
### Additional Field Information
82
+
83
+
#### ml-model:learning_approach
84
+
85
+
Describes the learning approach used to train the model. It is STRONGLY RECOMMENDED that you use one of the
86
+
following values, but other values are allowed.
87
+
88
+
-`"supervised"`
89
+
-`"unsupervised"`
90
+
-`"semi-supervised"`
91
+
-`"reinforcement-learning"`
92
+
93
+
#### ml-model:prediction_type
94
+
95
+
Describes the type of predictions made by the model. It is STRONGLY RECOMMENDED that you use one of the
96
+
following values, but other values are allowed. Note that not all Prediction Type values are valid
97
+
for a given [Learning Approach](#ml-modellearning_approach).
98
+
99
+
-`"object-detection"`
100
+
-`"classification"`
101
+
-`"segmentation"`
102
+
-`"regression"`
61
103
62
104
## Asset Objects
63
105
64
106
### Roles
65
107
66
-
| Role Name | Description |
67
-
| ------------------------ | ----------- |
68
-
| ml-model:inference-runtime| Represents a file containing instructions for running a containerized version of the model to generate inferences. See the [Inference Runtimes](#inference-runtimes) section below for details on related fields. |
108
+
| Role Name | Description |
109
+
| -------------------------- | ----------- |
110
+
| ml-model:inference-runtime| Represents a file containing instructions for running a containerized version of the model to generate inferences. See the [Inference/Training Runtimes](#inferencetraining-runtimes) section below for details on related fields. |
111
+
| ml-model:training-runtime| Represents a file containing instructions for running a container to train the model. See the [Inference/Training Runtimes](#inferencetraining-runtimes) section below for details on related fields. |
69
112
70
-
### Inference Runtimes
113
+
### Inference/Training Runtimes
71
114
72
-
An Asset with the `ml-model:inference-runtime` role represents a file containing instructions for running a containerized version of the model to
73
-
generate inferences. Currently, only [Compose files](https://github.com/compose-spec/compose-spec/blob/master/spec.md#compose-file) are supported,
74
-
but support is planned for other formats, including [Common Workflow Language (CWL)](https://www.commonwl.org/) and [Workflow Description Language
75
-
(WDL)](https://openwdl.org/).
115
+
Assets with the `ml-model:inference-runtime`or `ml-model:training-runtime`role represents files containing instructions for running a containerized
116
+
version of the model to either generate inferences or train the model, respectively. Currently, only [Compose
117
+
files](https://github.com/compose-spec/compose-spec/blob/master/spec.md#compose-file) are supported, but support is planned for other formats,
118
+
including [Common Workflow Language (CWL)](https://www.commonwl.org/) and [Workflow Description Language (WDL)](https://openwdl.org/).
76
119
77
120
The `"type"` field should be used to indicate the format of this asset. Assets in the Compose format should have a `"type"` value of
| ml-model:image | Links with this relation type refer to Docker images built using the model. The `href` value for links of this type should contain a fully-qualified URI for the image as would be required for a command like `docker pull`. These URIs should be of the form `<registry_domain>/<user_or_organization_name>/<image_name>:<tag>`. Links with this relation type should have a `"type"` value of `"docker-image"` to indicate a Docker image. |
163
+
| ml-model:inferencing-image | Links with this relation type refer to Docker images that may be used to generate inferences using the model. The `href` value for links of this type should contain a fully-qualified URI for the image as would be required for a command like `docker pull`. These URIs should be of the form `<registry_domain>/<user_or_organization_name>/<image_name>:<tag>`. Links with this relation type should have a `"type"` value of `"docker-image"` to indicate a Docker image. |
164
+
| ml-model:training-image | Links with this relation type refer to Docker images that may be used to train the model. The `href` value for links of this type should contain a fully-qualified URI for the image as would be required for a command like `docker pull`. These URIs should be of the form `<registry_domain>/<user_or_organization_name>/<image_name>:<tag>`. Links with this relation type should have a `"type"` value of `"docker-image"` to indicate a Docker image. |
165
+
| ml-model:train-data | Links with this relation type refer to datasets used to train the model. It is STRONGLY RECOMMENDED that these links refer to a STAC Collection implementing the [Label Extension](https://github.com/stac-extensions/label) |
166
+
| ml-model:test-data | Links with this relation type refer to datasets used to test the model during training. It is STRONGLY RECOMMENDED that these links refer to a STAC Collection implementing the [Label Extension](https://github.com/stac-extensions/label). |
0 commit comments