dronescapes / scripts /cfg.yaml
Meehai's picture
various little updates
a3c6a05
raw
history blame
2.54 kB
vre:
start_frame: ${oc.env:VRE_START_IX}
end_frame: ${oc.env:VRE_END_IX,null}
export_npy: True
export_png: True
exception_mode: skip_representation
representations:
rgb:
type: default
name: rgb
dependencies: []
parameters: {}
hsv:
type: default
name: hsv
dependencies: []
parameters: {}
halftone1:
type: soft-segmentation
name: python-halftone
dependencies: []
parameters:
sample: 3
scale: 1
percentage: 91
angles: [0, 15, 30, 45]
antialias: False
resolution: [240, 426]
edges_canny:
type: edges
name: canny
dependencies: []
parameters:
threshold1: 100
threshold2: 200
aperture_size: 3
l2_gradient: True
softseg_kmeans:
type: soft-segmentation
name: kmeans
dependencies: []
parameters:
n_clusters: 6
epsilon: 2
max_iterations: 10
attempts: 3
softseg_gb:
type: soft-segmentation
name: generalized_boundaries
dependencies: []
parameters:
use_median_filtering: True
adjust_to_rgb: True
max_channels: 3
edges_dexined:
type: edges
name: dexined
dependencies: []
parameters: {}
batch_size: 15
vre_parameters:
device: ${oc.env:VRE_DEVICE,cpu}
fastsam(s):
type: semantic_segmentation
name: fastsam
dependencies: []
parameters:
variant: fastsam-s
iou: 0.9
conf: 0.4
vre_parameters:
device: ${oc.env:VRE_DEVICE,cpu}
depth_dpt:
type: depth
name: dpt
dependencies: []
parameters: {}
batch_size: 10
vre_parameters:
device: ${oc.env:VRE_DEVICE,cpu}
semantic_mask2former_swin_coco:
type: semantic_segmentation
name: mask2former
dependencies: []
batch_size: 1
parameters:
model_id: "47429163_0"
semantic_argmax_only: True
vre_parameters:
device: ${oc.env:VRE_DEVICE,cpu}
semantic_mask2former_swin_mapilary:
type: semantic_segmentation
name: mask2former
dependencies: []
batch_size: 1
parameters:
model_id: "49189528_0"
semantic_argmax_only: True
vre_parameters:
device: ${oc.env:VRE_DEVICE,cpu}
# only works if fps is also set (for images) via --frame_rate in cli. For videos, it works just fine.
opticalflow_rife:
type: optical-flow
name: rife
dependencies: []
batch_size: 15
parameters:
uhd: False
compute_backward_flow: False
vre_parameters:
device: ${oc.env:VRE_DEVICE,cpu}