anondatasets commited on
Commit
09c791d
Β·
verified Β·
1 Parent(s): 8f43417

Update demo notebook - 2025-09-26T08:55:53.532580

Browse files
Files changed (1) hide show
  1. demo_features.ipynb +33 -8
demo_features.ipynb CHANGED
@@ -2,7 +2,7 @@
2
  "cells": [
3
  {
4
  "cell_type": "code",
5
- "execution_count": 35,
6
  "metadata": {},
7
  "outputs": [],
8
  "source": [
@@ -14,9 +14,34 @@
14
  },
15
  {
16
  "cell_type": "code",
17
- "execution_count": null,
18
  "metadata": {},
19
- "outputs": [],
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
20
  "source": [
21
  "# Load all three dataset configurations (cache is cleared, so normal loading)\n",
22
  "dataset_default = load_dataset(\"anondatasets/imageomics-2025\", \"default\", split='train')\n",
@@ -39,7 +64,7 @@
39
  },
40
  {
41
  "cell_type": "code",
42
- "execution_count": 37,
43
  "metadata": {},
44
  "outputs": [
45
  {
@@ -74,7 +99,7 @@
74
  },
75
  {
76
  "cell_type": "code",
77
- "execution_count": 38,
78
  "metadata": {},
79
  "outputs": [
80
  {
@@ -107,7 +132,7 @@
107
  },
108
  {
109
  "cell_type": "code",
110
- "execution_count": 39,
111
  "metadata": {},
112
  "outputs": [
113
  {
@@ -158,7 +183,7 @@
158
  },
159
  {
160
  "cell_type": "code",
161
- "execution_count": 40,
162
  "metadata": {},
163
  "outputs": [
164
  {
@@ -209,7 +234,7 @@
209
  },
210
  {
211
  "cell_type": "code",
212
- "execution_count": 41,
213
  "metadata": {},
214
  "outputs": [
215
  {
 
2
  "cells": [
3
  {
4
  "cell_type": "code",
5
+ "execution_count": 5,
6
  "metadata": {},
7
  "outputs": [],
8
  "source": [
 
14
  },
15
  {
16
  "cell_type": "code",
17
+ "execution_count": 6,
18
  "metadata": {},
19
+ "outputs": [
20
+ {
21
+ "name": "stderr",
22
+ "output_type": "stream",
23
+ "text": [
24
+ "Generating train split: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 487/487 [00:04<00:00, 103.41 examples/s]\n",
25
+ "Generating test split: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 122/122 [00:01<00:00, 98.13 examples/s] \n",
26
+ "Generating train split: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 487/487 [00:01<00:00, 452.59 examples/s]\n",
27
+ "Generating test split: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 122/122 [00:00<00:00, 456.87 examples/s]\n",
28
+ "Generating train split: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 487/487 [00:01<00:00, 472.22 examples/s]\n",
29
+ "Generating test split: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 122/122 [00:00<00:00, 343.75 examples/s]\n"
30
+ ]
31
+ },
32
+ {
33
+ "name": "stdout",
34
+ "output_type": "stream",
35
+ "text": [
36
+ "Sample idx: 22_19\n",
37
+ "All configs have same idx: True\n",
38
+ "\n",
39
+ "Default config features: ['idx', 'image_t0', 'image_t1', 'image_t2', 'canopy_height']\n",
40
+ "DINOv2 config features: ['idx', 'cls_t0', 'cls_t1', 'cls_t2', 'patch_t0', 'patch_t1', 'patch_t2']\n",
41
+ "DINOv3 config features: ['idx', 'cls_t0', 'cls_t1', 'cls_t2', 'patch_t0', 'patch_t1', 'patch_t2']\n"
42
+ ]
43
+ }
44
+ ],
45
  "source": [
46
  "# Load all three dataset configurations (cache is cleared, so normal loading)\n",
47
  "dataset_default = load_dataset(\"anondatasets/imageomics-2025\", \"default\", split='train')\n",
 
64
  },
65
  {
66
  "cell_type": "code",
67
+ "execution_count": 7,
68
  "metadata": {},
69
  "outputs": [
70
  {
 
99
  },
100
  {
101
  "cell_type": "code",
102
+ "execution_count": 8,
103
  "metadata": {},
104
  "outputs": [
105
  {
 
132
  },
133
  {
134
  "cell_type": "code",
135
+ "execution_count": 9,
136
  "metadata": {},
137
  "outputs": [
138
  {
 
183
  },
184
  {
185
  "cell_type": "code",
186
+ "execution_count": 10,
187
  "metadata": {},
188
  "outputs": [
189
  {
 
234
  },
235
  {
236
  "cell_type": "code",
237
+ "execution_count": 11,
238
  "metadata": {},
239
  "outputs": [
240
  {