Skip to content
Snippets Groups Projects
Commit c3520b67 authored by Olegs NIKISINS's avatar Olegs NIKISINS
Browse files

Updated baseles related command-lines in the doc with db config files

parent f7f3cbd5
No related branches found
No related tags found
1 merge request!11Added configuration files for all databases, updated the doc accordingly
...@@ -19,7 +19,7 @@ To see the description of the script you can type in the console: ...@@ -19,7 +19,7 @@ To see the description of the script you can type in the console:
.. code-block:: sh .. code-block:: sh
$ ./bin/verify.py --help $ ./bin/spoof.py --help
This script is explained in more detail in :ref:`bob.pad.base.experiments`. This script is explained in more detail in :ref:`bob.pad.base.experiments`.
...@@ -85,6 +85,7 @@ Baselines on REPLAY-ATTACK database ...@@ -85,6 +85,7 @@ Baselines on REPLAY-ATTACK database
-------------------------------------- --------------------------------------
This section summarizes the results of baseline face PAD experiments on the REPLAY-ATTACK (`replayattack`_) database. This section summarizes the results of baseline face PAD experiments on the REPLAY-ATTACK (`replayattack`_) database.
The description of the database-related settings, which are used to run face PAD baselines on the Replay-Attack is given here :ref:`bob.pad.face.resources.databases.replay`. To understand the settings in more details you can check the corresponding configuration file : ``bob/pad/face/config/replay_attack.py``.
LBP features of facial region + SVM classifier LBP features of facial region + SVM classifier
...@@ -96,8 +97,7 @@ To run this baseline on the `replayattack`_ database, using the ``grandtest`` pr ...@@ -96,8 +97,7 @@ To run this baseline on the `replayattack`_ database, using the ``grandtest`` pr
.. code-block:: sh .. code-block:: sh
$ ./bin/spoof.py lbp-svm \ $ ./bin/spoof.py replay-attack lbp-svm \
--database replay --protocol grandtest --groups train dev eval \
--sub-directory <PATH_TO_STORE_THE_RESULTS> --sub-directory <PATH_TO_STORE_THE_RESULTS>
.. tip:: .. tip::
...@@ -107,8 +107,7 @@ To run this baseline on the `replayattack`_ database, using the ``grandtest`` pr ...@@ -107,8 +107,7 @@ To run this baseline on the `replayattack`_ database, using the ``grandtest`` pr
.. code-block:: sh .. code-block:: sh
$ ./bin/spoof.py lbp-svm \ $ ./bin/spoof.py replay-attack lbp-svm \
--database replay --protocol grandtest --groups train dev eval \
--sub-directory <PATH_TO_STORE_THE_RESULTS> \ --sub-directory <PATH_TO_STORE_THE_RESULTS> \
--grid idiap --grid idiap
...@@ -153,8 +152,7 @@ To run this baseline on the `replayattack`_ database, using the ``grandtest`` pr ...@@ -153,8 +152,7 @@ To run this baseline on the `replayattack`_ database, using the ``grandtest`` pr
.. code-block:: sh .. code-block:: sh
$ ./bin/spoof.py qm-svm \ $ ./bin/spoof.py replay-attack qm-svm \
--database replay --protocol grandtest --groups train dev eval \
--sub-directory <PATH_TO_STORE_THE_RESULTS> --sub-directory <PATH_TO_STORE_THE_RESULTS>
.. tip:: .. tip::
...@@ -201,8 +199,7 @@ To run this baseline on the `replayattack`_ database, using the ``grandtest`` pr ...@@ -201,8 +199,7 @@ To run this baseline on the `replayattack`_ database, using the ``grandtest`` pr
.. code-block:: sh .. code-block:: sh
$ ./bin/spoof.py frame-diff-svm \ $ ./bin/spoof.py replay-attack frame-diff-svm \
--database replay --protocol grandtest --groups train dev eval \
--sub-directory <PATH_TO_STORE_THE_RESULTS> --sub-directory <PATH_TO_STORE_THE_RESULTS>
.. tip:: .. tip::
...@@ -245,8 +242,7 @@ Baselines on REPLAY-MOBILE database ...@@ -245,8 +242,7 @@ Baselines on REPLAY-MOBILE database
-------------------------------------- --------------------------------------
This section summarizes the results of baseline face PAD experiments on the `Replay-Mobile`_ database. This section summarizes the results of baseline face PAD experiments on the `Replay-Mobile`_ database.
The description of the database instance, which can be used to run face PAD experiments on the Replay-Mobile is given The description of the database-related settings, which are used to run face PAD baselines on the Replay-Mobile is given here :ref:`bob.pad.face.resources.databases.replay_mobile`. To understand the settings in more details you can check the corresponding configuration file : ``bob/pad/face/config/replay_mobile.py``.
here :ref:`bob.pad.face.resources.databases.replay_mobile`.
LBP features of facial region + SVM classifier LBP features of facial region + SVM classifier
...@@ -259,8 +255,7 @@ To run this baseline on the `Replay-Mobile`_ database, using the ``grandtest`` p ...@@ -259,8 +255,7 @@ To run this baseline on the `Replay-Mobile`_ database, using the ``grandtest`` p
.. code-block:: sh .. code-block:: sh
$ ./bin/spoof.py lbp-svm \ $ ./bin/spoof.py replay-mobile lbp-svm \
--database replay-mobile --protocol grandtest --groups train dev eval \
--sub-directory <PATH_TO_STORE_THE_RESULTS> --sub-directory <PATH_TO_STORE_THE_RESULTS>
.. tip:: .. tip::
...@@ -308,8 +303,7 @@ To run this baseline on the `Replay-Mobile`_ database, using the ``grandtest`` p ...@@ -308,8 +303,7 @@ To run this baseline on the `Replay-Mobile`_ database, using the ``grandtest`` p
.. code-block:: sh .. code-block:: sh
$ ./bin/spoof.py qm-svm \ $ ./bin/spoof.py replay-mobile qm-svm \
--database replay-mobile --protocol grandtest --groups train dev eval \
--sub-directory <PATH_TO_STORE_THE_RESULTS> --sub-directory <PATH_TO_STORE_THE_RESULTS>
.. tip:: .. tip::
...@@ -357,8 +351,7 @@ To run this baseline on the `Replay-Mobile`_ database, using the ``grandtest`` p ...@@ -357,8 +351,7 @@ To run this baseline on the `Replay-Mobile`_ database, using the ``grandtest`` p
.. code-block:: sh .. code-block:: sh
$ ./bin/spoof.py frame-diff-svm \ $ ./bin/spoof.py replay-mobile frame-diff-svm \
--database replay-mobile --protocol grandtest --groups train dev eval \
--sub-directory <PATH_TO_STORE_THE_RESULTS> --sub-directory <PATH_TO_STORE_THE_RESULTS>
.. tip:: .. tip::
...@@ -401,8 +394,7 @@ Baselines on MSU MFSD database ...@@ -401,8 +394,7 @@ Baselines on MSU MFSD database
-------------------------------------- --------------------------------------
This section summarizes the results of baseline face PAD experiments on the `MSU MFSD`_ database. This section summarizes the results of baseline face PAD experiments on the `MSU MFSD`_ database.
The description of the database instance, which can be used to run face PAD experiments on the MSU MFSD is given The description of the database-related settings, which are used to run face PAD baselines on the MSU MFSD is given here :ref:`bob.pad.face.resources.databases.msu_mfsd`. To understand the settings in more details you can check the corresponding configuration file : ``bob/pad/face/config/msu_mfsd.py``.
here :ref:`bob.pad.face.resources.databases.msu_mfsd`.
LBP features of facial region + SVM classifier LBP features of facial region + SVM classifier
...@@ -415,8 +407,7 @@ To run this baseline on the `MSU MFSD`_ database, using the ``grandtest`` protoc ...@@ -415,8 +407,7 @@ To run this baseline on the `MSU MFSD`_ database, using the ``grandtest`` protoc
.. code-block:: sh .. code-block:: sh
$ ./bin/spoof.py lbp-svm \ $ ./bin/spoof.py msu-mfsd lbp-svm \
--database msu-mfsd --protocol grandtest --groups train dev eval \
--sub-directory <PATH_TO_STORE_THE_RESULTS> --sub-directory <PATH_TO_STORE_THE_RESULTS>
.. tip:: .. tip::
...@@ -464,8 +455,7 @@ To run this baseline on the `MSU MFSD`_ database, using the ``grandtest`` protoc ...@@ -464,8 +455,7 @@ To run this baseline on the `MSU MFSD`_ database, using the ``grandtest`` protoc
.. code-block:: sh .. code-block:: sh
$ ./bin/spoof.py qm-svm \ $ ./bin/spoof.py msu-mfsd qm-svm \
--database msu-mfsd --protocol grandtest --groups train dev eval \
--sub-directory <PATH_TO_STORE_THE_RESULTS> --sub-directory <PATH_TO_STORE_THE_RESULTS>
.. tip:: .. tip::
...@@ -513,8 +503,7 @@ To run this baseline on the `MSU MFSD`_ database, using the ``grandtest`` protoc ...@@ -513,8 +503,7 @@ To run this baseline on the `MSU MFSD`_ database, using the ``grandtest`` protoc
.. code-block:: sh .. code-block:: sh
$ ./bin/spoof.py frame-diff-svm \ $ ./bin/spoof.py msu-mfsd frame-diff-svm \
--database msu-mfsd --protocol grandtest --groups train dev eval \
--sub-directory <PATH_TO_STORE_THE_RESULTS> --sub-directory <PATH_TO_STORE_THE_RESULTS>
.. tip:: .. tip::
...@@ -558,10 +547,7 @@ Baselines on Aggregated Database ...@@ -558,10 +547,7 @@ Baselines on Aggregated Database
-------------------------------------- --------------------------------------
This section summarizes the results of baseline face PAD experiments on the Aggregated Database. This section summarizes the results of baseline face PAD experiments on the Aggregated Database.
The description of the database instance, which can be used to run face PAD experiments on the Aggregated Database is given The description of the database-related settings, which are used to run face PAD baselines on the Aggregated Db is given here :ref:`bob.pad.face.resources.databases.aggregated_db`. To understand the settings in more details you can check the corresponding configuration file : ``bob/pad/face/config/aggregated_db.py``.
here :ref:`bob.pad.face.resources.databases.aggregated_db`.
To understand the settings of this database instance in more details you can check the
corresponding configuration file: ``bob/pad/face/config/database/aggregated_db.py``.
------------ ------------
...@@ -575,8 +561,7 @@ To run this baseline on the :ref:`bob.pad.face.resources.databases.aggregated_db ...@@ -575,8 +561,7 @@ To run this baseline on the :ref:`bob.pad.face.resources.databases.aggregated_db
.. code-block:: sh .. code-block:: sh
$ ./bin/spoof.py lbp-svm-aggregated-db \ $ ./bin/spoof.py aggregated-db lbp-svm-aggregated-db \
--database aggregated-db --protocol grandtest --groups train dev eval \
--sub-directory <PATH_TO_STORE_THE_RESULTS> --sub-directory <PATH_TO_STORE_THE_RESULTS>
.. tip:: .. tip::
...@@ -623,8 +608,7 @@ To run this baseline on the :ref:`bob.pad.face.resources.databases.aggregated_db ...@@ -623,8 +608,7 @@ To run this baseline on the :ref:`bob.pad.face.resources.databases.aggregated_db
.. code-block:: sh .. code-block:: sh
$ ./bin/spoof.py qm-svm-aggregated-db \ $ ./bin/spoof.py aggregated-db qm-svm-aggregated-db \
--database aggregated-db --protocol grandtest --groups train dev eval \
--sub-directory <PATH_TO_STORE_THE_RESULTS> --sub-directory <PATH_TO_STORE_THE_RESULTS>
.. tip:: .. tip::
...@@ -671,8 +655,7 @@ To run this baseline on the :ref:`bob.pad.face.resources.databases.aggregated_db ...@@ -671,8 +655,7 @@ To run this baseline on the :ref:`bob.pad.face.resources.databases.aggregated_db
.. code-block:: sh .. code-block:: sh
$ ./bin/spoof.py frame-diff-svm-aggregated-db \ $ ./bin/spoof.py aggregated-db frame-diff-svm-aggregated-db \
--database aggregated-db --protocol grandtest --groups train dev eval \
--sub-directory <PATH_TO_STORE_THE_RESULTS> --sub-directory <PATH_TO_STORE_THE_RESULTS>
.. tip:: .. tip::
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment