In general, the options to use (reference/degraded image folders, network models, output directory, etc.) are located in [end-to-end/options](../end-to-end/options).
You can [download at this link](https://www.fing.edu.uy/owncloud/index.php/s/IaZugHCrw5K1AcB) **pre-trained model** with the real image captures detailed at previews the [Data section](../README.md).
To run inference, you need to edit the file [end-to-end/options/train_drunet.json](../end-to-end/options/test_drunet.json) and, once the changes are made, execute:
To evaluate a directory with images (both reference and model's inference), you need to edit the file [end-to-end/options/evaluation.json](../end-to-end/options/evaluation.json) and, once the changes are made, execute:
To train with real data, the file [train_drunet.json](../end-to-end/options/train_drunet.json) must have the value __"drunet_finetune"__ in the *dataset_type* field (datasets-->train).
To train with synthetic data, the file [train_drunet.json](../end-to-end/options/train_drunet.json) must have the value __"drunet"__ in the *dataset_type* field (datasets-->train).
For synthetic captured images generation, first configure the options on [tempest_simulation.json](../end-to-end/options/tempest_simulation.json) file. Be sure to include the path to the folder containing the images to run the simulation of direct capturing image from the EME of a monitor. Then run the following command: