Skip to content
Snippets Groups Projects
Commit ac2cb617 authored by Solène's avatar Solène
Browse files

Initial commit

parent 2c504942
No related branches found
No related tags found
No related merge requests found
......@@ -3,7 +3,7 @@
The protocol is made to run on a multi-GPU platform, with orders launched via .slurm files.
The protocols runs automatically via main.py, which is the script which creates slurm files with CLI commands depending on the task of the protocol.
The python files contained in this folder are codes called by main.py.
The python files contained at the root of this folder are codes called by main.py.
A run of a protocol is saved in a folder like 'experiment/'. All stegos, cost maps, classifiers, evaluation on every classifier on every data bases, are saved in it. The structure of thoses files are shown in the .png file displayed at the end of this documentation.
A run of a protocol need data in input, which are:
......@@ -19,7 +19,8 @@ A run of a protocol need data in input, which are:
If --begin_step=0, the run of the protocol will begin with initialization which contains the following steps:
* training of classifiers (depending of --model) between cover and stego in folder 'train_$model_0/'.
* evaluation of the classifiers and both databases: cover and initial stegos.
It produces files at iteration $k are:
For further iteration $k, the operations are:
* adversarial stegos stored in a .npy file in the folder "data_adv_$k/adv_final/"
* optimized costs maps of shape 3*image_size*image_size stored in the folder "data_adv_$k/adv_cost/"
* evaluation of all the classifiers (all possible models trained at all previous iterations) on this new database of stegos in "data_adv_$k/eval_$model_$i/" of i between 0 and k-1.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment