Datasets:
Formats:
parquet
Languages:
English
Size:
1K - 10K
Tags:
remote-sensing
aerial-imagery
orthomosaic
lighting-invariance
representation-stability
vision-encoder
License:
Update demo notebook - 2025-09-24T10:13:05.946951
Browse files- demo_features.ipynb +4 -35
demo_features.ipynb
CHANGED
|
@@ -14,41 +14,10 @@
|
|
| 14 |
},
|
| 15 |
{
|
| 16 |
"cell_type": "code",
|
| 17 |
-
"execution_count":
|
| 18 |
"metadata": {},
|
| 19 |
-
"outputs": [
|
| 20 |
-
|
| 21 |
-
"name": "stdout",
|
| 22 |
-
"output_type": "stream",
|
| 23 |
-
"text": [
|
| 24 |
-
"Sample idx: 22_19\n",
|
| 25 |
-
"All configs have same idx: True\n",
|
| 26 |
-
"\n",
|
| 27 |
-
"Default config features: ['idx', 'image_t0', 'image_t1', 'image_t2', 'canopy_height']\n",
|
| 28 |
-
"DINOv2 config features: ['idx', 'cls_t0', 'cls_t1', 'cls_t2', 'patch_t0', 'patch_t1', 'patch_t2']\n",
|
| 29 |
-
"DINOv3 config features: ['idx', 'cls_t0', 'cls_t1', 'cls_t2', 'patch_t0', 'patch_t1', 'patch_t2']\n"
|
| 30 |
-
]
|
| 31 |
-
}
|
| 32 |
-
],
|
| 33 |
-
"source": [
|
| 34 |
-
"# Load all three dataset configurations (cache is cleared, so normal loading)\n",
|
| 35 |
-
"dataset_default = load_dataset(\"mpg-ranch/light-stable-semantics\", \"default\", split='train')\n",
|
| 36 |
-
"dataset_dinov2 = load_dataset(\"mpg-ranch/light-stable-semantics\", \"dinov2_base\", split='train')\n",
|
| 37 |
-
"dataset_dinov3 = load_dataset(\"mpg-ranch/light-stable-semantics\", \"dinov3_sat\", split='train')\n",
|
| 38 |
-
"\n",
|
| 39 |
-
"# Get the same sample across all configs (they have matching idx values)\n",
|
| 40 |
-
"sample_idx = 300\n",
|
| 41 |
-
"obs_default = dataset_default[sample_idx]\n",
|
| 42 |
-
"obs_dinov2 = dataset_dinov2[sample_idx] \n",
|
| 43 |
-
"obs_dinov3 = dataset_dinov3[sample_idx]\n",
|
| 44 |
-
"\n",
|
| 45 |
-
"print(f\"Sample idx: {obs_default['idx']}\")\n",
|
| 46 |
-
"print(f\"All configs have same idx: {obs_default['idx'] == obs_dinov2['idx'] == obs_dinov3['idx']}\")\n",
|
| 47 |
-
"print()\n",
|
| 48 |
-
"print(\"Default config features:\", list(obs_default.keys()))\n",
|
| 49 |
-
"print(\"DINOv2 config features:\", list(obs_dinov2.keys()))\n",
|
| 50 |
-
"print(\"DINOv3 config features:\", list(obs_dinov3.keys()))"
|
| 51 |
-
]
|
| 52 |
},
|
| 53 |
{
|
| 54 |
"cell_type": "code",
|
|
@@ -290,4 +259,4 @@
|
|
| 290 |
},
|
| 291 |
"nbformat": 4,
|
| 292 |
"nbformat_minor": 2
|
| 293 |
-
}
|
|
|
|
| 14 |
},
|
| 15 |
{
|
| 16 |
"cell_type": "code",
|
| 17 |
+
"execution_count": null,
|
| 18 |
"metadata": {},
|
| 19 |
+
"outputs": [],
|
| 20 |
+
"source": "# Load all three dataset configurations (cache is cleared, so normal loading)\ndataset_default = load_dataset(\"mpg-ranch/drone-lsr\", \"default\", split='train')\ndataset_dinov2 = load_dataset(\"mpg-ranch/drone-lsr\", \"dinov2_base\", split='train')\ndataset_dinov3 = load_dataset(\"mpg-ranch/drone-lsr\", \"dinov3_sat\", split='train')\n\n# Get the same sample across all configs (they have matching idx values)\nsample_idx = 300\nobs_default = dataset_default[sample_idx]\nobs_dinov2 = dataset_dinov2[sample_idx] \nobs_dinov3 = dataset_dinov3[sample_idx]\n\nprint(f\"Sample idx: {obs_default['idx']}\")\nprint(f\"All configs have same idx: {obs_default['idx'] == obs_dinov2['idx'] == obs_dinov3['idx']}\")\nprint()\nprint(\"Default config features:\", list(obs_default.keys()))\nprint(\"DINOv2 config features:\", list(obs_dinov2.keys()))\nprint(\"DINOv3 config features:\", list(obs_dinov3.keys()))"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 21 |
},
|
| 22 |
{
|
| 23 |
"cell_type": "code",
|
|
|
|
| 259 |
},
|
| 260 |
"nbformat": 4,
|
| 261 |
"nbformat_minor": 2
|
| 262 |
+
}
|