We have already cloned/downloaded the complete code for all the chapters. The downloaded code contains a directory called Chapter04, 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 Chapter04:
cd Chapter04
- 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.
- Next, activate...