File size: 5,397 Bytes
83a44e8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
{
    "type": "Feature",
    "stac_version": "1.1.0",
    "stac_extensions": [
        "https://stac-extensions.github.io/mlm/v1.4.0/schema.json"
    ],
    "id": "SEN2SRLite_NonReference_RGBN_x4",
    "geometry": {
        "type": "Polygon",
        "coordinates": [
            [
                [
                    -180.0,
                    -90.0
                ],
                [
                    -180.0,
                    90.0
                ],
                [
                    180.0,
                    90.0
                ],
                [
                    180.0,
                    -90.0
                ],
                [
                    -180.0,
                    -90.0
                ]
            ]
        ]
    },
    "bbox": [
        -180,
        -90,
        180,
        90
    ],
    "properties": {
        "start_datetime": "1900-01-01T00:00:00Z",
        "end_datetime": "9999-01-01T00:00:00Z",
        "description": "A Swift Parameter-free Attention Network (SPAN) trained on the SEN2NAIPv2 dataset to enhance RGBN Sentinel-2 bands, improving spatial resolution from 10 meters to 2.5 meters.",
        "dependencies": [
            "torch",
            "safetensors.torch",
            "sen2sr"
        ],
        "mlm:framework": "pytorch",
        "mlm:framework_version": "2.1.2+cu121",
        "file:size": 1889984,
        "mlm:memory_size": 1,
        "mlm:accelerator": "cuda",
        "mlm:accelerator_constrained": false,
        "mlm:accelerator_summary": "Unknown",
        "mlm:name": "CNN_Light_SR",
        "mlm:architecture": "SPAN",
        "mlm:tasks": [
            "super-resolution"
        ],
        "mlm:input": [
            {
                "name": "4 Band Sentinel-2 10m bands",
                "bands": [
                    "B04",
                    "B03",
                    "B02",
                    "B08"
                ],
                "input": {
                    "shape": [
                        -1,
                        4,
                        128,
                        128
                    ],
                    "dim_order": [
                        "batch",
                        "channel",
                        "height",
                        "width"
                    ],
                    "data_type": "float16"
                },
                "pre_processing_function": null
            }
        ],
        "mlm:output": [
            {
                "name": "super-resolution",
                "tasks": [
                    "super-resolution"
                ],
                "result": {
                    "shape": [
                        -1,
                        4,
                        512,
                        512
                    ],
                    "dim_order": [
                        "batch",
                        "channel",
                        "height",
                        "width"
                    ],
                    "data_type": "float16"
                },
                "classification:classes": [],
                "post_processing_function": null
            }
        ],
        "mlm:total_parameters": 472496,
        "mlm:pretrained": true,
        "datetime": null
    },
    "links": [],
    "assets": {
        "trainable": {
            "href": "https://huggingface.co/tacofoundation/SEN2SR/resolve/main/SEN2SRLite/NonReference_RGBN_x4/model.safetensor",
            "type": "application/octet-stream; application=safetensor",
            "title": "Pytorch model weights checkpoint",
            "description": "The weights of the model in safetensor format.",
            "mlm:artifact_type": "safetensor.torch.save_file",
            "roles": [
                "mlm:model",
                "mlm:weights",
                "data"
            ]
        },
        "hardconstraint": {
            "href": "https://huggingface.co/tacofoundation/SEN2SR/resolve/main/SEN2SRLite/NonReference_RGBN_x4/hard_constraint.safetensor",
            "type": "application/octet-stream; application=safetensor",
            "title": "Pytorch hard constraint weights checkpoint. It is used to load faster the hard constraint module.",
            "description": "The weights of the model in safetensor format.",
            "mlm:artifact_type": "safetensor.torch.save_file",
            "roles": [
                "mlm:model",
                "mlm:weights",
                "data"
            ]
        },
        "source_code": {
            "href": "https://huggingface.co/tacofoundation/SEN2SR/resolve/main/SEN2SRLite/NonReference_RGBN_x4/load.py",
            "type": "text/x-python",
            "title": "Model load script",
            "description": "Python script to load the model.",
            "roles": [
                "mlm:source_code",
                "code"
            ]
        },
        "example_data": {
            "href": "https://huggingface.co/tacofoundation/SEN2SR/resolve/main/SEN2SRLite/NonReference_RGBN_x4/example_data.safetensor",
            "type": "application/octet-stream; application=safetensors",
            "title": "Example Sentinel-2 image",
            "description": "Example Sentinel-2 image for model inference.",
            "roles": [
                "mlm:example_data",
                "data"
            ]
        }
    },
    "collection": "SEN2SRLite"
}