vre cfg
Browse files- vre_dronescapes/cfg.yaml +120 -0
- vre_dronescapes/commands.txt +21 -0
vre_dronescapes/cfg.yaml
ADDED
@@ -0,0 +1,120 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
default_io_parameters:
|
2 |
+
binary_format: npz
|
3 |
+
image_format: not-set
|
4 |
+
compress: True
|
5 |
+
|
6 |
+
default_learned_parameters:
|
7 |
+
device: ${oc.env:VRE_DEVICE,cpu}
|
8 |
+
|
9 |
+
representations:
|
10 |
+
rgb:
|
11 |
+
type: default/rgb
|
12 |
+
dependencies: []
|
13 |
+
parameters: {}
|
14 |
+
|
15 |
+
hsv:
|
16 |
+
type: default/hsv
|
17 |
+
dependencies: []
|
18 |
+
parameters: {}
|
19 |
+
|
20 |
+
halftone1:
|
21 |
+
type: soft-segmentation/python-halftone
|
22 |
+
dependencies: []
|
23 |
+
parameters:
|
24 |
+
sample: 3
|
25 |
+
scale: 1
|
26 |
+
percentage: 91
|
27 |
+
angles: [0, 15, 30, 45]
|
28 |
+
antialias: False
|
29 |
+
resolution: [240, 426]
|
30 |
+
|
31 |
+
edges_canny:
|
32 |
+
type: edges/canny
|
33 |
+
dependencies: []
|
34 |
+
parameters:
|
35 |
+
threshold1: 100
|
36 |
+
threshold2: 200
|
37 |
+
aperture_size: 3
|
38 |
+
l2_gradient: True
|
39 |
+
|
40 |
+
softseg_gb:
|
41 |
+
type: soft-segmentation/generalized_boundaries
|
42 |
+
dependencies: []
|
43 |
+
parameters:
|
44 |
+
use_median_filtering: True
|
45 |
+
adjust_to_rgb: True
|
46 |
+
max_channels: 3
|
47 |
+
|
48 |
+
edges_dexined:
|
49 |
+
type: edges/dexined
|
50 |
+
dependencies: []
|
51 |
+
parameters: {}
|
52 |
+
compute_parameters:
|
53 |
+
batch_size: 15
|
54 |
+
|
55 |
+
fastsam(s):
|
56 |
+
type: semantic-segmentation/fastsam
|
57 |
+
dependencies: []
|
58 |
+
parameters:
|
59 |
+
variant: fastsam-s
|
60 |
+
iou: 0.9
|
61 |
+
conf: 0.4
|
62 |
+
|
63 |
+
depth_dpt:
|
64 |
+
type: depth/dpt
|
65 |
+
dependencies: []
|
66 |
+
parameters: {}
|
67 |
+
compute_parameters:
|
68 |
+
batch_size: 10
|
69 |
+
|
70 |
+
# only works if fps is also set (for images) via --frame_rate in cli. For videos, it works just fine.
|
71 |
+
opticalflow_rife:
|
72 |
+
type: optical-flow/rife
|
73 |
+
dependencies: []
|
74 |
+
batch_size: 15
|
75 |
+
parameters:
|
76 |
+
uhd: False
|
77 |
+
compute_backward_flow: False
|
78 |
+
|
79 |
+
semantic_mask2former_coco_47429163_0:
|
80 |
+
type: semantic-segmentation/mask2former
|
81 |
+
dependencies: []
|
82 |
+
parameters:
|
83 |
+
model_id: "47429163_0"
|
84 |
+
semantic_argmax_only: True
|
85 |
+
compute_parameters:
|
86 |
+
batch_size: 1
|
87 |
+
|
88 |
+
semantic_mask2former_mapillary_49189528_0:
|
89 |
+
type: semantic-segmentation/mask2former
|
90 |
+
dependencies: []
|
91 |
+
parameters:
|
92 |
+
model_id: "49189528_0"
|
93 |
+
semantic_argmax_only: True
|
94 |
+
compute_parameters:
|
95 |
+
batch_size: 1
|
96 |
+
|
97 |
+
depth_marigold:
|
98 |
+
type: depth/marigold
|
99 |
+
dependencies: []
|
100 |
+
parameters:
|
101 |
+
variant: marigold-lcm-v1-0
|
102 |
+
denoising_steps: 4
|
103 |
+
ensemble_size: 1
|
104 |
+
processing_resolution: 768
|
105 |
+
compute_parameters:
|
106 |
+
batch_size: 15
|
107 |
+
io_parameters:
|
108 |
+
image_format: not-set
|
109 |
+
binary_format: not-set
|
110 |
+
|
111 |
+
normals_svd(depth_marigold):
|
112 |
+
type: normals/depth-svd
|
113 |
+
dependencies: [depth_marigold]
|
114 |
+
parameters:
|
115 |
+
sensor_fov: 75
|
116 |
+
sensor_width: 3840
|
117 |
+
sensor_height: 2160
|
118 |
+
window_size: 11
|
119 |
+
compute_parameters:
|
120 |
+
output_dtype: float16
|
vre_dronescapes/commands.txt
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
tmux new -s vre_atanasie
|
2 |
+
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/ --cfg_path cfg.yaml --output_dir_exists_mod skip_computed --representations depth_marigold "normals_svd(depth_marigold)" --n_threads_data_storer 2;
|
3 |
+
tmux new -s vre_barsana
|
4 |
+
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/ --cfg_path cfg.yaml --output_dir_exists_mod skip_computed --representations depth_marigold "normals_svd(depth_marigold)" --n_threads_data_storer 2
|
5 |
+
tmux new -s vre_comana
|
6 |
+
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/ --cfg_path cfg.yaml --output_dir_exists_mod skip_computed --representations depth_marigold "normals_svd(depth_marigold)" --n_threads_data_storer 2
|
7 |
+
tmux new -s vre_gradistei
|
8 |
+
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/ --cfg_path cfg.yaml --output_dir_exists_mod skip_computed --representations depth_marigold "normals_svd(depth_marigold)" --n_threads_data_storer 2
|
9 |
+
tmux new -s vre_herculane
|
10 |
+
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/ --cfg_path cfg.yaml --output_dir_exists_mod skip_computed --representations depth_marigold "normals_svd(depth_marigold)" --n_threads_data_storer 2
|
11 |
+
tmux new -s vre_petrova
|
12 |
+
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/ --cfg_path cfg.yaml --output_dir_exists_mod skip_computed --representations depth_marigold "normals_svd(depth_marigold)" --n_threads_data_storer 2
|
13 |
+
tmux new -s vre_slanic_norway
|
14 |
+
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/ --cfg_path cfg.yaml --output_dir_exists_mod skip_computed --representations depth_marigold "normals_svd(depth_marigold)" --n_threads_data_storer 2
|
15 |
+
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/ --cfg_path cfg.yaml --output_dir_exists_mod skip_computed --representations depth_marigold "normals_svd(depth_marigold)" --n_threads_data_storer 2
|
16 |
+
tmux new -s olanesti_jupiter
|
17 |
+
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/ --cfg_path cfg.yaml --output_dir_exists_mod skip_computed --representations depth_marigold "normals_svd(depth_marigold)" --n_threads_data_storer 2
|
18 |
+
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/ --cfg_path cfg.yaml --output_dir_exists_mod skip_computed --representations depth_marigold "normals_svd(depth_marigold)" --n_threads_data_storer 2
|
19 |
+
|
20 |
+
###
|
21 |
+
VRE_DEVICE=cuda CUDA_VISIBLE_DEVICES=4 vre ../raw_data/videos/atanasie_DJI_0652_full/atanasie_DJI_0652_full_540p.mp4 -o atanasie_DJI_0652_full/ --cfg_path cfg.yaml --output_dir_exists_mod skip_computed --representations "normals_svd(depth_marigold)" semantic_mask2former_coco_47429163_0 semantic_mask2former_mapillary_49189528_0 depth_marigold --n_threads_data_storer 2 -I ~/code/video-representations-extractor/examples/semantic_mapper/semantic_mapper.py:get_new_dronescapes_tasks
|