diff --git a/README.rst b/README.rst index d8977133615e16fe2e8e83004ae6228d73b2006d..41cfa27e9cc39b5d336c563bca8d0ebe7d58bba4 100644 --- a/README.rst +++ b/README.rst @@ -116,6 +116,8 @@ You need to configure a few important paths that are used in the code to read in # Paths to preexisting databases # Folder containing Multi-PIE images bob config set bob.db.multipie.directory <path_to_folder> (*data* folder in the downloaded database). + # Folder containing FFHQ images + bob config set bob.db.ffhq.directory <path_to_folder> # Paths to generated content @@ -125,6 +127,8 @@ You need to configure a few important paths that are used in the code to read in bob config set bob.synface.latent_directions <path_to_pickle_file.pkl> # Folder to store generated data bob config set bob.synface.synthetic_datasets <path_to_folder> + # Folder to score biometric evaluation results + bob config set bob.synface.scores <path_to_folder> Run dataset projection ********************** @@ -154,7 +158,7 @@ in the latent space: ./bin/latent_analysis.py --seed 0 The results will be stored in the Pickle file pointed by the `bob.synface.latent_directions` entry of the `.bobrc` configuration file. - +In case you don't want to regenerate yourself those latent directions, we provide them already in this repo under the path `precomputed/latent_directions.pkl`. Generate a synthetic database ***************************** @@ -187,9 +191,15 @@ the identities are split to generate all variations. Run benchmark experiments ************************* -Upcoming - +Contrary to all previous scripts, the benchmark experiments are based on Bob 9.0 and Tensorflow 2. Therefore, one rerun the :code:`buildout` command with the Bob 9.0 environment as a basis. +This is done with: +:: + conda activate synbenchmark + buildout +which should in particular create +1. `./bin/python` Custom Python executable containing the benchmark env. extended with `bob.paper.ijcb2021_synthetic_dataset` +2. `./bin/uniqueness_experiment.py` Custom benchmark script to compare identities from two different database (Seed and Synthetic). Contact diff --git a/precomputed/latent_directions.pkl b/precomputed/latent_directions.pkl new file mode 100755 index 0000000000000000000000000000000000000000..58e32dad41ead06676d2d191dac39167b8cc6284 Binary files /dev/null and b/precomputed/latent_directions.pkl differ