From d9870e3f108ba734d1038761894a3ed2e367a787 Mon Sep 17 00:00:00 2001 From: Amir MOHAMMADI <amir.mohammadi@idiap.ch> Date: Thu, 12 Nov 2020 17:25:53 +0100 Subject: [PATCH] small changes --- doc/baselines.rst | 13 ++++++------- setup.py | 9 --------- 2 files changed, 6 insertions(+), 16 deletions(-) diff --git a/doc/baselines.rst b/doc/baselines.rst index 07b7e8e6..c75a8573 100644 --- a/doc/baselines.rst +++ b/doc/baselines.rst @@ -14,22 +14,22 @@ in ``bob.pad.face``. Running Baseline Experiments ---------------------------- -To run the baseline PAD experiments, the ``spoof.py`` script located in ``bin`` directory is used. +To run the baseline PAD experiments, the ``bob pad vanilla-pad`` script is used. To see the description of the script you can type in the console: .. code-block:: sh - $ spoof.py --help + $ bob pad vanilla-pad --help This script is explained in more detail in :ref:`bob.pad.base.experiments`. Usually it is a good idea to have at least verbose level 2 (i.e., calling -``spoof.py --verbose --verbose``, or the short version ``spoof.py --vv``). +``bob pad vanilla-pad --verbose --verbose``, or the short version +``bob pad vanilla-pad -vv``). .. note:: **Running in Parallel** - To run the experiments in parallel, you can define an SGE grid or local host + To run the experiments in parallel, you can define a dask client (multi-processing) configurations as explained in :ref:`running_in_parallel`. @@ -97,8 +97,7 @@ To run this baseline on the `replayattack`_ database, using the ``grandtest`` pr .. code-block:: sh - $ spoof.py replay-attack lbp-svm \ - --sub-directory <PATH_TO_STORE_THE_RESULTS> + $ bob pad vanilla-pad replay-attack lbp-64 svm-frames .. tip:: diff --git a/setup.py b/setup.py index a3a8e5e7..aaa0c116 100644 --- a/setup.py +++ b/setup.py @@ -97,7 +97,6 @@ setup( # baselines using SVM: 'lbp-svm = bob.pad.face.config.lbp_svm', 'qm-svm = bob.pad.face.config.qm_svm', - 'frame-diff-svm = bob.pad.face.config.frame_diff_svm', # baselines using LR: 'qm-lr = bob.pad.face.config.qm_lr', @@ -122,7 +121,6 @@ setup( 'bob.pad.extractor': [ 'video-lbp-histogram-extractor-n8r1-uniform = bob.pad.face.config.extractor.video_lbp_histogram:video_lbp_histogram_extractor_n8r1_uniform', 'video-quality-measure-galbally-msu = bob.pad.face.config.extractor.video_quality_measure:video_quality_measure_galbally_msu', - 'frame-diff-feat-extr-w20-over0 = bob.pad.face.config.extractor.frame_diff_features:frame_diff_feat_extr_w20_over0', ], # registered algorithms: @@ -132,13 +130,6 @@ setup( 'video-svm-pad-algorithm-default-svm-param-mean-std-frame-level = bob.pad.face.config.algorithm.video_svm_pad_algorithm:video_svm_pad_algorithm_default_svm_param_mean_std_frame_level', ], - # registered grid configurations: - 'bob.pad.grid': [ - 'idiap = bob.pad.face.config.grid:idiap', - 'idiap-user-machines = bob.pad.face.config.grid:idiap_user_machines', - 'small = bob.pad.face.config.grid:small', - ], - # registered ``bob pad ...`` commands 'bob.pad.cli': [ 'statistics = bob.pad.face.script.statistics:statistics', -- GitLab