Skip to content

My little effort to write a trainer class for PyTorch models. This project started out as a way to solve my issue with `pytorch_lightning`, which failed to compute metrics accurately. Currently it is in no way a replacement for neither `pytorch_lightning` nor `fastai`, but the interface is somewhat based on both. My goal is to keep the implement…

Notifications You must be signed in to change notification settings

Binpord/pytorch_trainer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

pytorch_trainer

My little effort to write a trainer class for PyTorch models. This project started out as a way to solve my issue with pytorch_lightning, which failed to compute metrics accurately. Currently it is in no way a replacement for neither pytorch_lightning nor fastai, but the interface is somewhat based on both. My goal is to keep the implementation as simple as possible to make it easy to take it as a snippet and customise.

Update: either the issue with pytorch_lightning and torchmetrics was fixed, or I just failed to use them together correctly, I no longer am able to reproduce the behavior that bumped me to write this code. Anyways, it still was worth it and I had a lot of fun. However, I probably won't bother updating this repository anymore.

About

My little effort to write a trainer class for PyTorch models. This project started out as a way to solve my issue with `pytorch_lightning`, which failed to compute metrics accurately. Currently it is in no way a replacement for neither `pytorch_lightning` nor `fastai`, but the interface is somewhat based on both. My goal is to keep the implement…

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages