MONAI/testing_data
This is testing data for use with MONAI unit tests.
18.4k
1{2 "$schema": "http://json-schema.org/draft-04/schema#",3 "type": "object",4 "properties": {5 "schema": {6 "description": "URL of the schema file.",7 "type": "string"8 },9 "version": {10 "description": "version number of the model package.",11 "type": "string"12 },13 "changelog": {14 "description": "dictionary relating previous version names to strings describing the version.",15 "type": "object"16 },17 "monai_version": {18 "description": "version of MONAI the model package was generated on.",19 "type": "string"20 },21 "pytorch_version": {22 "description": "version of PyTorch the model package was generated on.",23 "type": "string"24 },25 "numpy_version": {26 "description": "version of NumPy the model package was generated on.",27 "type": "string"28 },29 "optional_packages_version": {30 "description": "dictionary relating optional package names to their versions.",31 "type": "object"32 },33 "task": {34 "description": "plain-language description of what the model is meant to do.",35 "type": "string"36 },37 "description": {38 "description": "longer form plain-language description of what the model is, what it does, etc.",39 "type": "string"40 },41 "authors": {42 "description": "state author(s) of the model package.",43 "type": "string"44 },45 "copyright": {46 "description": "state copyright of the model package.",47 "type": "string"48 },49 "data_source": {50 "description": "where to download or prepare the data used in this model package.",51 "type": "string"52 },53 "data_type": {54 "description": "type of the data, like: `dicom`, `nibabel`, etc.",55 "type": "string"56 },57 "image_classes": {58 "description": "description for every class of the input image.",59 "type": "string"60 },61 "label_classes": {62 "description": "description for every class of the input label.",63 "type": "string"64 },65 "pred_classes": {66 "description": "description for every class of the output prediction.",67 "type": "string"68 },69 "eval_metrics": {70 "description": "dictionary relating evaluation metrics to the achieved scores.",71 "type": "object"72 },73 "intended_use": {74 "description": "what the model package is to be used for, ie. what task it accomplishes.",75 "type": "string"76 },77 "references": {78 "description": "list of published referenced relating to the model package.",79 "type": "array"80 },81 "autoencoder_data_format": {82 "description": "defines the format, shape, and meaning of inputs and outputs to the autoencoder model.",83 "type": "object",84 "properties": {85 "inputs": {86 "type": "object",87 "properties": {88 "image": {89 "type": "object",90 "properties": {91 "type": {92 "type": "string"93 },94 "format": {95 "type": "string"96 },97 "num_channels": {98 "type": "integer"99 },100 "spatial_shape": {101 "type": "array"102 },103 "dtype": {104 "type": "string"105 },106 "value_range": {107 "type": "array",108 "items": {109 "type": "number"110 }111 },112 "is_patch_data": {113 "type": "boolean"114 },115 "channel_def": {116 "type": "object"117 }118 },119 "required": [120 "type",121 "format",122 "num_channels",123 "spatial_shape",124 "dtype",125 "value_range"126 ]127 }128 },129 "required": [130 "image"131 ]132 },133 "outputs": {134 "type": "object",135 "properties": {136 "pred": {137 "type": "object",138 "properties": {139 "type": {140 "type": "string"141 },142 "format": {143 "type": "string"144 },145 "num_channels": {146 "type": "integer"147 },148 "spatial_shape": {149 "type": "array"150 },151 "dtype": {152 "type": "string"153 },154 "value_range": {155 "type": "array",156 "items": {157 "type": "number"158 }159 },160 "is_patch_data": {161 "type": "boolean"162 },163 "channel_def": {164 "type": "object"165 }166 },167 "required": [168 "type",169 "format",170 "num_channels",171 "spatial_shape",172 "dtype",173 "value_range"174 ]175 }176 },177 "required": [178 "pred"179 ]180 }181 },182 "required": [183 "inputs",184 "outputs"185 ]186 },187 "generator_data_format": {188 "description": "defines the format, shape, and meaning of inputs and outputs to the latent feature generator.",189 "type": "object",190 "properties": {191 "inputs": {192 "type": "object",193 "properties": {194 "latent": {195 "type": "object",196 "properties": {197 "type": {198 "type": "string"199 },200 "format": {201 "type": "string"202 },203 "num_channels": {204 "type": "integer"205 },206 "spatial_shape": {207 "type": "array"208 },209 "dtype": {210 "type": "string"211 },212 "value_range": {213 "type": "array",214 "items": {215 "type": "number"216 }217 },218 "is_patch_data": {219 "type": "boolean"220 },221 "channel_def": {222 "type": "object"223 }224 },225 "required": [226 "type",227 "format",228 "num_channels",229 "spatial_shape",230 "dtype",231 "value_range"232 ]233 },234 "condition": {235 "type": "object",236 "properties": {237 "type": {238 "type": "string"239 },240 "format": {241 "type": "string"242 },243 "num_channels": {244 "type": "integer"245 },246 "spatial_shape": {247 "type": "array"248 },249 "dtype": {250 "type": "string"251 },252 "value_range": {253 "type": "array",254 "items": {255 "type": "number"256 }257 },258 "is_patch_data": {259 "type": "boolean"260 },261 "channel_def": {262 "type": "object"263 }264 },265 "required": [266 "type",267 "format",268 "num_channels",269 "spatial_shape",270 "dtype",271 "value_range"272 ]273 }274 },275 "required": [276 "latent"277 ]278 },279 "outputs": {280 "type": "object",281 "properties": {282 "pred": {283 "type": "object",284 "properties": {285 "type": {286 "type": "string"287 },288 "format": {289 "type": "string"290 },291 "num_channels": {292 "type": "integer"293 },294 "spatial_shape": {295 "type": "array"296 },297 "dtype": {298 "type": "string"299 },300 "value_range": {301 "type": "array",302 "items": {303 "type": "number"304 }305 },306 "is_patch_data": {307 "type": "boolean"308 },309 "channel_def": {310 "type": "object"311 }312 },313 "required": [314 "type",315 "format",316 "num_channels",317 "spatial_shape",318 "dtype",319 "value_range"320 ]321 }322 },323 "required": [324 "pred"325 ]326 }327 },328 "required": [329 "inputs",330 "outputs"331 ]332 }333 },334 "required": [335 "schema",336 "version",337 "monai_version",338 "pytorch_version",339 "numpy_version",340 "optional_packages_version",341 "task",342 "description",343 "authors",344 "copyright",345 "autoencoder_data_format",346 "generator_data_format"347 ]348}349 