lightning-hydra-template icon indicating copy to clipboard operation
lightning-hydra-template copied to clipboard

PyTorch Lightning + Hydra. A very user-friendly template for ML experimentation. ⚡🔥⚡

Results 92 lightning-hydra-template issues
Sort by recently updated
recently updated
newest added

Bumps [pytorch-lightning](https://github.com/Lightning-AI/lightning) from 1.6.5 to 1.7.0. Release notes Sourced from pytorch-lightning's releases. PyTorch Lightning 1.7: Apple Silicon support, Native FSDP, Collaborative training, and multi-GPU support with Jupyter notebooks The core...

dependencies

Hi, I saw that wandb callbacks can't be used when running using the trainer flag `++trainer.fast_dev_run=true`. This causes a problem when running test cases on experiments that use wandb callbacks...

I need to load a checkpoint trained from other folder. When I use 'torch.load', it throw an error since I change the working directory. I search the solution from internet...

I wonder how we automatically save the following command line into the current experiment output directory. ``` python run.py trainer.max_epochs=100 data.batch_size=23 optimizer.lr=0.01 optimizer.moment=0.9 a_lot_of_other_settings ``` In this way, it would...

enhancement
question

Suppose the previous exp results are saved in `./logs/runs/exp1`, if we want to resume from `exp1`, we can set `trainer.resume_from_checkpoint=./logs/runs/exp1/checkpoint/best.ckpt` to load the checkpoint. However, my question is: 1. can...

question

Hi ashleve, I find this [line](https://github.com/ashleve/lightning-hydra-template/blob/9e7089ce70dac66096576c6596e966d4c38cbdce/src/models/mnist_module.py#L70) logs acc without setting `sync_dist=True` and may log unexcepted values in DDP mode. The correct way in my understanding is: `self.log("train/acc", self.train_acc, on_step=False, on_epoch=True,...

AFAIK, In Pytorch Lightning, there are 4 running modes including [train/val/test/predict] (or maybe 5? including tune). But now in lightning-hydra-template, for using these different running modes, different *entry files* [train.py/val.py/test.py(eval.py)/predict.py]...

question
investigation
refactoring

Hello @ashleve thanks so much for creating this template. I am finding it so helpful in a lot of my development. I can't thank you enough. I had a question...

question

Add example notebook showcasing how to aggregate logs generated by CSVLogger and plot the results of multiple runs.

enhancement

Proposition: replace `Makefile` with `Snakefile`. Snakemake is a workflow management system for reproducible and scalable data analyses. https://github.com/snakemake/snakemake https://snakemake.readthedocs.io/

enhancement
investigation