Technical requirements
The code for this chapter has been developed and tested on macOS with Anaconda or in Google Colab with Python 3.6. If you are using another environment, please make the appropriate changes to your env
variables.
In this chapter, we will primarily be using the following Python modules, mentioned with their versions:
- PyTorch Lightning (version: 1.5.2)
- Seaborn (version: 0.11.2)
- NumPy (version: 1.21.5)
- Torch (version: 1.10.0)
- pandas (version: 1.3.5)
Please import all these modules into your Jupyter environment. In order to make sure that these modules work together and not go out of sync, we have used the specific version of torch, torchvision, torchtext, torchaudio with PyTorch Lightning 1.5.2. You can also use the latest version of PyTorch Lightning and torch compatible with each other. More details can be found on the GitHub link: https://github.com/PacktPublishing/Deep-Learning-with-PyTorch-Lightning
!pip install torch==1...