Skip to content
Snippets Groups Projects
Commit a454e82c authored by Pavel KORSHUNOV's avatar Pavel KORSHUNOV
Browse files

Align with bio base

parent 47666724
No related branches found
No related tags found
1 merge request!1moved pad DB interface here, tests are passing
Pipeline #
...@@ -107,7 +107,7 @@ def command_line_parser(description=__doc__, exclude_resources_from=[]): ...@@ -107,7 +107,7 @@ def command_line_parser(description=__doc__, exclude_resources_from=[]):
# directories differ between idiap and extern # directories differ between idiap and extern
temp = "/idiap/temp/%s/database-name/sub-directory" % os.environ["USER"] if is_idiap() else "temp" temp = "/idiap/temp/%s/database-name/sub-directory" % os.environ["USER"] if is_idiap() else "temp"
results = "/idiap/user/%s/database-name/sub-directory" % os.environ["USER"] if is_idiap() else "results" results = "/idiap/user/%s/database-name/sub-directory" % os.environ["USER"] if is_idiap() else "results"
database_replacement = "%s/.bob_spoof_databases.txt" % os.environ["HOME"] database_replacement = "%s/.bob_bio_databases.txt" % os.environ["HOME"]
dir_group = parser.add_argument_group('\nDirectories that can be changed according to your requirements') dir_group = parser.add_argument_group('\nDirectories that can be changed according to your requirements')
dir_group.add_argument('-T', '--temp-directory', metavar='DIR', dir_group.add_argument('-T', '--temp-directory', metavar='DIR',
......
...@@ -53,7 +53,7 @@ For a list of supported databases including their download URLs, please refer to ...@@ -53,7 +53,7 @@ For a list of supported databases including their download URLs, please refer to
After downloading the original data for the databases, you will need to tell ``bob.pad``, where these databases can be found. After downloading the original data for the databases, you will need to tell ``bob.pad``, where these databases can be found.
For this purpose, we have decided to implement a special file, where you can set your directories. For this purpose, we have decided to implement a special file, where you can set your directories.
By default, this file is located in ``~/.bob_spoof_databases.txt``, and it contains several lines, each line looking somewhat like: Similar to ``bob.bio.base``, by default, this file is located in ``~/.bob_bio_databases.txt``, and it contains several lines, each line looking somewhat like:
.. code-block:: text .. code-block:: text
......
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