Update PyTorch Lightning Example
See original GitHub issueTL; DR: Use the new argument limit_val_batches
instead of the deprecated val_percent_check
.
As per https://pytorch-lightning.readthedocs.io/en/stable/api/pytorch_lightning.trainer.html#val-percent-check, val_percent_check
will be removed thus the below line should be updated.
https://github.com/optuna/optuna/blob/82d23924e02a8a5fc82fac802544170ff04226d2/examples/pytorch_lightning_simple.py#L143
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:8 (3 by maintainers)
Top Results From Across the Web
PyTorch Lightning
The ultimate PyTorch research framework. Scale your models, without the boilerplate. $ pip install pytorch-lightning.
Read more >Installation — PyTorch Lightning 1.8.5.post0 documentation
Install future patch releases from the source. Note that the patch release contains only the bug fixes for the recent major release. pip...
Read more >pytorch-lightning - PyPI
The lightweight PyTorch wrapper for high-performance AI research. Scale your models, not the boilerplate. Website • Key Features • How To Use •...
Read more >Graphcore code examples and tutorials for PyTorch Lightning
A collection of tutorials and examples showing how to use Graphcore's IPUs with PyTorch Lightning - GitHub - graphcore/pytorch-lightning-examples: A ...
Read more >PyTorch Lightning for Dummies - A Tutorial and Overview
In this tutorial we'll explore the differences between Lightning and ordinary PyTorch, understand the Lightning workflow, and then build and ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Nice!
You shouldn’t feel sorry about that. I’m here to help you.
Thank you for correcting me about the deprecated features 🙂
That log doesn’t throw any error of PyTorch Lightning and Optuna CI has used PyTorch Lightning v0.9.0 and I’ve not seen any error due to the version of the deprecated.