This README is under construction, but the project consists of using GANs to generate a synthetic dataset to train a CNN to correct the color of underwater images.
If it is your first time running the project, go from step 1 to 5. If you already installed the requeriments and want to run it, just activate the environment with the step 3.
- Install python3-venv:
sudo apt-get install python3-venv -y
- In the root path of this repo, run:
python3 -m venv v-env
- Activate the environment:
source v-env/bin/activate
- Run this before requirements so it doesn't fail:
pip install wheel
- Install the project requirements:
pip install -r requirements.txt
- At cnn/ and gan/ change the parameters.json.example filename to parameters.json. This is done so your local changes in the paths and hyperparameters are not uploaded to GitHub.
- Make sure your environment is activated:
source v-env/bin/activate
- To train the GAN, run:
cd gan/
python main.py
- Gabriel Noya - gnoya
- Jose Cappelletto - cappelletto