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 "network_data_format": {82 "description": "defines the format, shape, and meaning of inputs and outputs to the 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 "label": {129 "type": "object",130 "properties": {131 "type": {132 "type": "string"133 },134 "format": {135 "type": "string"136 },137 "num_channels": {138 "type": "integer"139 },140 "spatial_shape": {141 "type": "array"142 },143 "dtype": {144 "type": "string"145 },146 "value_range": {147 "type": "array",148 "items": {149 "type": "number"150 }151 },152 "is_patch_data": {153 "type": "boolean"154 },155 "channel_def": {156 "type": "object"157 }158 },159 "required": [160 "type",161 "format",162 "num_channels",163 "spatial_shape",164 "dtype",165 "value_range"166 ]167 }168 },169 "required": [170 "image"171 ]172 },173 "outputs": {174 "type": "object",175 "properties": {176 "pred": {177 "type": "object",178 "properties": {179 "type": {180 "type": "string"181 },182 "format": {183 "type": "string"184 },185 "num_channels": {186 "type": "integer"187 },188 "spatial_shape": {189 "type": "array"190 },191 "dtype": {192 "type": "string"193 },194 "value_range": {195 "type": "array",196 "items": {197 "type": "number"198 }199 },200 "is_patch_data": {201 "type": "boolean"202 },203 "channel_def": {204 "type": "object"205 }206 },207 "required": [208 "type",209 "format",210 "num_channels",211 "spatial_shape",212 "dtype",213 "value_range"214 ]215 }216 },217 "required": [218 "pred"219 ]220 }221 },222 "required": [223 "inputs",224 "outputs"225 ]226 }227 },228 "required": [229 "schema",230 "version",231 "monai_version",232 "pytorch_version",233 "numpy_version",234 "optional_packages_version",235 "task",236 "description",237 "authors",238 "copyright",239 "network_data_format"240 ]241}242 