Technical requirements
We will be using Jupyter notebooks for all of our exercises. The following is the list of Python libraries that should be installed for this chapter using pip. For example, run pip install torch==1.4.0 on the command line, and so on:
jupyter==1.0.0 torch==1.4.0 torchvision==0.5.0 nltk==3.4.5 Pillow==6.2.2 pycocotools==2.0.0
All the code files relevant to this chapter are available at https://github.com/PacktPublishing/Mastering-PyTorch/tree/master/Chapter02.