The source code for the project is available on GitHub at the following link: https://github.com/PacktPublishing/Generative-Adversarial-Networks-Projects.
Run the following commands to set up the project:
- Start by navigating to the parent directory, as follows:
cd Generative-Adversarial-Networks-Projects
- Next, change directory from the current directory to the Chapter02 directory:
cd Chapter02
- Next, create a Python virtual environment for this project:
virtualenv venv
- After that, activate the virtual environment:
source venv/bin/activate
- Finally, install all the requirements that are indicated in the requirements.txt file:
pip install -r requirements.txt
We have now successfully set up the project. For more information, refer to the README.md file included with the code repository.