PyTorch Lightning Tutorial - Lightweight PyTorch Wrapper For ML Researchers

Patrick Loeber
Patrick Loeber
54.3 هزار بار بازدید - 4 سال پیش - PyTorch Lightning is a lightweight
PyTorch Lightning is a lightweight PyTorch wrapper that helps you scale your models and write less boilerplate code. In this Tutorial we learn about this framework and how we can convert our PyTorch code to a Lightning code.

Lightning is nothing more than organized PyTorch code, so once you’ve organized it into a LightningModule, it automates most of the training for you.The beauty of Lightning is that it handles the details of when to validate, when to call .eval(), turning off gradients, detaching graphs, making sure you don’t enable shuffle for val, etc…

~~~~~~~~~~~~~~ GREAT PLUGINS FOR YOUR CODE EDITOR ~~~~~~~~~~~~~~
✅ Write cleaner code with Sourcery: https://sourcery.ai/?utm_source=youtu... *

🚀🚀 JOIN MY NEWSLETTER 🚀🚀
https://www.python-engineer.com/newsl...

🚀🚀 Get exclusive content on Patreon: 🚀🚀
Patreon: patrickloeber

If you enjoyed this video, please subscribe to the channel!

Code:
https://github.com/patrickloeber/pyto...

PyTorch Lightning:
https://github.com/PyTorchLightning/p...
https://pytorch-lightning.readthedocs...

My PyTorch Course:
PyTorch Tutorials - Complete Beginner...
https://github.com/patrickloeber/pyto...

Tensorboard Tutorial:
PyTorch Tutorial 16 - How To Use The ...

You can find me here:
Website: https://www.python-engineer.com
Twitter: Twitter: patloeber
GitHub: https://github.com/patrickloeber

#Python #PyTorch

----------------------------------------------------------------------------------------------------------
* This is a sponsored link. By clicking on it you will not have any additional costs, instead you will support me and my project. Thank you so much for the support! 🙏
4 سال پیش در تاریخ 1399/05/25 منتشر شده است.
54,301 بـار بازدید شده
... بیشتر