forked from crim-ca/dlm-extension
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathitem_basic.json
138 lines (138 loc) · 2.82 KB
/
item_basic.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
{
"stac_version": "1.0.0",
"stac_extensions": [
"https://crim-ca.github.io/mlm-extension/v1.3.0/schema.json"
],
"type": "Feature",
"id": "example-model",
"collection": "ml-model-examples",
"geometry": {
"type": "Polygon",
"coordinates": [
[
[
-7.882190080512502,
37.13739173208318
],
[
-7.882190080512502,
58.21798141355221
],
[
27.911651652899923,
58.21798141355221
],
[
27.911651652899923,
37.13739173208318
],
[
-7.882190080512502,
37.13739173208318
]
]
]
},
"bbox": [
-7.882190080512502,
37.13739173208318,
27.911651652899923,
58.21798141355221
],
"properties": {
"description": "Basic STAC Item with only the MLM extension and no other extension cross-references.",
"datetime": null,
"start_datetime": "1900-01-01T00:00:00Z",
"end_datetime": "9999-12-31T23:59:59Z",
"mlm:name": "example-model",
"mlm:tasks": [
"classification"
],
"mlm:architecture": "ResNet",
"mlm:input": [
{
"name": "Model with RGB input that does not refer to any band.",
"bands": [],
"input": {
"shape": [
-1,
3,
64,
64
],
"dim_order": [
"batch",
"channel",
"height",
"width"
],
"data_type": "float32"
}
}
],
"mlm:output": [
{
"name": "classification",
"tasks": [
"classification"
],
"result": {
"shape": [
-1,
1
],
"dim_order": [
"batch",
"class"
],
"data_type": "uint8"
},
"classification_classes": [
{
"value": 0,
"name": "BACKGROUND",
"description": "Background non-city.",
"color_hint": [
0,
0,
0
]
},
{
"value": 1,
"name": "CITY",
"description": "A city is detected.",
"color_hint": [
0,
0,
255
]
}
]
}
]
},
"assets": {
"model": {
"href": "https://huggingface.co/example/model-card",
"title": "Pytorch weights checkpoint",
"description": "Example model.",
"type": "text/html",
"roles": [
"mlm:model"
]
}
},
"links": [
{
"rel": "collection",
"href": "./collection.json",
"type": "application/json"
},
{
"rel": "self",
"href": "./item_basic.json",
"type": "application/geo+json"
}
]
}