How to use fusion_llr.py

10 views
Skip to first unread message

Quazi Marufur Rahman

unread,
Sep 22, 2016, 6:25:11 AM9/22/16
to bob-devel
Hi,

Is there any clearer example of how to use fusion for speaker recognition? I can't understand
the usage of f, g and p parameter.

usage: usage: fusion_llr.py [arguments]
This script fuses scores from various systems, from a score file in four or
five column format. Note: The score file has to contain the exact probe file
names as the 3rd (4column) or 4th (5column) column.
optional arguments:
  -h, --help            show this help message and exit
  -d DEV_FILES [DEV_FILES ...], --dev-files DEV_FILES [DEV_FILES ...]
                        A list of score files of the development set.
                        (default: None)
  -e EVAL_FILES [EVAL_FILES ...], --eval-files EVAL_FILES [EVAL_FILES ...]
                        A list of score files of the evaluation set; if given
                        it must be the same number of files as the --dev-
                        files. (default: None)
  -f SCORE_FUSED_DEV_FILE, --score-fused-dev-file SCORE_FUSED_DEV_FILE
                        The calibrated development score file in 4 or 5 column
                        format to calibrate. (default: None)
  -g SCORE_FUSED_EVAL_FILE, --score-fused-eval-file SCORE_FUSED_EVAL_FILE
                        The calibrated evaluation score file in 4 or 5 column
                        format to calibrate. (default: None)
  -p {4column,5column}, --parser {4column,5column}
                        The style of the resulting score files. The default
                        fits to the usual output of score files. (default:
                        4column)

Tiago Freitas Pereira

unread,
Sep 22, 2016, 7:02:30 AM9/22/16
to bob-...@googlegroups.com
Hi Quazi,

`f` and `g` are the output file names. The fused scores will be written there.
-p is the format of your scores. Either 4column (https://pythonhosted.org/bob/temp/bob.measure/doc/py_api.html?highlight=column#bob.measure.load.four_column) or 5column (https://pythonhosted.org/bob/temp/bob.measure/doc/py_api.html?highlight=column#bob.measure.load.five_column).

A possible usage would be

fusion_llr.py \
   --dev-files system-A-dev.txt system-B-dev.txt \
   --eval-files system-A-eval.txt system-B-eval.txt  \ #IF ANY EVALUATION SET
   --score-fused-dev-file output-fusion-dev.txt \
   --score-fused-eval-file output-fusion-eval.txt #IF ANY EVALUATION SET


Cheers




--
-- You received this message because you are subscribed to the Google Groups bob-devel group. To post to this group, send email to bob-...@googlegroups.com. To unsubscribe from this group, send email to bob-devel+unsubscribe@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/bob-devel or directly the project website at http://idiap.github.com/bob/
---
You received this message because you are subscribed to the Google Groups "bob-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bob-devel+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Tiago
Reply all
Reply to author
Forward
0 new messages