If you haven't already cloned the repository with the complete code for all chapters, clone the repository now. The downloaded code has a directory called Chapter06, which contains the entire code for this chapter. Execute the following commands to set up the project:
- Start by navigating to the parent directory as follows:
cd Generative-Adversarial-Networks-Projects
- Now, change the directory from the current directory to Chapter06:
cd Chapter06
- Next, create a Python virtual environment for this project:
virtualenv venv
virtualenv venv -p python3 # Create a virtual environment using
python3 interpreter
virtualenv venv -p python2 # Create a virtual environment using
python2 interpreter
We will be using this newly created virtual environment for this project. Each chapter has its own separate virtual environment.
- Activate the...