change instance threshold default for pifpaf 0.8
This commit is contained in:
parent
698dbbd7be
commit
65256b5566
@ -108,8 +108,8 @@ If it does not find the file, it will generate images
|
|||||||
with all the predictions without ground-truth matching.
|
with all the predictions without ground-truth matching.
|
||||||
|
|
||||||
Below an example with and without ground-truth matching. They have been created (adding or removing `--path_gt`) with:
|
Below an example with and without ground-truth matching. They have been created (adding or removing `--path_gt`) with:
|
||||||
`python3 -m monoloco.run predict --networks monoloco --glob docs/002282.png --output_types combined --scale 2
|
`python3 -m monoloco.run predict --glob docs/002282.png --output_types combined --scale 2
|
||||||
--model data/models/monoloco-190513-1437.pkl --n_dropout 50 --z_max 30 instance-threshold 0.15`
|
--model data/models/monoloco-190513-1437.pkl --n_dropout 50 --z_max 30`
|
||||||
|
|
||||||
With ground truth matching (only matching people):
|
With ground truth matching (only matching people):
|
||||||

|

|
||||||
@ -122,7 +122,7 @@ To accurately estimate distance, the focal length is necessary.
|
|||||||
However, it is still possible to test Monoloco on images where the calibration matrix is not available.
|
However, it is still possible to test Monoloco on images where the calibration matrix is not available.
|
||||||
Absolute distances are not meaningful but relative distance still are.
|
Absolute distances are not meaningful but relative distance still are.
|
||||||
Below an example on a generic image from the web, created with:
|
Below an example on a generic image from the web, created with:
|
||||||
`python3 -m monoloco.run predict --networks monoloco --glob docs/surf.jpg --output_types combined --model data/models/monoloco-190513-1437.pkl --n_dropout 100 --z_max 25`
|
`python3 -m monoloco.run predict --glob docs/surf.jpg --output_types combined --model data/models/monoloco-190513-1437.pkl --n_dropout 50 --z_max 25`
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
|||||||
@ -39,7 +39,7 @@ def cli():
|
|||||||
|
|
||||||
# Pifpaf
|
# Pifpaf
|
||||||
nets.cli(predict_parser)
|
nets.cli(predict_parser)
|
||||||
decoder.cli(predict_parser, force_complete_pose=True, instance_threshold=0.1)
|
decoder.cli(predict_parser, force_complete_pose=True, instance_threshold=0.15)
|
||||||
predict_parser.add_argument('--scale', default=1.0, type=float, help='change the scale of the image to preprocess')
|
predict_parser.add_argument('--scale', default=1.0, type=float, help='change the scale of the image to preprocess')
|
||||||
|
|
||||||
# Monoloco
|
# Monoloco
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user