Skip to content

Commit 5d9db77

Browse files
pre-commit-ci[bot]Elarwei001
authored andcommitted
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent cf4525d commit 5d9db77

1 file changed

Lines changed: 185 additions & 30 deletions

File tree

gget/gget_pineapple.py

Lines changed: 185 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -26,42 +26,197 @@
2626
# ---------------------------------------------------------------------------
2727

2828
_SEGMENTATION: dict[str, dict[str, str]] = {
29-
"almeida_2023": {"file_id": "1BlHvG0MkWwuqGA3ImUJ09D9E7rsVt5ER", "data_authors": "Almeida et al. 2023", "size_gb": "0.927", "license": "CC BY 4.0"},
30-
"arvidsson_2022": {"file_id": "12Cwk5MX3V9z_2KmBJyn5jXc-JuW7-e2k", "data_authors": "Arvidsson et al. 2022", "size_gb": "0.028", "license": "CC BY 4.0"},
31-
"cellpose_2021": {"file_id": "12Z9PpJEdSE0bHALNxpAAeD6WA9aBhMEO", "data_authors": "Stringer et al. 2021", "size_gb": "0.356", "license": "Custom NC"},
32-
"conic_2022": {"file_id": "1nXOnDkWpRfU5iGXFZe06-CQaAMFq13f_", "data_authors": "Graham et al. 2022", "size_gb": "1.920", "license": "CC BY-NC 4.0"},
33-
"cryonuseg_2021": {"file_id": "1cfIY9BSlTe0RNaq1V8fZmKJwWyBs4WEj", "data_authors": "Mahbod et al. 2021", "size_gb": "0.031", "license": "MIT"},
34-
"dsb_2019": {"file_id": "1qgAyMcrZwLudlA4vjy7jwuKTjAxT7Ky2", "data_authors": "Caicedo et al. 2019", "size_gb": "0.112", "license": "CC0 1.0 Universal"},
35-
"hpa_2022": {"file_id": "1NyV6xuIAIuaSiXp0H-4VCV8tjaNSpXtX", "data_authors": "HPA 2022", "size_gb": "1.630", "license": "CC BY 4.0"},
36-
"livecell_2021": {"file_id": "1JNXkZS0QSQW25b-opoyKomPKCfO_3pkx", "data_authors": "Edlund et al. 2021", "size_gb": "3.260", "license": "CC BY-NC 4.0"},
37-
"nuinseg_2024": {"file_id": "1gSmbsfhO7aP1yBB5R9XMMrAH4hy-Thmm", "data_authors": "Mahbod et al. 2024", "size_gb": "0.347", "license": "MIT"},
38-
"pannuke_2020": {"file_id": "1J9CeH9t23EpottNyUKeBBkYpTfMR3EgT", "data_authors": "Gamper et al. 2020", "size_gb": "1.250", "license": "CC BY-NC-SA 4.0"},
39-
"tissuenet_2022": {"file_id": "1ilHrzUuGfobSdFmTezyynCWCLIoJwaHQ", "data_authors": "Greenwald et al. 2022", "size_gb": "4.270", "license": "Modified NC Apache"},
40-
"vicar_2021": {"file_id": "12tJOlIHZPFqp8GLek_jV__Uhhgsa530_", "data_authors": "Vicar et al. 2021", "size_gb": "0.113", "license": "CC BY 4.0"},
29+
"almeida_2023": {
30+
"file_id": "1BlHvG0MkWwuqGA3ImUJ09D9E7rsVt5ER",
31+
"data_authors": "Almeida et al. 2023",
32+
"size_gb": "0.927",
33+
"license": "CC BY 4.0",
34+
},
35+
"arvidsson_2022": {
36+
"file_id": "12Cwk5MX3V9z_2KmBJyn5jXc-JuW7-e2k",
37+
"data_authors": "Arvidsson et al. 2022",
38+
"size_gb": "0.028",
39+
"license": "CC BY 4.0",
40+
},
41+
"cellpose_2021": {
42+
"file_id": "12Z9PpJEdSE0bHALNxpAAeD6WA9aBhMEO",
43+
"data_authors": "Stringer et al. 2021",
44+
"size_gb": "0.356",
45+
"license": "Custom NC",
46+
},
47+
"conic_2022": {
48+
"file_id": "1nXOnDkWpRfU5iGXFZe06-CQaAMFq13f_",
49+
"data_authors": "Graham et al. 2022",
50+
"size_gb": "1.920",
51+
"license": "CC BY-NC 4.0",
52+
},
53+
"cryonuseg_2021": {
54+
"file_id": "1cfIY9BSlTe0RNaq1V8fZmKJwWyBs4WEj",
55+
"data_authors": "Mahbod et al. 2021",
56+
"size_gb": "0.031",
57+
"license": "MIT",
58+
},
59+
"dsb_2019": {
60+
"file_id": "1qgAyMcrZwLudlA4vjy7jwuKTjAxT7Ky2",
61+
"data_authors": "Caicedo et al. 2019",
62+
"size_gb": "0.112",
63+
"license": "CC0 1.0 Universal",
64+
},
65+
"hpa_2022": {
66+
"file_id": "1NyV6xuIAIuaSiXp0H-4VCV8tjaNSpXtX",
67+
"data_authors": "HPA 2022",
68+
"size_gb": "1.630",
69+
"license": "CC BY 4.0",
70+
},
71+
"livecell_2021": {
72+
"file_id": "1JNXkZS0QSQW25b-opoyKomPKCfO_3pkx",
73+
"data_authors": "Edlund et al. 2021",
74+
"size_gb": "3.260",
75+
"license": "CC BY-NC 4.0",
76+
},
77+
"nuinseg_2024": {
78+
"file_id": "1gSmbsfhO7aP1yBB5R9XMMrAH4hy-Thmm",
79+
"data_authors": "Mahbod et al. 2024",
80+
"size_gb": "0.347",
81+
"license": "MIT",
82+
},
83+
"pannuke_2020": {
84+
"file_id": "1J9CeH9t23EpottNyUKeBBkYpTfMR3EgT",
85+
"data_authors": "Gamper et al. 2020",
86+
"size_gb": "1.250",
87+
"license": "CC BY-NC-SA 4.0",
88+
},
89+
"tissuenet_2022": {
90+
"file_id": "1ilHrzUuGfobSdFmTezyynCWCLIoJwaHQ",
91+
"data_authors": "Greenwald et al. 2022",
92+
"size_gb": "4.270",
93+
"license": "Modified NC Apache",
94+
},
95+
"vicar_2021": {
96+
"file_id": "12tJOlIHZPFqp8GLek_jV__Uhhgsa530_",
97+
"data_authors": "Vicar et al. 2021",
98+
"size_gb": "0.113",
99+
"license": "CC BY 4.0",
100+
},
41101
}
42102

