lyhue1991/torchkeras
Pytorch❤️ Keras 😋😋 observed · 2026-08-28
Health v2 · maintenance only
55/100
- Activity 72
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2264
- days_rel: n/a
- days_push: 168
- n_releases_24m: 0
Adoption not part of the score
2009 stars · 250 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
torchkeras is a lightweight PyTorch model training template library that brings Keras-style compile/fit/evaluate APIs to PyTorch. Its core is only ~200 lines of modular code, with built-in progress bars, metrics, early stopping, checkpointing, and dynamic visualization in Jupyter notebooks.
Use cases
- train pytorch models without writing training loops
- keras-style fit API for pytorch
- add early stopping and metrics to pytorch training
- visualize training curves in jupyter notebook
- finetune models with a simple trainer
- replace messy custom trainers in pytorch libraries
When to choose
- you want Keras-like simplicity for PyTorch training
- you need a short, hackable training template you can modify
- you train in Jupyter and want live plots and pretty logs
When to avoid
- you need distributed training at scale or advanced Trainer features
- you already use PyTorch Lightning or Hugging Face Trainer workflows
Facets
library · maturity active
machine-learning deep-learning llm-training data-visualization logging deep-learning machine-learning developer-tools python cross-platform pytorch keras-api training-loop model-training jupyter early-stopping tensorboard wandb
2 sources
- readme: https://github.com/lyhue1991/torchkeras · fetched 2026-08-28 · 082450e6e702
- registry_pypi: https://pypi.org/pypi/torchkeras/json · fetched 2026-08-29 · 047392cde2ab
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| lyhue1991/torchkeras | main | 55 |
For agents
markdown · JSON · MCP: product_card(name="lyhue1991/torchkeras")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem