Meehai commited on
Commit
8ecda92
·
1 Parent(s): 798a629

update_statistics

Browse files
scripts/semantic_mapper/semantic_mapper.py CHANGED
@@ -304,6 +304,10 @@ class SemanticMedian(TaskMapper, NpIORepresentation):
304
  def merge_fn(self, dep_data: list[MemoryData]) -> MemoryData:
305
  return MemoryData(np.eye(self.n_classes)[sum(dep_data).argmax(-1)].astype(np.uint8))
306
 
 
 
 
 
307
  @overrides
308
  def make_images(self, data: ReprOut) -> np.ndarray:
309
  data_output = data.output.argmax(-1) if np.issubdtype(data.output.dtype, np.floating) else data.output
 
304
  def merge_fn(self, dep_data: list[MemoryData]) -> MemoryData:
305
  return MemoryData(np.eye(self.n_classes)[sum(dep_data).argmax(-1)].astype(np.uint8))
306
 
307
+ @overrides
308
+ def memory_to_disk_fmt(self, memory_data: MemoryData) -> DiskData:
309
+ return memory_data.argmax(-1).astype(np.uint8)
310
+
311
  @overrides
312
  def make_images(self, data: ReprOut) -> np.ndarray:
313
  data_output = data.output.argmax(-1) if np.issubdtype(data.output.dtype, np.floating) else data.output
scripts/update_stastistics.py ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env python3
2
+ from argparse import ArgumentParser, Namespace
3
+ from tqdm import tqdm
4
+ from pathlib import Path
5
+ import numpy as np
6
+ # from lovely_numpy import lo
7
+ from functools import partial
8
+ from multiprocessing import Pool
9
+
10
+ def do_one(file_path: Path, src_u: np.ndarray, src_std: np.ndarray, dest_u: np.ndarray, dest_std: np.ndarray):
11
+ x = np.load(file_path)["arr_0"]
12
+ y = (x - src_u) / src_std * dest_std + dest_u
13
+ y = y.astype(x.dtype)
14
+ np.savez_compressed(file_path, y)
15
+
16
+ def get_args() -> Namespace:
17
+ parser = ArgumentParser()
18
+ parser.add_argument("data_dir", type=Path)
19
+ parser.add_argument("--statistics_file", type=Path, required=True)
20
+ parser.add_argument("--source_task", required=True)
21
+ parser.add_argument("--n_workers", type=int, default=1)
22
+ args = parser.parse_args()
23
+ return args
24
+
25
+ def main(args: Namespace):
26
+ files = [x for x in args.data_dir.iterdir() if x.suffix == ".npz"]
27
+ assert len(files) > 0
28
+ stats = np.load(args.statistics_file, allow_pickle=True)["arr_0"].item()
29
+ assert args.source_task in stats, (stats.keys(), args.source_task)
30
+ src_u, src_std = stats[args.source_task][2].numpy(), stats[args.source_task][3].numpy()
31
+ assert (dest_task := args.data_dir.parent.name) in stats, (stats.keys(), dest_task)
32
+ dest_u, dest_std = stats[dest_task][2].numpy(), stats[dest_task][3].numpy()
33
+ assert src_u.shape == dest_u.shape and src_std.shape == dest_std.shape, (src_u, dest_u, src_std, dest_std)
34
+
35
+ fn = partial(do_one, src_u=src_u, src_std=src_std, dest_u=dest_u, dest_std=dest_std)
36
+ map_fn = Pool(args.n_workers).imap if args.n_workers > 1 else map
37
+ for _ in tqdm(map_fn(fn, files), total=len(files)): pass
38
+
39
+ if __name__ == "__main__":
40
+ main(get_args())
vre_dronescapes/cntrs.ipynb CHANGED
@@ -2,7 +2,7 @@
2
  "cells": [
3
  {
4
  "cell_type": "code",
5
- "execution_count": 11,
6
  "metadata": {},
7
  "outputs": [],
8
  "source": [
@@ -11,16 +11,33 @@
11
  },
12
  {
13
  "cell_type": "code",
14
- "execution_count": 12,
15
  "metadata": {},
16
- "outputs": [],
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
17
  "source": [
18
  "!ls | grep -v \"cfg.yaml\\|commands.txt\\|pycache\\|collages\\|csv\\|ipynb\" | while read line; do ls $line | while read line2; do cnt=$(ls \"$line\"/\"$line2\"/npz | wc -l); echo \"$line\",\"$line2\",\"$cnt\"; done; done > cnts.csv"
19
  ]
20
  },
21
  {
22
  "cell_type": "code",
23
- "execution_count": 13,
24
  "metadata": {},
25
  "outputs": [
26
  {
@@ -65,19 +82,19 @@
65
  " <tr>\n",
66
  " <th>2</th>\n",
67
  " <td>atanasie_DJI_0652_full</td>\n",
68
- " <td>containing</td>\n",
69
- " <td>9021</td>\n",
70
  " </tr>\n",
71
  " <tr>\n",
72
  " <th>3</th>\n",
73
  " <td>atanasie_DJI_0652_full</td>\n",
74
- " <td>depth_marigold</td>\n",
75
  " <td>9021</td>\n",
76
  " </tr>\n",
77
  " <tr>\n",
78
  " <th>4</th>\n",
79
  " <td>atanasie_DJI_0652_full</td>\n",
80
- " <td>normals_svd(depth_marigold)</td>\n",
81
  " <td>9021</td>\n",
82
  " </tr>\n",
83
  " <tr>\n",
@@ -87,38 +104,38 @@
87
  " <td>...</td>\n",
88
  " </tr>\n",
89
  " <tr>\n",
90
- " <th>309</th>\n",
91
  " <td>slanic_DJI_0956_0957_combined_sliced_780_9780</td>\n",
92
- " <td>semantic_mask2former_swin_coco_converted</td>\n",
93
  " <td>9001</td>\n",
94
  " </tr>\n",
95
  " <tr>\n",
96
- " <th>310</th>\n",
97
  " <td>slanic_DJI_0956_0957_combined_sliced_780_9780</td>\n",
98
- " <td>semantic_mask2former_swin_mapillary_converted</td>\n",
99
  " <td>9001</td>\n",
100
  " </tr>\n",
101
  " <tr>\n",
102
- " <th>311</th>\n",
103
  " <td>slanic_DJI_0956_0957_combined_sliced_780_9780</td>\n",
104
  " <td>sky-and-water</td>\n",
105
  " <td>9001</td>\n",
106
  " </tr>\n",
107
  " <tr>\n",
108
- " <th>312</th>\n",
109
  " <td>slanic_DJI_0956_0957_combined_sliced_780_9780</td>\n",
110
  " <td>transportation</td>\n",
111
  " <td>9001</td>\n",
112
  " </tr>\n",
113
  " <tr>\n",
114
- " <th>313</th>\n",
115
  " <td>slanic_DJI_0956_0957_combined_sliced_780_9780</td>\n",
116
  " <td>vegetation</td>\n",
117
  " <td>9001</td>\n",
118
  " </tr>\n",
119
  " </tbody>\n",
120
  "</table>\n",
121
- "<p>314 rows × 3 columns</p>\n",
122
  "</div>"
123
  ],
124
  "text/plain": [
@@ -129,26 +146,26 @@
129
  "3 atanasie_DJI_0652_full \n",
130
  "4 atanasie_DJI_0652_full \n",
131
  ".. ... \n",
132
- "309 slanic_DJI_0956_0957_combined_sliced_780_9780 \n",
133
- "310 slanic_DJI_0956_0957_combined_sliced_780_9780 \n",
134
- "311 slanic_DJI_0956_0957_combined_sliced_780_9780 \n",
135
- "312 slanic_DJI_0956_0957_combined_sliced_780_9780 \n",
136
- "313 slanic_DJI_0956_0957_combined_sliced_780_9780 \n",
137
  "\n",
138
  " task counts \n",
139
  "0 buildings 9021 \n",
140
  "1 buildings(nearby) 9021 \n",
141
- "2 containing 9021 \n",
142
- "3 depth_marigold 9021 \n",
143
- "4 normals_svd(depth_marigold) 9021 \n",
144
  ".. ... ... \n",
145
- "309 semantic_mask2former_swin_coco_converted 9001 \n",
146
- "310 semantic_mask2former_swin_mapillary_converted 9001 \n",
147
- "311 sky-and-water 9001 \n",
148
- "312 transportation 9001 \n",
149
- "313 vegetation 9001 \n",
150
  "\n",
151
- "[314 rows x 3 columns]"
152
  ]
153
  },
154
  "metadata": {},
@@ -163,14 +180,14 @@
163
  },
164
  {
165
  "cell_type": "code",
166
- "execution_count": 14,
167
  "metadata": {},
168
  "outputs": [
169
  {
170
  "name": "stderr",
171
  "output_type": "stream",
172
  "text": [
173
- "/tmp/ipykernel_698033/2846805734.py:4: DeprecationWarning: DataFrameGroupBy.apply operated on the grouping columns. This behavior is deprecated, and in a future version of pandas the grouping columns will be excluded from the operation. Either pass `include_groups=False` to exclude the groupings or explicitly select the grouping columns after groupby to silence this warning.\n",
174
  " df2 = df.groupby(\"scene\").apply(f).reset_index().drop(columns=[\"level_1\"]).set_index(\"scene\")\n"
175
  ]
176
  },
@@ -198,8 +215,10 @@
198
  " <th>rgb</th>\n",
199
  " <th>buildings</th>\n",
200
  " <th>buildings(nearby)</th>\n",
 
201
  " <th>containing</th>\n",
202
  " <th>depth_marigold</th>\n",
 
203
  " <th>normals_svd(depth_marigold)</th>\n",
204
  " <th>safe-landing-no-sseg</th>\n",
205
  " <th>safe-landing-semantics</th>\n",
@@ -209,10 +228,10 @@
209
  " <th>semantic_mask2former_r50_mapillary_converted</th>\n",
210
  " <th>semantic_mask2former_swin_coco_converted</th>\n",
211
  " <th>semantic_mask2former_swin_mapillary_converted</th>\n",
 
212
  " <th>sky-and-water</th>\n",
213
  " <th>transportation</th>\n",
214
  " <th>vegetation</th>\n",
215
- " <th>semantic_output</th>\n",
216
  " </tr>\n",
217
  " <tr>\n",
218
  " <th>scene</th>\n",
@@ -234,6 +253,8 @@
234
  " <th></th>\n",
235
  " <th></th>\n",
236
  " <th></th>\n",
 
 
237
  " </tr>\n",
238
  " </thead>\n",
239
  " <tbody>\n",
@@ -242,8 +263,10 @@
242
  " <td>9021</td>\n",
243
  " <td>9021</td>\n",
244
  " <td>9021</td>\n",
 
245
  " <td>9021</td>\n",
246
  " <td>9021</td>\n",
 
247
  " <td>9021</td>\n",
248
  " <td>9021</td>\n",
249
  " <td>9021</td>\n",
@@ -253,18 +276,20 @@
253
  " <td>9021</td>\n",
254
  " <td>9021</td>\n",
255
  " <td>9021</td>\n",
 
256
  " <td>9021</td>\n",
257
  " <td>9021</td>\n",
258
  " <td>9021</td>\n",
259
- " <td>0</td>\n",
260
  " </tr>\n",
261
  " <tr>\n",
262
  " <th>barsana_DJI_0500_0501_combined_sliced_2700_14700</th>\n",
263
  " <td>12001</td>\n",
264
  " <td>12001</td>\n",
265
  " <td>12001</td>\n",
 
266
  " <td>12001</td>\n",
267
  " <td>12001</td>\n",
 
268
  " <td>12001</td>\n",
269
  " <td>12001</td>\n",
270
  " <td>12001</td>\n",
@@ -274,18 +299,20 @@
274
  " <td>12001</td>\n",
275
  " <td>12001</td>\n",
276
  " <td>12001</td>\n",
 
277
  " <td>12001</td>\n",
278
  " <td>12001</td>\n",
279
  " <td>12001</td>\n",
280
- " <td>0</td>\n",
281
  " </tr>\n",
282
  " <tr>\n",
283
  " <th>comana_DJI_0881_full</th>\n",
284
  " <td>9022</td>\n",
285
  " <td>9022</td>\n",
286
  " <td>9022</td>\n",
 
287
  " <td>9022</td>\n",
288
  " <td>9022</td>\n",
 
289
  " <td>9022</td>\n",
290
  " <td>9022</td>\n",
291
  " <td>9022</td>\n",
@@ -295,18 +322,20 @@
295
  " <td>9022</td>\n",
296
  " <td>9022</td>\n",
297
  " <td>9022</td>\n",
 
298
  " <td>9022</td>\n",
299
  " <td>9022</td>\n",
300
  " <td>9022</td>\n",
301
- " <td>0</td>\n",
302
  " </tr>\n",
303
  " <tr>\n",
304
  " <th>gradistei_DJI_0787_0788_0789_combined_sliced_3510_13110</th>\n",
305
  " <td>9601</td>\n",
306
  " <td>9601</td>\n",
307
  " <td>9601</td>\n",
 
308
  " <td>9601</td>\n",
309
  " <td>9601</td>\n",
 
310
  " <td>9601</td>\n",
311
  " <td>9601</td>\n",
312
  " <td>9601</td>\n",
@@ -316,18 +345,20 @@
316
  " <td>9601</td>\n",
317
  " <td>9601</td>\n",
318
  " <td>9601</td>\n",
 
319
  " <td>9601</td>\n",
320
  " <td>9601</td>\n",
321
  " <td>9601</td>\n",
322
- " <td>0</td>\n",
323
  " </tr>\n",
324
  " <tr>\n",
325
  " <th>herculane_DJI_0021_full</th>\n",
326
  " <td>9022</td>\n",
327
  " <td>9022</td>\n",
328
  " <td>9022</td>\n",
 
329
  " <td>9022</td>\n",
330
  " <td>9022</td>\n",
 
331
  " <td>9022</td>\n",
332
  " <td>9022</td>\n",
333
  " <td>9022</td>\n",
@@ -337,18 +368,20 @@
337
  " <td>9022</td>\n",
338
  " <td>9022</td>\n",
339
  " <td>9022</td>\n",
 
340
  " <td>9022</td>\n",
341
  " <td>9022</td>\n",
342
  " <td>9022</td>\n",
343
- " <td>0</td>\n",
344
  " </tr>\n",
345
  " <tr>\n",
346
  " <th>jupiter_DJI_0703_0704_0705_combined_sliced_10650_21715</th>\n",
347
  " <td>11066</td>\n",
348
  " <td>11066</td>\n",
349
  " <td>11066</td>\n",
 
350
  " <td>11066</td>\n",
351
  " <td>11066</td>\n",
 
352
  " <td>11066</td>\n",
353
  " <td>11066</td>\n",
354
  " <td>11066</td>\n",
@@ -358,18 +391,20 @@
358
  " <td>11066</td>\n",
359
  " <td>11066</td>\n",
360
  " <td>11066</td>\n",
 
361
  " <td>11066</td>\n",
362
  " <td>11066</td>\n",
363
  " <td>11066</td>\n",
364
- " <td>0</td>\n",
365
  " </tr>\n",
366
  " <tr>\n",
367
  " <th>norway_210821_DJI_0015_full</th>\n",
368
  " <td>2983</td>\n",
369
  " <td>2983</td>\n",
370
  " <td>2983</td>\n",
 
371
  " <td>2983</td>\n",
372
  " <td>2983</td>\n",
 
373
  " <td>2983</td>\n",
374
  " <td>2983</td>\n",
375
  " <td>2983</td>\n",
@@ -379,10 +414,10 @@
379
  " <td>2983</td>\n",
380
  " <td>2983</td>\n",
381
  " <td>2983</td>\n",
 
382
  " <td>2983</td>\n",
383
  " <td>2983</td>\n",
384
  " <td>2983</td>\n",
385
- " <td>0</td>\n",
386
  " </tr>\n",
387
  " <tr>\n",
388
  " <th>norway_DJI_0741_540p</th>\n",
@@ -404,14 +439,18 @@
404
  " <td>9021</td>\n",
405
  " <td>9021</td>\n",
406
  " <td>9021</td>\n",
 
 
407
  " </tr>\n",
408
  " <tr>\n",
409
  " <th>olanesti_DJI_0416_full</th>\n",
410
  " <td>9022</td>\n",
411
  " <td>9022</td>\n",
412
  " <td>9022</td>\n",
 
413
  " <td>9022</td>\n",
414
  " <td>9022</td>\n",
 
415
  " <td>9022</td>\n",
416
  " <td>9022</td>\n",
417
  " <td>9022</td>\n",
@@ -421,10 +460,10 @@
421
  " <td>9022</td>\n",
422
  " <td>9022</td>\n",
423
  " <td>9022</td>\n",
 
424
  " <td>9022</td>\n",
425
  " <td>9022</td>\n",
426
  " <td>9022</td>\n",
427
- " <td>0</td>\n",
428
  " </tr>\n",
429
  " <tr>\n",
430
  " <th>ovaselu_DJI_0372_540p</th>\n",
@@ -446,35 +485,41 @@
446
  " <td>9022</td>\n",
447
  " <td>9022</td>\n",
448
  " <td>9022</td>\n",
 
 
449
  " </tr>\n",
450
  " <tr>\n",
451
  " <th>paris_youtube_1_540p</th>\n",
452
  " <td>8455</td>\n",
453
- " <td>0</td>\n",
454
- " <td>0</td>\n",
455
  " <td>8455</td>\n",
456
  " <td>8455</td>\n",
457
  " <td>8455</td>\n",
458
  " <td>8455</td>\n",
459
- " <td>0</td>\n",
460
  " <td>8455</td>\n",
461
  " <td>8455</td>\n",
462
  " <td>8455</td>\n",
463
  " <td>8455</td>\n",
464
- " <td>0</td>\n",
465
- " <td>555</td>\n",
466
- " <td>0</td>\n",
467
- " <td>0</td>\n",
468
- " <td>0</td>\n",
469
- " <td>0</td>\n",
 
 
 
 
 
470
  " </tr>\n",
471
  " <tr>\n",
472
  " <th>petrova_DJI_0525_0526_combined_sliced_2850_11850</th>\n",
473
  " <td>9001</td>\n",
474
  " <td>9001</td>\n",
475
  " <td>9001</td>\n",
 
476
  " <td>9001</td>\n",
477
  " <td>9001</td>\n",
 
478
  " <td>9001</td>\n",
479
  " <td>9001</td>\n",
480
  " <td>9001</td>\n",
@@ -484,10 +529,10 @@
484
  " <td>9001</td>\n",
485
  " <td>9001</td>\n",
486
  " <td>9001</td>\n",
 
487
  " <td>9001</td>\n",
488
  " <td>9001</td>\n",
489
  " <td>9001</td>\n",
490
- " <td>0</td>\n",
491
  " </tr>\n",
492
  " <tr>\n",
493
  " <th>politehnica_DJI_0741_a2_540p</th>\n",
@@ -509,6 +554,8 @@
509
  " <td>9021</td>\n",
510
  " <td>9021</td>\n",
511
  " <td>9021</td>\n",
 
 
512
  " </tr>\n",
513
  " <tr>\n",
514
  " <th>raciu_DJI_0418_540p</th>\n",
@@ -530,27 +577,31 @@
530
  " <td>9022</td>\n",
531
  " <td>9022</td>\n",
532
  " <td>9022</td>\n",
 
 
533
  " </tr>\n",
534
  " <tr>\n",
535
  " <th>riodejaneiro_youtube_1_540p</th>\n",
536
  " <td>6264</td>\n",
537
- " <td>0</td>\n",
538
- " <td>0</td>\n",
539
  " <td>6264</td>\n",
540
  " <td>6264</td>\n",
541
  " <td>6264</td>\n",
542
  " <td>6264</td>\n",
543
- " <td>0</td>\n",
544
  " <td>6264</td>\n",
545
  " <td>6264</td>\n",
546
  " <td>6264</td>\n",
547
  " <td>6264</td>\n",
548
- " <td>0</td>\n",
549
- " <td>3870</td>\n",
550
- " <td>0</td>\n",
551
- " <td>0</td>\n",
552
- " <td>0</td>\n",
553
- " <td>0</td>\n",
 
 
 
 
 
554
  " </tr>\n",
555
  " <tr>\n",
556
  " <th>rome_youtube_1_540p</th>\n",
@@ -572,27 +623,31 @@
572
  " <td>14074</td>\n",
573
  " <td>14074</td>\n",
574
  " <td>14074</td>\n",
 
 
575
  " </tr>\n",
576
  " <tr>\n",
577
  " <th>sanfrancisco_youtube_1_540p</th>\n",
578
  " <td>5635</td>\n",
579
- " <td>0</td>\n",
580
- " <td>0</td>\n",
581
  " <td>5635</td>\n",
582
  " <td>5635</td>\n",
583
  " <td>5635</td>\n",
584
  " <td>5635</td>\n",
585
- " <td>0</td>\n",
586
  " <td>5635</td>\n",
587
  " <td>5635</td>\n",
588
  " <td>5635</td>\n",
589
  " <td>5635</td>\n",
590
- " <td>0</td>\n",
591
- " <td>4965</td>\n",
592
- " <td>0</td>\n",
593
- " <td>0</td>\n",
594
- " <td>0</td>\n",
595
- " <td>0</td>\n",
 
 
 
 
 
596
  " </tr>\n",
597
  " <tr>\n",
598
  " <th>slanic_DJI_0956_0957_combined_sliced_780_9780</th>\n",
@@ -613,28 +668,32 @@
613
  " <td>9001</td>\n",
614
  " <td>9001</td>\n",
615
  " <td>9001</td>\n",
616
- " <td>0</td>\n",
 
 
617
  " </tr>\n",
618
  " <tr>\n",
619
  " <th>total</th>\n",
620
  " <td>160254</td>\n",
621
- " <td>139900</td>\n",
622
- " <td>139900</td>\n",
 
 
 
 
 
 
 
623
  " <td>160254</td>\n",
624
  " <td>160254</td>\n",
625
  " <td>160254</td>\n",
626
  " <td>160254</td>\n",
627
- " <td>139900</td>\n",
628
  " <td>160254</td>\n",
629
  " <td>160254</td>\n",
 
 
630
  " <td>160254</td>\n",
631
  " <td>160254</td>\n",
632
- " <td>139900</td>\n",
633
- " <td>149290</td>\n",
634
- " <td>139900</td>\n",
635
- " <td>139900</td>\n",
636
- " <td>139900</td>\n",
637
- " <td>50160</td>\n",
638
  " </tr>\n",
639
  " </tbody>\n",
640
  "</table>\n",
@@ -653,15 +712,15 @@
653
  "norway_DJI_0741_540p 9021 9021 \n",
654
  "olanesti_DJI_0416_full 9022 9022 \n",
655
  "ovaselu_DJI_0372_540p 9022 9022 \n",
656
- "paris_youtube_1_540p 8455 0 \n",
657
  "petrova_DJI_0525_0526_combined_sliced_2850_11850 9001 9001 \n",
658
  "politehnica_DJI_0741_a2_540p 9021 9021 \n",
659
  "raciu_DJI_0418_540p 9022 9022 \n",
660
- "riodejaneiro_youtube_1_540p 6264 0 \n",
661
  "rome_youtube_1_540p 14074 14074 \n",
662
- "sanfrancisco_youtube_1_540p 5635 0 \n",
663
  "slanic_DJI_0956_0957_combined_sliced_780_9780 9001 9001 \n",
664
- "total 160254 139900 \n",
665
  "\n",
666
  " buildings(nearby) \\\n",
667
  "scene \n",
@@ -675,15 +734,37 @@
675
  "norway_DJI_0741_540p 9021 \n",
676
  "olanesti_DJI_0416_full 9022 \n",
677
  "ovaselu_DJI_0372_540p 9022 \n",
678
- "paris_youtube_1_540p 0 \n",
679
  "petrova_DJI_0525_0526_combined_sliced_2850_11850 9001 \n",
680
  "politehnica_DJI_0741_a2_540p 9021 \n",
681
  "raciu_DJI_0418_540p 9022 \n",
682
- "riodejaneiro_youtube_1_540p 0 \n",
683
  "rome_youtube_1_540p 14074 \n",
684
- "sanfrancisco_youtube_1_540p 0 \n",
685
  "slanic_DJI_0956_0957_combined_sliced_780_9780 9001 \n",
686
- "total 139900 \n",
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
687
  "\n",
688
  " containing \\\n",
689
  "scene \n",
@@ -729,6 +810,28 @@
729
  "slanic_DJI_0956_0957_combined_sliced_780_9780 9001 \n",
730
  "total 160254 \n",
731
  "\n",
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
732
  " normals_svd(depth_marigold) \\\n",
733
  "scene \n",
734
  "atanasie_DJI_0652_full 9021 \n",
@@ -785,15 +888,15 @@
785
  "norway_DJI_0741_540p 9021 \n",
786
  "olanesti_DJI_0416_full 9022 \n",
787
  "ovaselu_DJI_0372_540p 9022 \n",
788
- "paris_youtube_1_540p 0 \n",
789
  "petrova_DJI_0525_0526_combined_sliced_2850_11850 9001 \n",
790
  "politehnica_DJI_0741_a2_540p 9021 \n",
791
  "raciu_DJI_0418_540p 9022 \n",
792
- "riodejaneiro_youtube_1_540p 0 \n",
793
  "rome_youtube_1_540p 14074 \n",
794
- "sanfrancisco_youtube_1_540p 0 \n",
795
  "slanic_DJI_0956_0957_combined_sliced_780_9780 9001 \n",
796
- "total 139900 \n",
797
  "\n",
798
  " semantic_mask2former_coco_47429163_0 \\\n",
799
  "scene \n",
@@ -895,15 +998,15 @@
895
  "norway_DJI_0741_540p 9021 \n",
896
  "olanesti_DJI_0416_full 9022 \n",
897
  "ovaselu_DJI_0372_540p 9022 \n",
898
- "paris_youtube_1_540p 0 \n",
899
  "petrova_DJI_0525_0526_combined_sliced_2850_11850 9001 \n",
900
  "politehnica_DJI_0741_a2_540p 9021 \n",
901
  "raciu_DJI_0418_540p 9022 \n",
902
- "riodejaneiro_youtube_1_540p 0 \n",
903
  "rome_youtube_1_540p 14074 \n",
904
- "sanfrancisco_youtube_1_540p 0 \n",
905
  "slanic_DJI_0956_0957_combined_sliced_780_9780 9001 \n",
906
- "total 139900 \n",
907
  "\n",
908
  " semantic_mask2former_swin_mapillary_converted \\\n",
909
  "scene \n",
@@ -917,15 +1020,37 @@
917
  "norway_DJI_0741_540p 9021 \n",
918
  "olanesti_DJI_0416_full 9022 \n",
919
  "ovaselu_DJI_0372_540p 9022 \n",
920
- "paris_youtube_1_540p 555 \n",
921
  "petrova_DJI_0525_0526_combined_sliced_2850_11850 9001 \n",
922
  "politehnica_DJI_0741_a2_540p 9021 \n",
923
  "raciu_DJI_0418_540p 9022 \n",
924
- "riodejaneiro_youtube_1_540p 3870 \n",
925
  "rome_youtube_1_540p 14074 \n",
926
- "sanfrancisco_youtube_1_540p 4965 \n",
927
  "slanic_DJI_0956_0957_combined_sliced_780_9780 9001 \n",
928
- "total 149290 \n",
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
929
  "\n",
930
  " sky-and-water \\\n",
931
  "scene \n",
@@ -939,81 +1064,37 @@
939
  "norway_DJI_0741_540p 9021 \n",
940
  "olanesti_DJI_0416_full 9022 \n",
941
  "ovaselu_DJI_0372_540p 9022 \n",
942
- "paris_youtube_1_540p 0 \n",
943
  "petrova_DJI_0525_0526_combined_sliced_2850_11850 9001 \n",
944
  "politehnica_DJI_0741_a2_540p 9021 \n",
945
  "raciu_DJI_0418_540p 9022 \n",
946
- "riodejaneiro_youtube_1_540p 0 \n",
947
  "rome_youtube_1_540p 14074 \n",
948
- "sanfrancisco_youtube_1_540p 0 \n",
949
  "slanic_DJI_0956_0957_combined_sliced_780_9780 9001 \n",
950
- "total 139900 \n",
951
  "\n",
952
- " transportation \\\n",
953
- "scene \n",
954
- "atanasie_DJI_0652_full 9021 \n",
955
- "barsana_DJI_0500_0501_combined_sliced_2700_14700 12001 \n",
956
- "comana_DJI_0881_full 9022 \n",
957
- "gradistei_DJI_0787_0788_0789_combined_sliced_35... 9601 \n",
958
- "herculane_DJI_0021_full 9022 \n",
959
- "jupiter_DJI_0703_0704_0705_combined_sliced_1065... 11066 \n",
960
- "norway_210821_DJI_0015_full 2983 \n",
961
- "norway_DJI_0741_540p 9021 \n",
962
- "olanesti_DJI_0416_full 9022 \n",
963
- "ovaselu_DJI_0372_540p 9022 \n",
964
- "paris_youtube_1_540p 0 \n",
965
- "petrova_DJI_0525_0526_combined_sliced_2850_11850 9001 \n",
966
- "politehnica_DJI_0741_a2_540p 9021 \n",
967
- "raciu_DJI_0418_540p 9022 \n",
968
- "riodejaneiro_youtube_1_540p 0 \n",
969
- "rome_youtube_1_540p 14074 \n",
970
- "sanfrancisco_youtube_1_540p 0 \n",
971
- "slanic_DJI_0956_0957_combined_sliced_780_9780 9001 \n",
972
- "total 139900 \n",
973
- "\n",
974
- " vegetation \\\n",
975
- "scene \n",
976
- "atanasie_DJI_0652_full 9021 \n",
977
- "barsana_DJI_0500_0501_combined_sliced_2700_14700 12001 \n",
978
- "comana_DJI_0881_full 9022 \n",
979
- "gradistei_DJI_0787_0788_0789_combined_sliced_35... 9601 \n",
980
- "herculane_DJI_0021_full 9022 \n",
981
- "jupiter_DJI_0703_0704_0705_combined_sliced_1065... 11066 \n",
982
- "norway_210821_DJI_0015_full 2983 \n",
983
- "norway_DJI_0741_540p 9021 \n",
984
- "olanesti_DJI_0416_full 9022 \n",
985
- "ovaselu_DJI_0372_540p 9022 \n",
986
- "paris_youtube_1_540p 0 \n",
987
- "petrova_DJI_0525_0526_combined_sliced_2850_11850 9001 \n",
988
- "politehnica_DJI_0741_a2_540p 9021 \n",
989
- "raciu_DJI_0418_540p 9022 \n",
990
- "riodejaneiro_youtube_1_540p 0 \n",
991
- "rome_youtube_1_540p 14074 \n",
992
- "sanfrancisco_youtube_1_540p 0 \n",
993
- "slanic_DJI_0956_0957_combined_sliced_780_9780 9001 \n",
994
- "total 139900 \n",
995
- "\n",
996
- " semantic_output \n",
997
- "scene \n",
998
- "atanasie_DJI_0652_full 0 \n",
999
- "barsana_DJI_0500_0501_combined_sliced_2700_14700 0 \n",
1000
- "comana_DJI_0881_full 0 \n",
1001
- "gradistei_DJI_0787_0788_0789_combined_sliced_35... 0 \n",
1002
- "herculane_DJI_0021_full 0 \n",
1003
- "jupiter_DJI_0703_0704_0705_combined_sliced_1065... 0 \n",
1004
- "norway_210821_DJI_0015_full 0 \n",
1005
- "norway_DJI_0741_540p 9021 \n",
1006
- "olanesti_DJI_0416_full 0 \n",
1007
- "ovaselu_DJI_0372_540p 9022 \n",
1008
- "paris_youtube_1_540p 0 \n",
1009
- "petrova_DJI_0525_0526_combined_sliced_2850_11850 0 \n",
1010
- "politehnica_DJI_0741_a2_540p 9021 \n",
1011
- "raciu_DJI_0418_540p 9022 \n",
1012
- "riodejaneiro_youtube_1_540p 0 \n",
1013
- "rome_youtube_1_540p 14074 \n",
1014
- "sanfrancisco_youtube_1_540p 0 \n",
1015
- "slanic_DJI_0956_0957_combined_sliced_780_9780 0 \n",
1016
- "total 50160 "
1017
  ]
1018
  },
1019
  "metadata": {},
 
2
  "cells": [
3
  {
4
  "cell_type": "code",
5
+ "execution_count": 5,
6
  "metadata": {},
7
  "outputs": [],
8
  "source": [
 
11
  },
12
  {
13
  "cell_type": "code",
14
+ "execution_count": 6,
15
  "metadata": {},
16
+ "outputs": [
17
+ {
18
+ "name": "stdout",
19
+ "output_type": "stream",
20
+ "text": [
21
+ "ls: cannot access 'comana_DJI_0881_full/camera_normals_output/npz': No such file or directory\n",
22
+ "ls: cannot access 'comana_DJI_0881_full/depth_output/npz': No such file or directory\n"
23
+ ]
24
+ },
25
+ {
26
+ "name": "stdout",
27
+ "output_type": "stream",
28
+ "text": [
29
+ "ls: cannot access 'norway_210821_DJI_0015_full/camera_normals_output/npz': No such file or directory\n",
30
+ "ls: cannot access 'norway_210821_DJI_0015_full/depth_output/npz': No such file or directory\n"
31
+ ]
32
+ }
33
+ ],
34
  "source": [
35
  "!ls | grep -v \"cfg.yaml\\|commands.txt\\|pycache\\|collages\\|csv\\|ipynb\" | while read line; do ls $line | while read line2; do cnt=$(ls \"$line\"/\"$line2\"/npz | wc -l); echo \"$line\",\"$line2\",\"$cnt\"; done; done > cnts.csv"
36
  ]
37
  },
38
  {
39
  "cell_type": "code",
40
+ "execution_count": 7,
41
  "metadata": {},
42
  "outputs": [
43
  {
 
82
  " <tr>\n",
83
  " <th>2</th>\n",
84
  " <td>atanasie_DJI_0652_full</td>\n",
85
+ " <td>camera_normals_output</td>\n",
86
+ " <td>9001</td>\n",
87
  " </tr>\n",
88
  " <tr>\n",
89
  " <th>3</th>\n",
90
  " <td>atanasie_DJI_0652_full</td>\n",
91
+ " <td>containing</td>\n",
92
  " <td>9021</td>\n",
93
  " </tr>\n",
94
  " <tr>\n",
95
  " <th>4</th>\n",
96
  " <td>atanasie_DJI_0652_full</td>\n",
97
+ " <td>depth_marigold</td>\n",
98
  " <td>9021</td>\n",
99
  " </tr>\n",
100
  " <tr>\n",
 
104
  " <td>...</td>\n",
105
  " </tr>\n",
106
  " <tr>\n",
107
+ " <th>355</th>\n",
108
  " <td>slanic_DJI_0956_0957_combined_sliced_780_9780</td>\n",
109
+ " <td>semantic_mask2former_swin_mapillary_converted</td>\n",
110
  " <td>9001</td>\n",
111
  " </tr>\n",
112
  " <tr>\n",
113
+ " <th>356</th>\n",
114
  " <td>slanic_DJI_0956_0957_combined_sliced_780_9780</td>\n",
115
+ " <td>semantic_output</td>\n",
116
  " <td>9001</td>\n",
117
  " </tr>\n",
118
  " <tr>\n",
119
+ " <th>357</th>\n",
120
  " <td>slanic_DJI_0956_0957_combined_sliced_780_9780</td>\n",
121
  " <td>sky-and-water</td>\n",
122
  " <td>9001</td>\n",
123
  " </tr>\n",
124
  " <tr>\n",
125
+ " <th>358</th>\n",
126
  " <td>slanic_DJI_0956_0957_combined_sliced_780_9780</td>\n",
127
  " <td>transportation</td>\n",
128
  " <td>9001</td>\n",
129
  " </tr>\n",
130
  " <tr>\n",
131
+ " <th>359</th>\n",
132
  " <td>slanic_DJI_0956_0957_combined_sliced_780_9780</td>\n",
133
  " <td>vegetation</td>\n",
134
  " <td>9001</td>\n",
135
  " </tr>\n",
136
  " </tbody>\n",
137
  "</table>\n",
138
+ "<p>360 rows × 3 columns</p>\n",
139
  "</div>"
140
  ],
141
  "text/plain": [
 
146
  "3 atanasie_DJI_0652_full \n",
147
  "4 atanasie_DJI_0652_full \n",
148
  ".. ... \n",
149
+ "355 slanic_DJI_0956_0957_combined_sliced_780_9780 \n",
150
+ "356 slanic_DJI_0956_0957_combined_sliced_780_9780 \n",
151
+ "357 slanic_DJI_0956_0957_combined_sliced_780_9780 \n",
152
+ "358 slanic_DJI_0956_0957_combined_sliced_780_9780 \n",
153
+ "359 slanic_DJI_0956_0957_combined_sliced_780_9780 \n",
154
  "\n",
155
  " task counts \n",
156
  "0 buildings 9021 \n",
157
  "1 buildings(nearby) 9021 \n",
158
+ "2 camera_normals_output 9001 \n",
159
+ "3 containing 9021 \n",
160
+ "4 depth_marigold 9021 \n",
161
  ".. ... ... \n",
162
+ "355 semantic_mask2former_swin_mapillary_converted 9001 \n",
163
+ "356 semantic_output 9001 \n",
164
+ "357 sky-and-water 9001 \n",
165
+ "358 transportation 9001 \n",
166
+ "359 vegetation 9001 \n",
167
  "\n",
168
+ "[360 rows x 3 columns]"
169
  ]
170
  },
171
  "metadata": {},
 
180
  },
181
  {
182
  "cell_type": "code",
183
+ "execution_count": 8,
184
  "metadata": {},
185
  "outputs": [
186
  {
187
  "name": "stderr",
188
  "output_type": "stream",
189
  "text": [
190
+ "/tmp/ipykernel_3560989/2846805734.py:4: DeprecationWarning: DataFrameGroupBy.apply operated on the grouping columns. This behavior is deprecated, and in a future version of pandas the grouping columns will be excluded from the operation. Either pass `include_groups=False` to exclude the groupings or explicitly select the grouping columns after groupby to silence this warning.\n",
191
  " df2 = df.groupby(\"scene\").apply(f).reset_index().drop(columns=[\"level_1\"]).set_index(\"scene\")\n"
192
  ]
193
  },
 
215
  " <th>rgb</th>\n",
216
  " <th>buildings</th>\n",
217
  " <th>buildings(nearby)</th>\n",
218
+ " <th>camera_normals_output</th>\n",
219
  " <th>containing</th>\n",
220
  " <th>depth_marigold</th>\n",
221
+ " <th>depth_output</th>\n",
222
  " <th>normals_svd(depth_marigold)</th>\n",
223
  " <th>safe-landing-no-sseg</th>\n",
224
  " <th>safe-landing-semantics</th>\n",
 
228
  " <th>semantic_mask2former_r50_mapillary_converted</th>\n",
229
  " <th>semantic_mask2former_swin_coco_converted</th>\n",
230
  " <th>semantic_mask2former_swin_mapillary_converted</th>\n",
231
+ " <th>semantic_output</th>\n",
232
  " <th>sky-and-water</th>\n",
233
  " <th>transportation</th>\n",
234
  " <th>vegetation</th>\n",
 
235
  " </tr>\n",
236
  " <tr>\n",
237
  " <th>scene</th>\n",
 
253
  " <th></th>\n",
254
  " <th></th>\n",
255
  " <th></th>\n",
256
+ " <th></th>\n",
257
+ " <th></th>\n",
258
  " </tr>\n",
259
  " </thead>\n",
260
  " <tbody>\n",
 
263
  " <td>9021</td>\n",
264
  " <td>9021</td>\n",
265
  " <td>9021</td>\n",
266
+ " <td>9001</td>\n",
267
  " <td>9021</td>\n",
268
  " <td>9021</td>\n",
269
+ " <td>9001</td>\n",
270
  " <td>9021</td>\n",
271
  " <td>9021</td>\n",
272
  " <td>9021</td>\n",
 
276
  " <td>9021</td>\n",
277
  " <td>9021</td>\n",
278
  " <td>9021</td>\n",
279
+ " <td>9001</td>\n",
280
  " <td>9021</td>\n",
281
  " <td>9021</td>\n",
282
  " <td>9021</td>\n",
 
283
  " </tr>\n",
284
  " <tr>\n",
285
  " <th>barsana_DJI_0500_0501_combined_sliced_2700_14700</th>\n",
286
  " <td>12001</td>\n",
287
  " <td>12001</td>\n",
288
  " <td>12001</td>\n",
289
+ " <td>1452</td>\n",
290
  " <td>12001</td>\n",
291
  " <td>12001</td>\n",
292
+ " <td>1452</td>\n",
293
  " <td>12001</td>\n",
294
  " <td>12001</td>\n",
295
  " <td>12001</td>\n",
 
299
  " <td>12001</td>\n",
300
  " <td>12001</td>\n",
301
  " <td>12001</td>\n",
302
+ " <td>1452</td>\n",
303
  " <td>12001</td>\n",
304
  " <td>12001</td>\n",
305
  " <td>12001</td>\n",
 
306
  " </tr>\n",
307
  " <tr>\n",
308
  " <th>comana_DJI_0881_full</th>\n",
309
  " <td>9022</td>\n",
310
  " <td>9022</td>\n",
311
  " <td>9022</td>\n",
312
+ " <td>0</td>\n",
313
  " <td>9022</td>\n",
314
  " <td>9022</td>\n",
315
+ " <td>0</td>\n",
316
  " <td>9022</td>\n",
317
  " <td>9022</td>\n",
318
  " <td>9022</td>\n",
 
322
  " <td>9022</td>\n",
323
  " <td>9022</td>\n",
324
  " <td>9022</td>\n",
325
+ " <td>1210</td>\n",
326
  " <td>9022</td>\n",
327
  " <td>9022</td>\n",
328
  " <td>9022</td>\n",
 
329
  " </tr>\n",
330
  " <tr>\n",
331
  " <th>gradistei_DJI_0787_0788_0789_combined_sliced_3510_13110</th>\n",
332
  " <td>9601</td>\n",
333
  " <td>9601</td>\n",
334
  " <td>9601</td>\n",
335
+ " <td>1210</td>\n",
336
  " <td>9601</td>\n",
337
  " <td>9601</td>\n",
338
+ " <td>1210</td>\n",
339
  " <td>9601</td>\n",
340
  " <td>9601</td>\n",
341
  " <td>9601</td>\n",
 
345
  " <td>9601</td>\n",
346
  " <td>9601</td>\n",
347
  " <td>9601</td>\n",
348
+ " <td>1210</td>\n",
349
  " <td>9601</td>\n",
350
  " <td>9601</td>\n",
351
  " <td>9601</td>\n",
 
352
  " </tr>\n",
353
  " <tr>\n",
354
  " <th>herculane_DJI_0021_full</th>\n",
355
  " <td>9022</td>\n",
356
  " <td>9022</td>\n",
357
  " <td>9022</td>\n",
358
+ " <td>847</td>\n",
359
  " <td>9022</td>\n",
360
  " <td>9022</td>\n",
361
+ " <td>847</td>\n",
362
  " <td>9022</td>\n",
363
  " <td>9022</td>\n",
364
  " <td>9022</td>\n",
 
368
  " <td>9022</td>\n",
369
  " <td>9022</td>\n",
370
  " <td>9022</td>\n",
371
+ " <td>847</td>\n",
372
  " <td>9022</td>\n",
373
  " <td>9022</td>\n",
374
  " <td>9022</td>\n",
 
375
  " </tr>\n",
376
  " <tr>\n",
377
  " <th>jupiter_DJI_0703_0704_0705_combined_sliced_10650_21715</th>\n",
378
  " <td>11066</td>\n",
379
  " <td>11066</td>\n",
380
  " <td>11066</td>\n",
381
+ " <td>1452</td>\n",
382
  " <td>11066</td>\n",
383
  " <td>11066</td>\n",
384
+ " <td>1452</td>\n",
385
  " <td>11066</td>\n",
386
  " <td>11066</td>\n",
387
  " <td>11066</td>\n",
 
391
  " <td>11066</td>\n",
392
  " <td>11066</td>\n",
393
  " <td>11066</td>\n",
394
+ " <td>1452</td>\n",
395
  " <td>11066</td>\n",
396
  " <td>11066</td>\n",
397
  " <td>11066</td>\n",
 
398
  " </tr>\n",
399
  " <tr>\n",
400
  " <th>norway_210821_DJI_0015_full</th>\n",
401
  " <td>2983</td>\n",
402
  " <td>2983</td>\n",
403
  " <td>2983</td>\n",
404
+ " <td>0</td>\n",
405
  " <td>2983</td>\n",
406
  " <td>2983</td>\n",
407
+ " <td>0</td>\n",
408
  " <td>2983</td>\n",
409
  " <td>2983</td>\n",
410
  " <td>2983</td>\n",
 
414
  " <td>2983</td>\n",
415
  " <td>2983</td>\n",
416
  " <td>2983</td>\n",
417
+ " <td>2941</td>\n",
418
  " <td>2983</td>\n",
419
  " <td>2983</td>\n",
420
  " <td>2983</td>\n",
 
421
  " </tr>\n",
422
  " <tr>\n",
423
  " <th>norway_DJI_0741_540p</th>\n",
 
439
  " <td>9021</td>\n",
440
  " <td>9021</td>\n",
441
  " <td>9021</td>\n",
442
+ " <td>9021</td>\n",
443
+ " <td>9021</td>\n",
444
  " </tr>\n",
445
  " <tr>\n",
446
  " <th>olanesti_DJI_0416_full</th>\n",
447
  " <td>9022</td>\n",
448
  " <td>9022</td>\n",
449
  " <td>9022</td>\n",
450
+ " <td>1210</td>\n",
451
  " <td>9022</td>\n",
452
  " <td>9022</td>\n",
453
+ " <td>1210</td>\n",
454
  " <td>9022</td>\n",
455
  " <td>9022</td>\n",
456
  " <td>9022</td>\n",
 
460
  " <td>9022</td>\n",
461
  " <td>9022</td>\n",
462
  " <td>9022</td>\n",
463
+ " <td>1210</td>\n",
464
  " <td>9022</td>\n",
465
  " <td>9022</td>\n",
466
  " <td>9022</td>\n",
 
467
  " </tr>\n",
468
  " <tr>\n",
469
  " <th>ovaselu_DJI_0372_540p</th>\n",
 
485
  " <td>9022</td>\n",
486
  " <td>9022</td>\n",
487
  " <td>9022</td>\n",
488
+ " <td>9022</td>\n",
489
+ " <td>9022</td>\n",
490
  " </tr>\n",
491
  " <tr>\n",
492
  " <th>paris_youtube_1_540p</th>\n",
493
  " <td>8455</td>\n",
 
 
494
  " <td>8455</td>\n",
495
  " <td>8455</td>\n",
496
  " <td>8455</td>\n",
497
  " <td>8455</td>\n",
 
498
  " <td>8455</td>\n",
499
  " <td>8455</td>\n",
500
  " <td>8455</td>\n",
501
  " <td>8455</td>\n",
502
+ " <td>8455</td>\n",
503
+ " <td>8455</td>\n",
504
+ " <td>8455</td>\n",
505
+ " <td>8455</td>\n",
506
+ " <td>8455</td>\n",
507
+ " <td>8455</td>\n",
508
+ " <td>8455</td>\n",
509
+ " <td>8455</td>\n",
510
+ " <td>8455</td>\n",
511
+ " <td>8455</td>\n",
512
+ " <td>8455</td>\n",
513
  " </tr>\n",
514
  " <tr>\n",
515
  " <th>petrova_DJI_0525_0526_combined_sliced_2850_11850</th>\n",
516
  " <td>9001</td>\n",
517
  " <td>9001</td>\n",
518
  " <td>9001</td>\n",
519
+ " <td>847</td>\n",
520
  " <td>9001</td>\n",
521
  " <td>9001</td>\n",
522
+ " <td>847</td>\n",
523
  " <td>9001</td>\n",
524
  " <td>9001</td>\n",
525
  " <td>9001</td>\n",
 
529
  " <td>9001</td>\n",
530
  " <td>9001</td>\n",
531
  " <td>9001</td>\n",
532
+ " <td>847</td>\n",
533
  " <td>9001</td>\n",
534
  " <td>9001</td>\n",
535
  " <td>9001</td>\n",
 
536
  " </tr>\n",
537
  " <tr>\n",
538
  " <th>politehnica_DJI_0741_a2_540p</th>\n",
 
554
  " <td>9021</td>\n",
555
  " <td>9021</td>\n",
556
  " <td>9021</td>\n",
557
+ " <td>9021</td>\n",
558
+ " <td>9021</td>\n",
559
  " </tr>\n",
560
  " <tr>\n",
561
  " <th>raciu_DJI_0418_540p</th>\n",
 
577
  " <td>9022</td>\n",
578
  " <td>9022</td>\n",
579
  " <td>9022</td>\n",
580
+ " <td>9022</td>\n",
581
+ " <td>9022</td>\n",
582
  " </tr>\n",
583
  " <tr>\n",
584
  " <th>riodejaneiro_youtube_1_540p</th>\n",
585
  " <td>6264</td>\n",
 
 
586
  " <td>6264</td>\n",
587
  " <td>6264</td>\n",
588
  " <td>6264</td>\n",
589
  " <td>6264</td>\n",
 
590
  " <td>6264</td>\n",
591
  " <td>6264</td>\n",
592
  " <td>6264</td>\n",
593
  " <td>6264</td>\n",
594
+ " <td>6264</td>\n",
595
+ " <td>6264</td>\n",
596
+ " <td>6264</td>\n",
597
+ " <td>6264</td>\n",
598
+ " <td>6264</td>\n",
599
+ " <td>6264</td>\n",
600
+ " <td>6264</td>\n",
601
+ " <td>6264</td>\n",
602
+ " <td>6264</td>\n",
603
+ " <td>6264</td>\n",
604
+ " <td>6264</td>\n",
605
  " </tr>\n",
606
  " <tr>\n",
607
  " <th>rome_youtube_1_540p</th>\n",
 
623
  " <td>14074</td>\n",
624
  " <td>14074</td>\n",
625
  " <td>14074</td>\n",
626
+ " <td>14074</td>\n",
627
+ " <td>14074</td>\n",
628
  " </tr>\n",
629
  " <tr>\n",
630
  " <th>sanfrancisco_youtube_1_540p</th>\n",
631
  " <td>5635</td>\n",
 
 
632
  " <td>5635</td>\n",
633
  " <td>5635</td>\n",
634
  " <td>5635</td>\n",
635
  " <td>5635</td>\n",
 
636
  " <td>5635</td>\n",
637
  " <td>5635</td>\n",
638
  " <td>5635</td>\n",
639
  " <td>5635</td>\n",
640
+ " <td>5635</td>\n",
641
+ " <td>5635</td>\n",
642
+ " <td>5635</td>\n",
643
+ " <td>5635</td>\n",
644
+ " <td>5635</td>\n",
645
+ " <td>5635</td>\n",
646
+ " <td>5635</td>\n",
647
+ " <td>5635</td>\n",
648
+ " <td>5635</td>\n",
649
+ " <td>5635</td>\n",
650
+ " <td>5635</td>\n",
651
  " </tr>\n",
652
  " <tr>\n",
653
  " <th>slanic_DJI_0956_0957_combined_sliced_780_9780</th>\n",
 
668
  " <td>9001</td>\n",
669
  " <td>9001</td>\n",
670
  " <td>9001</td>\n",
671
+ " <td>9001</td>\n",
672
+ " <td>9001</td>\n",
673
+ " <td>9001</td>\n",
674
  " </tr>\n",
675
  " <tr>\n",
676
  " <th>total</th>\n",
677
  " <td>160254</td>\n",
678
+ " <td>160254</td>\n",
679
+ " <td>160254</td>\n",
680
+ " <td>95534</td>\n",
681
+ " <td>160254</td>\n",
682
+ " <td>160254</td>\n",
683
+ " <td>95534</td>\n",
684
+ " <td>160254</td>\n",
685
+ " <td>160254</td>\n",
686
+ " <td>160254</td>\n",
687
  " <td>160254</td>\n",
688
  " <td>160254</td>\n",
689
  " <td>160254</td>\n",
690
  " <td>160254</td>\n",
 
691
  " <td>160254</td>\n",
692
  " <td>160254</td>\n",
693
+ " <td>99685</td>\n",
694
+ " <td>160254</td>\n",
695
  " <td>160254</td>\n",
696
  " <td>160254</td>\n",
 
 
 
 
 
 
697
  " </tr>\n",
698
  " </tbody>\n",
699
  "</table>\n",
 
712
  "norway_DJI_0741_540p 9021 9021 \n",
713
  "olanesti_DJI_0416_full 9022 9022 \n",
714
  "ovaselu_DJI_0372_540p 9022 9022 \n",
715
+ "paris_youtube_1_540p 8455 8455 \n",
716
  "petrova_DJI_0525_0526_combined_sliced_2850_11850 9001 9001 \n",
717
  "politehnica_DJI_0741_a2_540p 9021 9021 \n",
718
  "raciu_DJI_0418_540p 9022 9022 \n",
719
+ "riodejaneiro_youtube_1_540p 6264 6264 \n",
720
  "rome_youtube_1_540p 14074 14074 \n",
721
+ "sanfrancisco_youtube_1_540p 5635 5635 \n",
722
  "slanic_DJI_0956_0957_combined_sliced_780_9780 9001 9001 \n",
723
+ "total 160254 160254 \n",
724
  "\n",
725
  " buildings(nearby) \\\n",
726
  "scene \n",
 
734
  "norway_DJI_0741_540p 9021 \n",
735
  "olanesti_DJI_0416_full 9022 \n",
736
  "ovaselu_DJI_0372_540p 9022 \n",
737
+ "paris_youtube_1_540p 8455 \n",
738
  "petrova_DJI_0525_0526_combined_sliced_2850_11850 9001 \n",
739
  "politehnica_DJI_0741_a2_540p 9021 \n",
740
  "raciu_DJI_0418_540p 9022 \n",
741
+ "riodejaneiro_youtube_1_540p 6264 \n",
742
  "rome_youtube_1_540p 14074 \n",
743
+ "sanfrancisco_youtube_1_540p 5635 \n",
744
  "slanic_DJI_0956_0957_combined_sliced_780_9780 9001 \n",
745
+ "total 160254 \n",
746
+ "\n",
747
+ " camera_normals_output \\\n",
748
+ "scene \n",
749
+ "atanasie_DJI_0652_full 9001 \n",
750
+ "barsana_DJI_0500_0501_combined_sliced_2700_14700 1452 \n",
751
+ "comana_DJI_0881_full 0 \n",
752
+ "gradistei_DJI_0787_0788_0789_combined_sliced_35... 1210 \n",
753
+ "herculane_DJI_0021_full 847 \n",
754
+ "jupiter_DJI_0703_0704_0705_combined_sliced_1065... 1452 \n",
755
+ "norway_210821_DJI_0015_full 0 \n",
756
+ "norway_DJI_0741_540p 9021 \n",
757
+ "olanesti_DJI_0416_full 1210 \n",
758
+ "ovaselu_DJI_0372_540p 9022 \n",
759
+ "paris_youtube_1_540p 8455 \n",
760
+ "petrova_DJI_0525_0526_combined_sliced_2850_11850 847 \n",
761
+ "politehnica_DJI_0741_a2_540p 9021 \n",
762
+ "raciu_DJI_0418_540p 9022 \n",
763
+ "riodejaneiro_youtube_1_540p 6264 \n",
764
+ "rome_youtube_1_540p 14074 \n",
765
+ "sanfrancisco_youtube_1_540p 5635 \n",
766
+ "slanic_DJI_0956_0957_combined_sliced_780_9780 9001 \n",
767
+ "total 95534 \n",
768
  "\n",
769
  " containing \\\n",
770
  "scene \n",
 
810
  "slanic_DJI_0956_0957_combined_sliced_780_9780 9001 \n",
811
  "total 160254 \n",
812
  "\n",
813
+ " depth_output \\\n",
814
+ "scene \n",
815
+ "atanasie_DJI_0652_full 9001 \n",
816
+ "barsana_DJI_0500_0501_combined_sliced_2700_14700 1452 \n",
817
+ "comana_DJI_0881_full 0 \n",
818
+ "gradistei_DJI_0787_0788_0789_combined_sliced_35... 1210 \n",
819
+ "herculane_DJI_0021_full 847 \n",
820
+ "jupiter_DJI_0703_0704_0705_combined_sliced_1065... 1452 \n",
821
+ "norway_210821_DJI_0015_full 0 \n",
822
+ "norway_DJI_0741_540p 9021 \n",
823
+ "olanesti_DJI_0416_full 1210 \n",
824
+ "ovaselu_DJI_0372_540p 9022 \n",
825
+ "paris_youtube_1_540p 8455 \n",
826
+ "petrova_DJI_0525_0526_combined_sliced_2850_11850 847 \n",
827
+ "politehnica_DJI_0741_a2_540p 9021 \n",
828
+ "raciu_DJI_0418_540p 9022 \n",
829
+ "riodejaneiro_youtube_1_540p 6264 \n",
830
+ "rome_youtube_1_540p 14074 \n",
831
+ "sanfrancisco_youtube_1_540p 5635 \n",
832
+ "slanic_DJI_0956_0957_combined_sliced_780_9780 9001 \n",
833
+ "total 95534 \n",
834
+ "\n",
835
  " normals_svd(depth_marigold) \\\n",
836
  "scene \n",
837
  "atanasie_DJI_0652_full 9021 \n",
 
888
  "norway_DJI_0741_540p 9021 \n",
889
  "olanesti_DJI_0416_full 9022 \n",
890
  "ovaselu_DJI_0372_540p 9022 \n",
891
+ "paris_youtube_1_540p 8455 \n",
892
  "petrova_DJI_0525_0526_combined_sliced_2850_11850 9001 \n",
893
  "politehnica_DJI_0741_a2_540p 9021 \n",
894
  "raciu_DJI_0418_540p 9022 \n",
895
+ "riodejaneiro_youtube_1_540p 6264 \n",
896
  "rome_youtube_1_540p 14074 \n",
897
+ "sanfrancisco_youtube_1_540p 5635 \n",
898
  "slanic_DJI_0956_0957_combined_sliced_780_9780 9001 \n",
899
+ "total 160254 \n",
900
  "\n",
901
  " semantic_mask2former_coco_47429163_0 \\\n",
902
  "scene \n",
 
998
  "norway_DJI_0741_540p 9021 \n",
999
  "olanesti_DJI_0416_full 9022 \n",
1000
  "ovaselu_DJI_0372_540p 9022 \n",
1001
+ "paris_youtube_1_540p 8455 \n",
1002
  "petrova_DJI_0525_0526_combined_sliced_2850_11850 9001 \n",
1003
  "politehnica_DJI_0741_a2_540p 9021 \n",
1004
  "raciu_DJI_0418_540p 9022 \n",
1005
+ "riodejaneiro_youtube_1_540p 6264 \n",
1006
  "rome_youtube_1_540p 14074 \n",
1007
+ "sanfrancisco_youtube_1_540p 5635 \n",
1008
  "slanic_DJI_0956_0957_combined_sliced_780_9780 9001 \n",
1009
+ "total 160254 \n",
1010
  "\n",
1011
  " semantic_mask2former_swin_mapillary_converted \\\n",
1012
  "scene \n",
 
1020
  "norway_DJI_0741_540p 9021 \n",
1021
  "olanesti_DJI_0416_full 9022 \n",
1022
  "ovaselu_DJI_0372_540p 9022 \n",
1023
+ "paris_youtube_1_540p 8455 \n",
1024
  "petrova_DJI_0525_0526_combined_sliced_2850_11850 9001 \n",
1025
  "politehnica_DJI_0741_a2_540p 9021 \n",
1026
  "raciu_DJI_0418_540p 9022 \n",
1027
+ "riodejaneiro_youtube_1_540p 6264 \n",
1028
  "rome_youtube_1_540p 14074 \n",
1029
+ "sanfrancisco_youtube_1_540p 5635 \n",
1030
  "slanic_DJI_0956_0957_combined_sliced_780_9780 9001 \n",
1031
+ "total 160254 \n",
1032
+ "\n",
1033
+ " semantic_output \\\n",
1034
+ "scene \n",
1035
+ "atanasie_DJI_0652_full 9001 \n",
1036
+ "barsana_DJI_0500_0501_combined_sliced_2700_14700 1452 \n",
1037
+ "comana_DJI_0881_full 1210 \n",
1038
+ "gradistei_DJI_0787_0788_0789_combined_sliced_35... 1210 \n",
1039
+ "herculane_DJI_0021_full 847 \n",
1040
+ "jupiter_DJI_0703_0704_0705_combined_sliced_1065... 1452 \n",
1041
+ "norway_210821_DJI_0015_full 2941 \n",
1042
+ "norway_DJI_0741_540p 9021 \n",
1043
+ "olanesti_DJI_0416_full 1210 \n",
1044
+ "ovaselu_DJI_0372_540p 9022 \n",
1045
+ "paris_youtube_1_540p 8455 \n",
1046
+ "petrova_DJI_0525_0526_combined_sliced_2850_11850 847 \n",
1047
+ "politehnica_DJI_0741_a2_540p 9021 \n",
1048
+ "raciu_DJI_0418_540p 9022 \n",
1049
+ "riodejaneiro_youtube_1_540p 6264 \n",
1050
+ "rome_youtube_1_540p 14074 \n",
1051
+ "sanfrancisco_youtube_1_540p 5635 \n",
1052
+ "slanic_DJI_0956_0957_combined_sliced_780_9780 9001 \n",
1053
+ "total 99685 \n",
1054
  "\n",
1055
  " sky-and-water \\\n",
1056
  "scene \n",
 
1064
  "norway_DJI_0741_540p 9021 \n",
1065
  "olanesti_DJI_0416_full 9022 \n",
1066
  "ovaselu_DJI_0372_540p 9022 \n",
1067
+ "paris_youtube_1_540p 8455 \n",
1068
  "petrova_DJI_0525_0526_combined_sliced_2850_11850 9001 \n",
1069
  "politehnica_DJI_0741_a2_540p 9021 \n",
1070
  "raciu_DJI_0418_540p 9022 \n",
1071
+ "riodejaneiro_youtube_1_540p 6264 \n",
1072
  "rome_youtube_1_540p 14074 \n",
1073
+ "sanfrancisco_youtube_1_540p 5635 \n",
1074
  "slanic_DJI_0956_0957_combined_sliced_780_9780 9001 \n",
1075
+ "total 160254 \n",
1076
  "\n",
1077
+ " transportation vegetation \n",
1078
+ "scene \n",
1079
+ "atanasie_DJI_0652_full 9021 9021 \n",
1080
+ "barsana_DJI_0500_0501_combined_sliced_2700_14700 12001 12001 \n",
1081
+ "comana_DJI_0881_full 9022 9022 \n",
1082
+ "gradistei_DJI_0787_0788_0789_combined_sliced_35... 9601 9601 \n",
1083
+ "herculane_DJI_0021_full 9022 9022 \n",
1084
+ "jupiter_DJI_0703_0704_0705_combined_sliced_1065... 11066 11066 \n",
1085
+ "norway_210821_DJI_0015_full 2983 2983 \n",
1086
+ "norway_DJI_0741_540p 9021 9021 \n",
1087
+ "olanesti_DJI_0416_full 9022 9022 \n",
1088
+ "ovaselu_DJI_0372_540p 9022 9022 \n",
1089
+ "paris_youtube_1_540p 8455 8455 \n",
1090
+ "petrova_DJI_0525_0526_combined_sliced_2850_11850 9001 9001 \n",
1091
+ "politehnica_DJI_0741_a2_540p 9021 9021 \n",
1092
+ "raciu_DJI_0418_540p 9022 9022 \n",
1093
+ "riodejaneiro_youtube_1_540p 6264 6264 \n",
1094
+ "rome_youtube_1_540p 14074 14074 \n",
1095
+ "sanfrancisco_youtube_1_540p 5635 5635 \n",
1096
+ "slanic_DJI_0956_0957_combined_sliced_780_9780 9001 9001 \n",
1097
+ "total 160254 160254 "
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1098
  ]
1099
  },
1100
  "metadata": {},
vre_dronescapes/commands.txt CHANGED
@@ -1,60 +1,60 @@
1
  # Run VRE on the raw videos (in vre_dronescapes dir)
2
 
3
  tmux new -s vre_atanasie
4
- VRE_DEVICE=cuda CUDA_VISIBLE_DEVICES=0 vre ../raw_data/videos/atanasie_DJI_0652_full/atanasie_DJI_0652_full_540p.mp4 -o atanasie_DJI_0652_full/ --config_path cfg.yaml --output_dir_exists_mode skip_computed --exception_mode skip_representation --n_threads_data_storer 4 -I ../scripts/semantic_mapper/semantic_mapper.py:get_new_semantic_mapped_tasks
5
 
6
  tmux new -s vre_barsana
7
- VRE_DEVICE=cuda CUDA_VISIBLE_DEVICES=1 vre ../raw_data/videos/barsana_DJI_0500_0501_combined_sliced_2700_14700/barsana_DJI_0500_0501_combined_sliced_2700_14700_540p.mp4 -o barsana_DJI_0500_0501_combined_sliced_2700_14700/ --config_path cfg.yaml --output_dir_exists_mode skip_computed --exception_mode skip_representation --n_threads_data_storer 4 -I ../scripts/semantic_mapper/semantic_mapper.py:get_new_semantic_mapped_tasks
8
 
9
  tmux new -s vre_comana
10
- VRE_DEVICE=cuda CUDA_VISIBLE_DEVICES=2 vre ../raw_data/videos/comana_DJI_0881_full/comana_DJI_0881_full_540p.mp4 -o comana_DJI_0881_full/ --config_path cfg.yaml --output_dir_exists_mode skip_computed --exception_mode skip_representation --n_threads_data_storer 4 -I ../scripts/semantic_mapper/semantic_mapper.py:get_new_semantic_mapped_tasks
11
 
12
  tmux new -s vre_gradistei
13
- VRE_DEVICE=cuda CUDA_VISIBLE_DEVICES=3 vre ../raw_data/videos/gradistei_DJI_0787_0788_0789_combined_sliced_3510_13110/gradistei_DJI_0787_0788_0789_combined_sliced_3510_13110_540p.mp4 -o gradistei_DJI_0787_0788_0789_combined_sliced_3510_13110/ --config_path cfg.yaml --output_dir_exists_mode skip_computed --exception_mode skip_representation --n_threads_data_storer 4 -I ../scripts/semantic_mapper/semantic_mapper.py:get_new_semantic_mapped_tasks
14
 
15
  tmux new -s vre_herculane
16
- VRE_DEVICE=cuda CUDA_VISIBLE_DEVICES=4 vre ../raw_data/videos/herculane_DJI_0021_full/herculane_DJI_0021_full_540p.mp4 -o herculane_DJI_0021_full/ --config_path cfg.yaml --output_dir_exists_mode skip_computed --exception_mode skip_representation --n_threads_data_storer 4 -I ../scripts/semantic_mapper/semantic_mapper.py:get_new_semantic_mapped_tasks
17
 
18
  tmux new -s vre_petrova
19
- VRE_DEVICE=cuda CUDA_VISIBLE_DEVICES=5 vre ../raw_data/videos/petrova_DJI_0525_0526_combined_sliced_2850_11850/petrova_DJI_0525_0526_combined_sliced_2850_11850_540p.mp4 -o petrova_DJI_0525_0526_combined_sliced_2850_11850/ --config_path cfg.yaml --output_dir_exists_mode skip_computed --exception_mode skip_representation --n_threads_data_storer 4 -I ../scripts/semantic_mapper/semantic_mapper.py:get_new_semantic_mapped_tasks
20
 
21
  tmux new -s vre_norway
22
- VRE_DEVICE=cuda CUDA_VISIBLE_DEVICES=6 vre ../raw_data/videos/norway_210821_DJI_0015_full/norway_210821_DJI_0015_full_540p.mp4 -o norway_210821_DJI_0015_full/ --config_path cfg.yaml --output_dir_exists_mode skip_computed --exception_mode skip_representation --n_threads_data_storer 4 -I ../scripts/semantic_mapper/semantic_mapper.py:get_new_semantic_mapped_tasks
23
 
24
  tmux new -s vre_slanic
25
- VRE_DEVICE=cuda CUDA_VISIBLE_DEVICES=6 vre ../raw_data/videos/slanic_DJI_0956_0957_combined_sliced_780_9780/slanic_DJI_0956_0957_combined_sliced_780_9780_540p.mp4 -o slanic_DJI_0956_0957_combined_sliced_780_9780/ --config_path cfg.yaml --output_dir_exists_mode skip_computed --exception_mode skip_representation --n_threads_data_storer 4 -I ../scripts/semantic_mapper/semantic_mapper.py:get_new_semantic_mapped_tasks
26
 
27
  tmux new -s vre_jupiter
28
- VRE_DEVICE=cuda CUDA_VISIBLE_DEVICES=7 vre ../raw_data/videos/jupiter_DJI_0703_0704_0705_combined_sliced_10650_21715/jupiter_DJI_0703_0704_0705_combined_sliced_10650_21715_540p.mp4 -o jupiter_DJI_0703_0704_0705_combined_sliced_10650_21715/ --config_path cfg.yaml --output_dir_exists_mode skip_computed --exception_mode skip_representation --n_threads_data_storer 4 -I ../scripts/semantic_mapper/semantic_mapper.py:get_new_semantic_mapped_tasks
29
 
30
  tmux new -s vre_olanesti
31
- VRE_DEVICE=cuda CUDA_VISIBLE_DEVICES=7 vre ../raw_data/videos/olanesti_DJI_0416_full/olanesti_DJI_0416_full_540p.mp4 -o olanesti_DJI_0416_full/ --config_path cfg.yaml --output_dir_exists_mode skip_computed --exception_mode skip_representation --n_threads_data_storer 4 -I ../scripts/semantic_mapper/semantic_mapper.py:get_new_semantic_mapped_tasks
32
 
33
  # new videos
34
 
35
  tmux new -s norway2
36
- VRE_DEVICE=cuda CUDA_VISIBLE_DEVICES=1 vre ../raw_data/videos/new_videos/norway_DJI_0741_540p.mp4 -o norway_DJI_0741_540p/ --config_path cfg.yaml --output_dir_exists_mode skip_computed --exception_mode skip_representation --n_threads_data_storer 4 -I ../scripts/semantic_mapper/semantic_mapper.py:get_new_semantic_mapped_tasks
37
 
38
  tmux new -s politehnica
39
- VRE_DEVICE=cuda CUDA_VISIBLE_DEVICES=2 vre ../raw_data/videos/new_videos/politehnica_DJI_0741_a2_540p.mp4 -o politehnica_DJI_0741_a2_540p/ --config_path cfg.yaml --output_dir_exists_mode skip_computed --exception_mode skip_representation --n_threads_data_storer 4 -I ../scripts/semantic_mapper/semantic_mapper.py:get_new_semantic_mapped_tasks
40
 
41
  tmux new -s ovaselu
42
- VRE_DEVICE=cuda CUDA_VISIBLE_DEVICES=3 vre ../raw_data/videos/new_videos/ovaselu_DJI_0372_540p.mp4 -o ovaselu_DJI_0372_540p/ --config_path cfg.yaml --output_dir_exists_mode skip_computed --exception_mode skip_representation --n_threads_data_storer 4 -I ../scripts/semantic_mapper/semantic_mapper.py:get_new_semantic_mapped_tasks
43
 
44
  tmux new -s raciu
45
- VRE_DEVICE=cuda CUDA_VISIBLE_DEVICES=4 vre ../raw_data/videos/new_videos/raciu_DJI_0418_540p.mp4 -o raciu_DJI_0418_540p/ --config_path cfg.yaml --output_dir_exists_mode skip_computed --exception_mode skip_representation --n_threads_data_storer 4 -I ../scripts/semantic_mapper/semantic_mapper.py:get_new_semantic_mapped_tasks
46
 
47
  tmux new -s sf
48
- VRE_DEVICE=cuda CUDA_VISIBLE_DEVICES=5 vre ../raw_data/videos/new_videos/sanfrancisco_youtube_1_540p.mp4 -o sanfrancisco_youtube_1_540p/ --config_path cfg.yaml --output_dir_exists_mode skip_computed --exception_mode skip_representation --n_threads_data_storer 4 -I ../scripts/semantic_mapper/semantic_mapper.py:get_new_semantic_mapped_tasks
49
 
50
  tmux new -s paris
51
- VRE_DEVICE=cuda CUDA_VISIBLE_DEVICES=6 vre ../raw_data/videos/new_videos/paris_youtube_1_540p.mp4 -o paris_youtube_1_540p/ --config_path cfg.yaml --output_dir_exists_mode skip_computed --exception_mode skip_representation --n_threads_data_storer 4 -I ../scripts/semantic_mapper/semantic_mapper.py:get_new_semantic_mapped_tasks
52
 
53
  tmux new -s rio
54
- VRE_DEVICE=cuda CUDA_VISIBLE_DEVICES=7 vre ../raw_data/videos/new_videos/riodejaneiro_youtube_1_540p.mp4 -o riodejaneiro_youtube_1_540p/ --config_path cfg.yaml --output_dir_exists_mode skip_computed --exception_mode skip_representation --n_threads_data_storer 4 -I ../scripts/semantic_mapper/semantic_mapper.py:get_new_semantic_mapped_tasks
55
 
56
  tmux new -s rome
57
- VRE_DEVICE=cuda CUDA_VISIBLE_DEVICES=0 vre ../raw_data/videos/new_videos/rome_youtube_1_540p.mp4 -o rome_youtube_1_540p/ --config_path cfg.yaml --output_dir_exists_mode skip_computed --exception_mode skip_representation --n_threads_data_storer 4 -I ../scripts/semantic_mapper/semantic_mapper.py:get_new_semantic_mapped_tasks
58
 
59
  # Split dataset in the relevant 8 splits (in root dir)
60
 
@@ -68,9 +68,12 @@ python scripts/symlinks_from_txt_list.py vre_dronescapes/ --copy_files --txt_fil
68
  python scripts/symlinks_from_txt_list.py vre_dronescapes/ --copy_files --txt_file scripts/txt_files/manually_annotated_files/test_files_116.txt -o data/test_set_annotated_only
69
 
70
  # experts (make combined txt file of all new scenes + old data)
71
- mkdir scripts/txt_files/experts # in root dir
72
  ls . | grep "norway_DJI_0741_540p\|politehnica_DJI_0741_a2_540p\|ovaselu_DJI_0372_540p\|raciu_DJI_0418_540p\|sanfrancisco_youtube_1_540p\|paris_youtube_1_540p\|riodejaneiro_youtube_1_540p\|rome_youtube_1_540p" | while read line; do rm -f ../scripts/txt_files/experts/"$line".txt; ls -v $line/rgb/npz | while read line2; do stem=${line2:0:-4}; echo $line/$stem >> ../scripts/txt_files/experts/"$line".txt; done; done
73
- cd scripts/txt_files/experts # move to txt files dir
 
 
 
74
  cat ../annotated_and_segprop/train_files_11664.txt > train_set.txt
75
  cat ../annotated_and_segprop/semisup_files_11299.txt >> train_set.txt
76
  ls | grep -v train_set | while read line; do cat $line >> train_set.txt; done
 
1
  # Run VRE on the raw videos (in vre_dronescapes dir)
2
 
3
  tmux new -s vre_atanasie
4
+ VRE_DEVICE=cuda CUDA_VISIBLE_DEVICES=0 vre ../raw_data/videos/atanasie_DJI_0652_full/atanasie_DJI_0652_full_540p.mp4 -o atanasie_DJI_0652_full/ --config_path cfg.yaml --output_dir_exists_mode skip_computed --exception_mode skip_representation --n_threads_data_storer 4 -I ../scripts/semantic_mapper/semantic_mapper.py:get_new_semantic_mapped_tasks --representations semantic_output
5
 
6
  tmux new -s vre_barsana
7
+ VRE_DEVICE=cuda CUDA_VISIBLE_DEVICES=1 vre ../raw_data/videos/barsana_DJI_0500_0501_combined_sliced_2700_14700/barsana_DJI_0500_0501_combined_sliced_2700_14700_540p.mp4 -o barsana_DJI_0500_0501_combined_sliced_2700_14700/ --config_path cfg.yaml --output_dir_exists_mode skip_computed --exception_mode skip_representation --n_threads_data_storer 4 -I ../scripts/semantic_mapper/semantic_mapper.py:get_new_semantic_mapped_tasks --representations semantic_output
8
 
9
  tmux new -s vre_comana
10
+ VRE_DEVICE=cuda CUDA_VISIBLE_DEVICES=2 vre ../raw_data/videos/comana_DJI_0881_full/comana_DJI_0881_full_540p.mp4 -o comana_DJI_0881_full/ --config_path cfg.yaml --output_dir_exists_mode skip_computed --exception_mode skip_representation --n_threads_data_storer 4 -I ../scripts/semantic_mapper/semantic_mapper.py:get_new_semantic_mapped_tasks --representations semantic_output
11
 
12
  tmux new -s vre_gradistei
13
+ VRE_DEVICE=cuda CUDA_VISIBLE_DEVICES=3 vre ../raw_data/videos/gradistei_DJI_0787_0788_0789_combined_sliced_3510_13110/gradistei_DJI_0787_0788_0789_combined_sliced_3510_13110_540p.mp4 -o gradistei_DJI_0787_0788_0789_combined_sliced_3510_13110/ --config_path cfg.yaml --output_dir_exists_mode skip_computed --exception_mode skip_representation --n_threads_data_storer 4 -I ../scripts/semantic_mapper/semantic_mapper.py:get_new_semantic_mapped_tasks --representations semantic_output
14
 
15
  tmux new -s vre_herculane
16
+ VRE_DEVICE=cuda CUDA_VISIBLE_DEVICES=4 vre ../raw_data/videos/herculane_DJI_0021_full/herculane_DJI_0021_full_540p.mp4 -o herculane_DJI_0021_full/ --config_path cfg.yaml --output_dir_exists_mode skip_computed --exception_mode skip_representation --n_threads_data_storer 4 -I ../scripts/semantic_mapper/semantic_mapper.py:get_new_semantic_mapped_tasks --representations semantic_output
17
 
18
  tmux new -s vre_petrova
19
+ VRE_DEVICE=cuda CUDA_VISIBLE_DEVICES=5 vre ../raw_data/videos/petrova_DJI_0525_0526_combined_sliced_2850_11850/petrova_DJI_0525_0526_combined_sliced_2850_11850_540p.mp4 -o petrova_DJI_0525_0526_combined_sliced_2850_11850/ --config_path cfg.yaml --output_dir_exists_mode skip_computed --exception_mode skip_representation --n_threads_data_storer 4 -I ../scripts/semantic_mapper/semantic_mapper.py:get_new_semantic_mapped_tasks --representations semantic_output
20
 
21
  tmux new -s vre_norway
22
+ VRE_DEVICE=cuda CUDA_VISIBLE_DEVICES=6 vre ../raw_data/videos/norway_210821_DJI_0015_full/norway_210821_DJI_0015_full_540p.mp4 -o norway_210821_DJI_0015_full/ --config_path cfg.yaml --output_dir_exists_mode skip_computed --exception_mode skip_representation --n_threads_data_storer 4 -I ../scripts/semantic_mapper/semantic_mapper.py:get_new_semantic_mapped_tasks --representations semantic_output
23
 
24
  tmux new -s vre_slanic
25
+ VRE_DEVICE=cuda CUDA_VISIBLE_DEVICES=6 vre ../raw_data/videos/slanic_DJI_0956_0957_combined_sliced_780_9780/slanic_DJI_0956_0957_combined_sliced_780_9780_540p.mp4 -o slanic_DJI_0956_0957_combined_sliced_780_9780/ --config_path cfg.yaml --output_dir_exists_mode skip_computed --exception_mode skip_representation --n_threads_data_storer 4 -I ../scripts/semantic_mapper/semantic_mapper.py:get_new_semantic_mapped_tasks --representations semantic_output
26
 
27
  tmux new -s vre_jupiter
28
+ VRE_DEVICE=cuda CUDA_VISIBLE_DEVICES=7 vre ../raw_data/videos/jupiter_DJI_0703_0704_0705_combined_sliced_10650_21715/jupiter_DJI_0703_0704_0705_combined_sliced_10650_21715_540p.mp4 -o jupiter_DJI_0703_0704_0705_combined_sliced_10650_21715/ --config_path cfg.yaml --output_dir_exists_mode skip_computed --exception_mode skip_representation --n_threads_data_storer 4 -I ../scripts/semantic_mapper/semantic_mapper.py:get_new_semantic_mapped_tasks --representations semantic_output
29
 
30
  tmux new -s vre_olanesti
31
+ VRE_DEVICE=cuda CUDA_VISIBLE_DEVICES=7 vre ../raw_data/videos/olanesti_DJI_0416_full/olanesti_DJI_0416_full_540p.mp4 -o olanesti_DJI_0416_full/ --config_path cfg.yaml --output_dir_exists_mode skip_computed --exception_mode skip_representation --n_threads_data_storer 4 -I ../scripts/semantic_mapper/semantic_mapper.py:get_new_semantic_mapped_tasks --representations semantic_output
32
 
33
  # new videos
34
 
35
  tmux new -s norway2
36
+ VRE_DEVICE=cuda CUDA_VISIBLE_DEVICES=1 vre ../raw_data/videos/new_videos/norway_DJI_0741_540p.mp4 -o norway_DJI_0741_540p/ --config_path cfg.yaml --output_dir_exists_mode skip_computed --exception_mode skip_representation --n_threads_data_storer 4 -I ../scripts/semantic_mapper/semantic_mapper.py:get_new_semantic_mapped_tasks --representations semantic_output
37
 
38
  tmux new -s politehnica
39
+ VRE_DEVICE=cuda CUDA_VISIBLE_DEVICES=2 vre ../raw_data/videos/new_videos/politehnica_DJI_0741_a2_540p.mp4 -o politehnica_DJI_0741_a2_540p/ --config_path cfg.yaml --output_dir_exists_mode skip_computed --exception_mode skip_representation --n_threads_data_storer 4 -I ../scripts/semantic_mapper/semantic_mapper.py:get_new_semantic_mapped_tasks --representations semantic_output
40
 
41
  tmux new -s ovaselu
42
+ VRE_DEVICE=cuda CUDA_VISIBLE_DEVICES=3 vre ../raw_data/videos/new_videos/ovaselu_DJI_0372_540p.mp4 -o ovaselu_DJI_0372_540p/ --config_path cfg.yaml --output_dir_exists_mode skip_computed --exception_mode skip_representation --n_threads_data_storer 4 -I ../scripts/semantic_mapper/semantic_mapper.py:get_new_semantic_mapped_tasks --representations semantic_output
43
 
44
  tmux new -s raciu
45
+ VRE_DEVICE=cuda CUDA_VISIBLE_DEVICES=4 vre ../raw_data/videos/new_videos/raciu_DJI_0418_540p.mp4 -o raciu_DJI_0418_540p/ --config_path cfg.yaml --output_dir_exists_mode skip_computed --exception_mode skip_representation --n_threads_data_storer 4 -I ../scripts/semantic_mapper/semantic_mapper.py:get_new_semantic_mapped_tasks --representations semantic_output
46
 
47
  tmux new -s sf
48
+ VRE_DEVICE=cuda CUDA_VISIBLE_DEVICES=5 vre ../raw_data/videos/new_videos/sanfrancisco_youtube_1_540p.mp4 -o sanfrancisco_youtube_1_540p/ --config_path cfg.yaml --output_dir_exists_mode skip_computed --exception_mode skip_representation --n_threads_data_storer 4 -I ../scripts/semantic_mapper/semantic_mapper.py:get_new_semantic_mapped_tasks --representations semantic_output
49
 
50
  tmux new -s paris
51
+ VRE_DEVICE=cuda CUDA_VISIBLE_DEVICES=6 vre ../raw_data/videos/new_videos/paris_youtube_1_540p.mp4 -o paris_youtube_1_540p/ --config_path cfg.yaml --output_dir_exists_mode skip_computed --exception_mode skip_representation --n_threads_data_storer 4 -I ../scripts/semantic_mapper/semantic_mapper.py:get_new_semantic_mapped_tasks --representations semantic_output
52
 
53
  tmux new -s rio
54
+ VRE_DEVICE=cuda CUDA_VISIBLE_DEVICES=7 vre ../raw_data/videos/new_videos/riodejaneiro_youtube_1_540p.mp4 -o riodejaneiro_youtube_1_540p/ --config_path cfg.yaml --output_dir_exists_mode skip_computed --exception_mode skip_representation --n_threads_data_storer 4 -I ../scripts/semantic_mapper/semantic_mapper.py:get_new_semantic_mapped_tasks --representations semantic_output
55
 
56
  tmux new -s rome
57
+ VRE_DEVICE=cuda CUDA_VISIBLE_DEVICES=0 vre ../raw_data/videos/new_videos/rome_youtube_1_540p.mp4 -o rome_youtube_1_540p/ --config_path cfg.yaml --output_dir_exists_mode skip_computed --exception_mode skip_representation --n_threads_data_storer 4 -I ../scripts/semantic_mapper/semantic_mapper.py:get_new_semantic_mapped_tasks --representations semantic_output
58
 
59
  # Split dataset in the relevant 8 splits (in root dir)
60
 
 
68
  python scripts/symlinks_from_txt_list.py vre_dronescapes/ --copy_files --txt_file scripts/txt_files/manually_annotated_files/test_files_116.txt -o data/test_set_annotated_only
69
 
70
  # experts (make combined txt file of all new scenes + old data)
71
+ # in vre_dronescapes_dir
72
  ls . | grep "norway_DJI_0741_540p\|politehnica_DJI_0741_a2_540p\|ovaselu_DJI_0372_540p\|raciu_DJI_0418_540p\|sanfrancisco_youtube_1_540p\|paris_youtube_1_540p\|riodejaneiro_youtube_1_540p\|rome_youtube_1_540p" | while read line; do rm -f ../scripts/txt_files/experts/"$line".txt; ls -v $line/rgb/npz | while read line2; do stem=${line2:0:-4}; echo $line/$stem >> ../scripts/txt_files/experts/"$line".txt; done; done
73
+ ls . | grep "norway_DJI_0741_540p\|politehnica_DJI_0741_a2_540p\|ovaselu_DJI_0372_540p\|raciu_DJI_0418_540p\|sanfrancisco_youtube_1_540p\|paris_youtube_1_540p\|riodejaneiro_youtube_1_540p\|rome_youtube_1_540p" | while read line; do echo $line; cp -r $line/depth_marigold $line/depth_output; ../scripts/update_stastistics.py $line/depth_output/npz --statistics_file ../data/train_set/.task_statistics.npz --source_task depth_marigold --n_workers 32; cp -r $line/'normals_svd(depth_marigold)' $line/camera_normals_output; done
74
+ ls . | grep "norway_DJI_0741_540p\|politehnica_DJI_0741_a2_540p\|ovaselu_DJI_0372_540p\|raciu_DJI_0418_540p\|sanfrancisco_youtube_1_540p\|paris_youtube_1_540p\|riodejaneiro_youtube_1_540p\|rome_youtube_1_540p" | while read line; do ../scripts/update_stastistics.py $line/depth_output/npz --statistics_file ../data/train_set/.task_statistics.npz --source_task depth_marigold --n_workers 32; done
75
+ mkdir ../scripts/txt_files/experts # in root dir
76
+ cd ../scripts/txt_files/experts # move to txt files dir
77
  cat ../annotated_and_segprop/train_files_11664.txt > train_set.txt
78
  cat ../annotated_and_segprop/semisup_files_11299.txt >> train_set.txt
79
  ls | grep -v train_set | while read line; do cat $line >> train_set.txt; done