43103
_BENCHMARK: dict[str, dict[str, str]] = {
44-
"amgad_2022": {"file_id": "1JHlGon82bYPhpeOwbRYxz4uRxhcxasr3", "data_authors": "Amgad et al. 2022", "size_gb": "0.062", "license": "CC0 1.0"},
45-
"cnmc_2019": {"file_id": "1a7Wt0kwt3Uq1NKMtBsWmesMH4tCwqkgi", "data_authors": "C-NMC Challenge", "size_gb": "0.182", "license": "CC BY 3.0"},
46-
"fracatlas_2023": {"file_id": "1vyXNA4bxMFk-7Hw59TPiWIfX-BzTSmCd", "data_authors": "Abedeen et al. 2023", "size_gb": "0.247", "license": "CC BY 4.0"},
47-
"isic_2019": {"file_id": "1CDGbcBxs7SUemGwpBtoVYJblqCNgw469", "data_authors": "ISIC", "size_gb": "1.140", "license": "CC BY-NC 4.0"},
48-
"kermany_2018": {"file_id": "1Xk7LWa7HWzTN7Nxsa8MuefBmzNsz4VuM", "data_authors": "Kermany et al. 2018", "size_gb": "0.638", "license": "CC BY 4.0"},
49-
"kromp_2023": {"file_id": "16RXNWQXlw_scJ75DwowngxJHYB2rZsW7", "data_authors": "Kromp et al. 2023", "size_gb": "0.025", "license": "CC BY 4.0"},
50-
"matek_2021": {"file_id": "1BDYtZoqSUUZQmWgcEBtopaJTWgwrAXGz", "data_authors": "Matek et al. 2021", "size_gb": "0.508", "license": "CC BY 4.0"},
51-
"murphy_2001": {"file_id": "1fl4dwbjX11SpDRhwbIi2-lbcswvyr1F_", "data_authors": "Murphy et al. 2001", "size_gb": "0.033", "license": "MIT"},
52-
"opencell_2024": {"file_id": "1nlqt7ujUPciEoAKriIu_bqE5fUJZX4nx", "data_authors": "OpenCell", "size_gb": "1.030", "license": "MIT"},
53-
"phillip_2021": {"file_id": "1yE4BblXBAPJDT1AnK3gghHAS3cZUFCd6", "data_authors": "Phillip et al. 2021", "size_gb": "0.032", "license": "MIT"},
54-
"recursion_2019": {"file_id": "1209hlaKcOqKdEGOwvlRhJakX8ciN-SX8", "data_authors": "Recursion", "size_gb": "0.037", "license": "CC BY-NC-SA 4.0"},
55-
"verma_2021": {"file_id": "1AyU-4-doJY2GX3dmf7ryPDCvDA_x4PPD", "data_authors": "Verma et al. 2021", "size_gb": "0.021", "license": "CC BY-NC-SA 4.0"},
56-
"runtime": {"file_id": "1BlXIv49oxj2dsiiEASbTEiyh7QpIjYb_", "data_authors": "MIT", "size_gb": "0.017", "license": "MIT"},
104+
"amgad_2022": {
105+
"file_id": "1JHlGon82bYPhpeOwbRYxz4uRxhcxasr3",
106+
"data_authors": "Amgad et al. 2022",
107+
"size_gb": "0.062",
108+
"license": "CC0 1.0",
109+
},
110+
"cnmc_2019": {
111+
"file_id": "1a7Wt0kwt3Uq1NKMtBsWmesMH4tCwqkgi",
112+
"data_authors": "C-NMC Challenge",
113+
"size_gb": "0.182",
114+
"license": "CC BY 3.0",
115+
},
116+
"fracatlas_2023": {
117+
"file_id": "1vyXNA4bxMFk-7Hw59TPiWIfX-BzTSmCd",
118+
"data_authors": "Abedeen et al. 2023",
119+
"size_gb": "0.247",
120+
"license": "CC BY 4.0",
121+
},
122+
"isic_2019": {
123+
"file_id": "1CDGbcBxs7SUemGwpBtoVYJblqCNgw469",
124+
"data_authors": "ISIC",
125+
"size_gb": "1.140",
126+
"license": "CC BY-NC 4.0",
127+
},
128+
"kermany_2018": {
129+
"file_id": "1Xk7LWa7HWzTN7Nxsa8MuefBmzNsz4VuM",
130+
"data_authors": "Kermany et al. 2018",
131+
"size_gb": "0.638",
132+
"license": "CC BY 4.0",
133+
},
134+
"kromp_2023": {
135+
"file_id": "16RXNWQXlw_scJ75DwowngxJHYB2rZsW7",
136+
"data_authors": "Kromp et al. 2023",
137+
"size_gb": "0.025",
138+
"license": "CC BY 4.0",
139+
},
140+
"matek_2021": {
141+
"file_id": "1BDYtZoqSUUZQmWgcEBtopaJTWgwrAXGz",
142+
"data_authors": "Matek et al. 2021",
143+
"size_gb": "0.508",
144+
"license": "CC BY 4.0",
145+
},
146+
"murphy_2001": {
147+
"file_id": "1fl4dwbjX11SpDRhwbIi2-lbcswvyr1F_",
148+
"data_authors": "Murphy et al. 2001",
149+
"size_gb": "0.033",
150+
"license": "MIT",
151+
},
152+
"opencell_2024": {
153+
"file_id": "1nlqt7ujUPciEoAKriIu_bqE5fUJZX4nx",
154+
"data_authors": "OpenCell",
155+
"size_gb": "1.030",
156+
"license": "MIT",
157+
},
158+
"phillip_2021": {
159+
"file_id": "1yE4BblXBAPJDT1AnK3gghHAS3cZUFCd6",
160+
"data_authors": "Phillip et al. 2021",
161+
"size_gb": "0.032",
162+
"license": "MIT",
163+
},
164+
"recursion_2019": {
165+
"file_id": "1209hlaKcOqKdEGOwvlRhJakX8ciN-SX8",
166+
"data_authors": "Recursion",
167+
"size_gb": "0.037",
168+
"license": "CC BY-NC-SA 4.0",
169+
},
170+
"verma_2021": {
171+
"file_id": "1AyU-4-doJY2GX3dmf7ryPDCvDA_x4PPD",
172+
"data_authors": "Verma et al. 2021",
173+
"size_gb": "0.021",
174+
"license": "CC BY-NC-SA 4.0",
175+
},
176+
"runtime": {
177+
"file_id": "1BlXIv49oxj2dsiiEASbTEiyh7QpIjYb_",
178+
"data_authors": "MIT",
179+
"size_gb": "0.017",
180+
"license": "MIT",
181+
},
57182
}
58183

59184
_WEIGHTS: dict[str, dict[str, str]] = {
60-
"dino_vit_small": {"file_id": "1xuyTyPsuPiDtec8ojZwAyXSDq9AzyPQX", "filename": "dinov2_vits14_imagenet.safetensors", "data_authors": "Huggingface/candle", "size_gb": "0.097", "license": "Apache License 2.0"},
61-
"dino_vit_base": {"file_id": "19vy-A-KTaaF3vsWKxu0JpA0gaATU52Gh", "filename": "dinov2_vitb14_imagenet.safetensors", "data_authors": "Huggingface/candle", "size_gb": "0.330", "license": "Apache License 2.0"},
62-
"dinobloom_vit_base": {"file_id": "1XhzSiO2IDKppr2UCTAio_niLSk5QA6hG", "filename": "dinov2_vitb14_dinobloom.safetensors", "data_authors": "Marr Lab", "size_gb": "0.330", "license": "Apache License 2.0"},
63-
"scdino_vit_small": {"file_id": "1omwQNJVMkrbYCstSF11p5HsErHzINTz6", "filename": "scdino_vit_small.safetensors", "data_authors": "Snijder Lab", "size_gb": "0.097", "license": "Apache License 2.0"},
64-
"subcell_vit_base": {"file_id": "1LZn3xlgVVd2jQIpXst4CMCYN58F-VG-x", "filename": "subcell_vit_base.safetensors", "data_authors": "Lundberg Lab", "size_gb": "0.330", "license": "MIT License"},
185+
"dino_vit_small": {
186+
"file_id": "1xuyTyPsuPiDtec8ojZwAyXSDq9AzyPQX",
187+
"filename": "dinov2_vits14_imagenet.safetensors",
188+
"data_authors": "Huggingface/candle",
189+
"size_gb": "0.097",
190+
"license": "Apache License 2.0",
191+
},
192+
"dino_vit_base": {
193+
"file_id": "19vy-A-KTaaF3vsWKxu0JpA0gaATU52Gh",
194+
"filename": "dinov2_vitb14_imagenet.safetensors",
195+
"data_authors": "Huggingface/candle",
196+
"size_gb": "0.330",
197+
"license": "Apache License 2.0",
198+
},
199+
"dinobloom_vit_base": {
200+
"file_id": "1XhzSiO2IDKppr2UCTAio_niLSk5QA6hG",
201+
"filename": "dinov2_vitb14_dinobloom.safetensors",
202+
"data_authors": "Marr Lab",
203+
"size_gb": "0.330",
204+
"license": "Apache License 2.0",
205+
},
206+
"scdino_vit_small": {
207+
"file_id": "1omwQNJVMkrbYCstSF11p5HsErHzINTz6",
208+
"filename": "scdino_vit_small.safetensors",
209+
"data_authors": "Snijder Lab",
210+
"size_gb": "0.097",
211+
"license": "Apache License 2.0",
212+
},
213+
"subcell_vit_base": {
214+
"file_id": "1LZn3xlgVVd2jQIpXst4CMCYN58F-VG-x",
215+
"filename": "subcell_vit_base.safetensors",
216+
"data_authors": "Lundberg Lab",
217+
"size_gb": "0.330",
218+
"license": "MIT License",
219+
},
65220
}
66221

67222
_CATEGORIES: dict[str, dict[str, dict[str, str]]] = {

0 commit comments

Comments
 (0)