forked from openpifpaf/openpifpaf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcli-help-predict.txt
121 lines (113 loc) · 6.27 KB
/
cli-help-predict.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
usage: python3 -m openpifpaf.predict [-h] [--checkpoint CHECKPOINT]
[--dilation DILATION]
[--dilation-end DILATION_END]
[--basenet BASENET]
[--headnets HEADNETS [HEADNETS ...]]
[--no-pretrain] [--two-scale]
[--head-dropout HEAD_DROPOUT]
[--head-quad HEAD_QUAD]
[--head-kernel-size HEAD_KERNEL_SIZE]
[--head-padding HEAD_PADDING]
[--head-dilation HEAD_DILATION]
[--seed-threshold SEED_THRESHOLD]
[--instance-threshold INSTANCE_THRESHOLD]
[--keypoint-threshold KEYPOINT_THRESHOLD]
[--decoder-workers DECODER_WORKERS]
[--force-complete-pose]
[--debug-pif-indices DEBUG_PIF_INDICES [DEBUG_PIF_INDICES ...]]
[--debug-paf-indices DEBUG_PAF_INDICES [DEBUG_PAF_INDICES ...]]
[--debug-file-prefix DEBUG_FILE_PREFIX]
[--profile-decoder] [--fixed-b FIXED_B]
[--pif-fixed-scale PIF_FIXED_SCALE]
[--paf-th PAF_TH]
[--connection-method {median,max}]
[--glob GLOB] [-o OUTPUT_DIRECTORY]
[--show]
[--output-types OUTPUT_TYPES [OUTPUT_TYPES ...]]
[--batch-size BATCH_SIZE]
[--long-edge LONG_EDGE]
[--loader-workers LOADER_WORKERS]
[--disable-cuda]
[--figure-width FIGURE_WIDTH]
[--dpi-factor DPI_FACTOR] [-q] [--debug]
[images [images ...]]
Predict poses for given images.
positional arguments:
images input images (default: None)
optional arguments:
-h, --help show this help message and exit
--glob GLOB glob expression for input images (for many images)
(default: None)
-o OUTPUT_DIRECTORY, --output-directory OUTPUT_DIRECTORY
Output directory. When using this option, make sure
input images have distinct file names. (default: None)
--show show image of output overlay (default: False)
--output-types OUTPUT_TYPES [OUTPUT_TYPES ...]
what to output: skeleton, keypoints, json (default:
['skeleton', 'json'])
--batch-size BATCH_SIZE
processing batch size (default: 1)
--long-edge LONG_EDGE
apply preprocessing to batch images (default: None)
--loader-workers LOADER_WORKERS
number of workers for data loading (default: 2)
--disable-cuda disable CUDA (default: False)
--figure-width FIGURE_WIDTH
figure width (default: 10.0)
--dpi-factor DPI_FACTOR
increase dpi of output image by this factor (default:
1.0)
network configuration:
--checkpoint CHECKPOINT
Load a model from a checkpoint. Use "resnet50",
"resnet101" or "resnet152" for pretrained OpenPifPaf
models. (default: None)
--dilation DILATION apply atrous (default: None)
--dilation-end DILATION_END
apply atrous (default: None)
--basenet BASENET base network, e.g. resnet50block5 (default: None)
--headnets HEADNETS [HEADNETS ...]
head networks (default: ['pif', 'paf'])
--no-pretrain create model without ImageNet pretraining (default:
True)
--two-scale two scale (default: False)
head:
--head-dropout HEAD_DROPOUT
zeroing probability of feature in head input (default:
0.0)
--head-quad HEAD_QUAD
number of times to apply quad (subpixel conv) to heads
(default: 0)
--head-kernel-size HEAD_KERNEL_SIZE
--head-padding HEAD_PADDING
--head-dilation HEAD_DILATION
decoder configuration:
--seed-threshold SEED_THRESHOLD
minimum threshold for seeds (default: 0.5)
--instance-threshold INSTANCE_THRESHOLD
filter instances by score (default: 0.1)
--keypoint-threshold KEYPOINT_THRESHOLD
filter keypoints by score (default: None)
--decoder-workers DECODER_WORKERS
number of workers for pose decoding (default: None)
--force-complete-pose
--debug-pif-indices DEBUG_PIF_INDICES [DEBUG_PIF_INDICES ...]
indices of PIF fields to create debug plots for (group
with comma, e.g. "0,1 2" to create one plot with field
0 and 1 and another plot with field 2) (default: [])
--debug-paf-indices DEBUG_PAF_INDICES [DEBUG_PAF_INDICES ...]
indices of PAF fields to create debug plots for (same
grouping behavior as debug-pif-indices) (default: [])
--debug-file-prefix DEBUG_FILE_PREFIX
save debug plots with this prefix (default: None)
--profile-decoder profile decoder (default: None)
PifPaf decoder:
--fixed-b FIXED_B overwrite b with fixed value, e.g. 0.5 (default: None)
--pif-fixed-scale PIF_FIXED_SCALE
overwrite pif scale with a fixed value (default: None)
--paf-th PAF_TH paf threshold (default: 0.1)
--connection-method {median,max}
connection method to use, max is faster (default: max)
logging:
-q, --quiet only show warning messages or above (default: False)
--debug print debug messages (default: False)