网页 综合 更新时间 2026-11-14 16:52:54

How-to Guides | PyTorch-Ignite

自动蜘蛛 pytorch-ignite.ai 正文约 1516 字
How-to Guides
| PyTorch-Ignite
Below are step by step guides on understanding the concepts and how-to tips, and best practices of PyTorch-Ignite.
Install PyTorch-Ignite from pip, conda, source or use pre-built docker images
In this guide, we will show how PyTorch code components can be converted into compact and flexible PyTorch-Ignite code.
Learn how to get the time breakdown for individual epochs during training, individual events, all handlers corresponding to an event, individual handlers, data loading and data processing using Engine’s State, BasicTimeProfiler and HandlersTimeProfiler.
This how-to guide demonstrates how we can leverage the FastaiLRFinder handler to find an optimal learning rate to train our model on. We will compare the results produced with and without using the handler for better understanding.
To effectively increase the batch size on limited GPU resources, follow this simple best practice.
When the data provider for training or validation is an iterator (infinite or finite with known or unknown size), here are some basic examples of how to setup trainer or evaluator.
This how-to guide demonstrates how we can do Cross Validation using the k-fold technique with PyTorch-Ignite and save the best results.
Cross Validation is useful for tuning model parameters or when the available data is insufficient to properly test
Learn how to create custom events that depend on the loss calculated, backward pass, optimization step, etc.
Example on how to switch data during training after some number of iterations
访问原文 返回搜索 https://pytorch-ignite.ai/how-to-guides/
本页为82搜索生成的网页快照,内容来自站内索引;演示数据的原文链接仅作示例。