Search⌘ K

Required Downloads

Understand how to set up your environment for GAN training by installing necessary libraries such as TorchText and Apex, and downloading essential datasets like LSUN. This lesson guides you through the commands and procedures to prepare your PyTorch workspace effectively.

Libraries

Several libraries are used during training models and evaluating them. They can be installed by using following commands:

Python 3.10.4
$ pip3 install pandas numpy seaborn matplotlib torch torchvision scipy opencv-python lmdb
dominate visdom h5py pyyaml tensorboard-pytorch python-dateutil easydicttorchfile scipy soundfile
pyfftw tensorboardX librosa

For Apex installation, use the following commands:

Shell-20
$ git clone https://github.com/NVIDIA/apex
$ cd apex
$ pip install -v --no-cache-dir --global-option="--cpp_ext" --global-option="--cuda_ext" .

For TorchText installation, use the following commands: ...