Commit 9a46217a authored by Amir MOHAMMADI's avatar Amir MOHAMMADI

Merge branch 'hackathon2017' into 'master'

removed unnecessary commands starting with ./bin/

See merge request !28
parents 1f98d92e efe50626
Pipeline #8953 passed with stages
in 37 minutes and 40 seconds
...@@ -14,20 +14,20 @@ recognition algorithms that are implemented in ``bob.bio.vein``. ...@@ -14,20 +14,20 @@ recognition algorithms that are implemented in ``bob.bio.vein``.
Running Baseline Experiments Running Baseline Experiments
---------------------------- ----------------------------
To run the baseline experiments, you can use the ``./bin/verify.py`` script by To run the baseline experiments, you can use the ``verify.py`` script by
just going to the console and typing: just going to the console and typing:
.. code-block:: sh .. code-block:: sh
$ ./bin/verify.py $ verify.py
This script is explained in more detail in :ref:`bob.bio.base.experiments`. This script is explained in more detail in :ref:`bob.bio.base.experiments`.
The ``./bin/verify.py --help`` option shows you, which other options you can The ``verify.py --help`` option shows you, which other options you can
set. set.
Usually it is a good idea to have at least verbose level 2 (i.e., calling Usually it is a good idea to have at least verbose level 2 (i.e., calling
``./bin/verify.py --verbose --verbose``, or the short version ``./bin/verify.py ``verify.py --verbose --verbose``, or the short version ``verify.py
-vv``). -vv``).
.. note:: **Running in Parallel** .. note:: **Running in Parallel**
...@@ -98,7 +98,7 @@ protocol, do the following: ...@@ -98,7 +98,7 @@ protocol, do the following:
.. code-block:: sh .. code-block:: sh
$ ./bin/verify.py verafinger rlt -vv $ verify.py verafinger rlt -vv
.. tip:: .. tip::
...@@ -114,7 +114,7 @@ protocol, do the following: ...@@ -114,7 +114,7 @@ protocol, do the following:
.. code-block:: sh .. code-block:: sh
$ ./bin/verify.py verafinger rlt parallel -vv $ verify.py verafinger rlt parallel -vv
This command line selects and runs the following implementations for the This command line selects and runs the following implementations for the
...@@ -134,7 +134,7 @@ performance: ...@@ -134,7 +134,7 @@ performance:
.. code-block:: sh .. code-block:: sh
$ ./bin/bob_eval_threshold.py <path-to>/verafinger/rlt/Nom/nonorm/scores-dev $ bob_eval_threshold.py <path-to>/verafinger/rlt/Nom/nonorm/scores-dev
('Threshold:', 0.32045327) ('Threshold:', 0.32045327)
FAR : 26.362% (12701/48180) FAR : 26.362% (12701/48180)
FRR : 26.364% (58/220) FRR : 26.364% (58/220)
...@@ -152,7 +152,7 @@ protocol like above, do the following: ...@@ -152,7 +152,7 @@ protocol like above, do the following:
.. code-block:: sh .. code-block:: sh
$ ./bin/verify.py verafinger mc -vv $ verify.py verafinger mc -vv
This command line selects and runs the following implementations for the This command line selects and runs the following implementations for the
...@@ -167,7 +167,7 @@ we obtained: ...@@ -167,7 +167,7 @@ we obtained:
.. code-block:: sh .. code-block:: sh
$ ./bin/bob_eval_threshold.py <path-to>/verafinger/mc/Nom/nonorm/scores-dev $ bob_eval_threshold.py <path-to>/verafinger/mc/Nom/nonorm/scores-dev
('Threshold:', 0.078274325) ('Threshold:', 0.078274325)
FAR : 3.182% (1533/48180) FAR : 3.182% (1533/48180)
FRR : 3.182% (7/220) FRR : 3.182% (7/220)
...@@ -186,7 +186,7 @@ protocol like above, do the following: ...@@ -186,7 +186,7 @@ protocol like above, do the following:
.. code-block:: sh .. code-block:: sh
$ ./bin/verify.py verafinger wld -vv $ verify.py verafinger wld -vv
This command line selects and runs the following implementations for the This command line selects and runs the following implementations for the
...@@ -201,7 +201,7 @@ we obtained: ...@@ -201,7 +201,7 @@ we obtained:
.. code-block:: sh .. code-block:: sh
$ ./bin/bob_eval_threshold.py <path-to>/verafinger/wld/NOM/nonorm/scores-dev $ bob_eval_threshold.py <path-to>/verafinger/wld/NOM/nonorm/scores-dev
('Threshold:', 0.239141175) ('Threshold:', 0.239141175)
FAR : 10.455% (5037/48180) FAR : 10.455% (5037/48180)
FRR : 10.455% (23/220) FRR : 10.455% (23/220)
...@@ -258,7 +258,7 @@ First, you identify where the configuration file sits: ...@@ -258,7 +258,7 @@ First, you identify where the configuration file sits:
.. code-block:: sh .. code-block:: sh
$ ./bin/resources.py -tc -p bob.bio.vein $ resources.py -tc -p bob.bio.vein
- bob.bio.vein X.Y.Z @ /path/to/bob.bio.vein: - bob.bio.vein X.Y.Z @ /path/to/bob.bio.vein:
+ mc --> bob.bio.vein.configurations.maximum_curvature + mc --> bob.bio.vein.configurations.maximum_curvature
+ parallel --> bob.bio.vein.configurations.parallel + parallel --> bob.bio.vein.configurations.parallel
...@@ -299,7 +299,7 @@ Now, re-run the experiment using your modified database descriptor: ...@@ -299,7 +299,7 @@ Now, re-run the experiment using your modified database descriptor:
.. code-block:: sh .. code-block:: sh
$ ./bin/verify.py ./verafinger_full.py wld -vv $ verify.py ./verafinger_full.py wld -vv
Notice we replace the use of the registered configuration file named Notice we replace the use of the registered configuration file named
...@@ -330,7 +330,7 @@ extracted ones. E.g.: ...@@ -330,7 +330,7 @@ extracted ones. E.g.:
.. code-block:: sh .. code-block:: sh
$ ./bin/compare_rois.py ~/verafinger/mc_annot/preprocessed ~/verafinger/mc/preprocessed $ compare_rois.py ~/verafinger/mc_annot/preprocessed ~/verafinger/mc/preprocessed
Jaccard index: 9.60e-01 +- 5.98e-02 Jaccard index: 9.60e-01 +- 5.98e-02
Intersection ratio (m1): 9.79e-01 +- 5.81e-02 Intersection ratio (m1): 9.79e-01 +- 5.81e-02
Intersection ratio of complement (m2): 1.96e-02 +- 1.53e-02 Intersection ratio of complement (m2): 1.96e-02 +- 1.53e-02
...@@ -351,7 +351,7 @@ preprocessing step using: ...@@ -351,7 +351,7 @@ preprocessing step using:
.. code-block:: sh .. code-block:: sh
$ ./bin/view_mask.py /path/to/verafinger/mc/preprocessed/098-F/098_R_1.hdf5 --save=example.png $ view_mask.py /path/to/verafinger/mc/preprocessed/098-F/098_R_1.hdf5 --save=example.png
$ # open example.png $ # open example.png
And you should be able to view an image like this (example taken from the Vera And you should be able to view an image like this (example taken from the Vera
......
...@@ -20,8 +20,7 @@ buildout this package: ...@@ -20,8 +20,7 @@ buildout this package:
.. code-block:: sh .. code-block:: sh
$ python bootstrap-buildout.py $ buildout
$ ./bin/buildout
Sphinx Documentation Building Sphinx Documentation Building
...@@ -32,7 +31,7 @@ running: ...@@ -32,7 +31,7 @@ running:
.. code-block:: sh .. code-block:: sh
$ ./bin/sphinx-build doc html $ sphinx-build doc html
The resulting HTML documentation will be output inside the directory `html`. The resulting HTML documentation will be output inside the directory `html`.
...@@ -80,8 +79,7 @@ previously installed Bob_ packages. To do so, use the buildout recipe in ...@@ -80,8 +79,7 @@ previously installed Bob_ packages. To do so, use the buildout recipe in
.. code-block:: sh .. code-block:: sh
$ python bootstrap-buildout.py $ buildout -c develop.cfg
$ ./bin/buildout -c develop.cfg
Database SQL support files Database SQL support files
...@@ -93,7 +91,7 @@ package. This operation can be easily done like this: ...@@ -93,7 +91,7 @@ package. This operation can be easily done like this:
.. code-block:: sh .. code-block:: sh
$ ./bin/bob_dbmanage.py all download $ bob_dbmanage.py all download
.. include:: links.rst .. include:: links.rst
...@@ -21,7 +21,7 @@ Databases ...@@ -21,7 +21,7 @@ Databases
--------- ---------
These resources represent configuration files containing at least settings for These resources represent configuration files containing at least settings for
the following runtime attributes of ``./bin/verify.py``: the following runtime attributes of ``verify.py``:
* ``database`` * ``database``
* ``protocol`` * ``protocol``
...@@ -50,7 +50,7 @@ Recognition Systems ...@@ -50,7 +50,7 @@ Recognition Systems
------------------- -------------------
These resources represent configuration files containing at least settings for These resources represent configuration files containing at least settings for
the following runtime attributes of ``./bin/verify.py``: the following runtime attributes of ``verify.py``:
* ``sub_directory`` * ``sub_directory``
* ``preprocessor`` * ``preprocessor``
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment