Commit Graph
39 Commits
Author SHA1 Message Date
Łukasz Zalewski 9468ef91c5 Release/1.2 (#198)
* update template to pytorch 1.10+ and lightning 1.5+
* add experiment mode to all experiment configs and implement special logging paths for experiment mode
* add `MaxMetric` to model, for computation of best so far validation accuracy
* add RichProgressBar to default callbacks
* get rid of trick for preventing auto hparam logging, since lightning now supports it with `self.save_hyperparameters(logger=False)`
* add `self.save_hyperparameters()` to datamodule since lightinng now supports it
* deprecate Apex support
* deprecate bash script for conda setup
* change `terminate_on_nan` debug option to `detect_anomaly` for compatibility with lightning v1.5
* specify model and datamodule during `trainer.test()`, for compatibility with lightning v1.5
* remove `configs/trainer/all_params.yaml`
* make hyperparameter optimization compatible with lightning v1.5
* general documentation improvements
2021-11-05 12:38:44 +01:00
Łukasz Zalewski d45f604bc8 Release/1.0 (#156)
* update to Hydra 1.1
* add bash folder with scripts for conda setup and run scheduling
* add saving seed in `log_hyperparameters()` method
* redesign Dockerfile to make it weight less
* add `test_after_training` parameter to config
* add inheritance to trainer configs
* remove forcing ddp-friendly configuration
* refactor tests
* remove conda_env_gpu.yaml
* remove default langage version from pre-commit config
* add mnist datamodule unit test
* rename test folder from 'smoke' to 'shell'
* remove wandb import from utils.py
* change 'use_artifact' to 'log_artifact' in wandb callbacks
* add rank zero decorator to wandb callbacks
* add dumping rich tree config to file
* get rid of `=` character in ckpt names
* update requirements.txt
* update LICENSE
* update README.md
2021-07-21 03:37:45 +02:00
Łukasz Zalewski 70ab061f75 Release/0.9 (#141)
* add flake8 and prettier to pre-commit-config
* add setup.cfg
* add workers=True to seed_everything()
* update lightning badge logo
* bump package versions
* update README.md
* add __init__.py files
* add more logger configs parameters
* add default Dockerfile
* change .env.template to .env.example
* move inference example to readme
* remove img_dataset.py
* simplify names of wandb callbacks
* remove wandb test marker
* format files with prettier
2021-05-21 09:26:31 +02:00
Łukasz Zalewski 023d4bdecc Dev (#136)
* comment improvements

* add __init__.py

* add disabling pin memory on fast dev run

* rename template_utils.py to utils.py

* improve README.md

* add num_classes property to mnist datamodule

* add sh to requirements.txt

* bump package versions
2021-05-03 13:15:32 +02:00
Łukasz Zalewski 4bc60c3de7 Dev (#133)
* add torchmetrics to best practices

* Update README.md

* add hydra config folder
2021-04-28 20:02:03 +02:00
Łukasz Zalewski e0293193f5 Tests (#131)
* add smoke tests implemented with pytest

* add sweep tests, wandb tests and mixed-precision tests

* update requirements.txt

* remove .autoenv.template file

* update readme
2021-04-26 23:06:50 +02:00
Łukasz Zalewski e27c11c342 Dev (#125)
* add conference badges

* change TestDataset to ImgDataset

* update conda env

* bump package versions

* update README

* move optuna config to subfolder
2021-04-15 21:13:18 +02:00
Łukasz Zalewski a6bb5c6708 Dev (#121)
* fix readme links

* move dockerfile to separate branch
2021-04-06 15:02:21 +02:00
Łukasz Zalewski 2dcbdcdaf9 Dev (#118)
* update readme

* remove optimizer

* make parameters more explicit

* add .autoenv

* update dockerfile

* fix paths

* update configs

* update train.py

* fix test
2021-04-05 19:39:56 +02:00
Łukasz Zalewski 42f8acddd0 Docker (#117)
* add dockerfile

* Update README.md
2021-04-04 02:22:26 +02:00
Łukasz Zalewski 99b9c1a717 Dev (#113)
* change local lambda to normal function and move it outside of main method to enable DDP

* update .pre-commit-config.yaml

* update requirements.txt

* reformat files

* remove disabling lightning logs feature

* change logging strings to enable python 3.7

* update README.md

* remove double logging bug prevention since lightning fixed that
2021-03-30 03:19:32 +02:00
Łukasz Zalewski bc0de86874 Update requirements.txt 2021-03-28 20:34:02 +02:00
Łukasz Zalewski fca999f527 Dev (#105)
* add printing ckpt path

* refactor wandb callbacks

* fix code formatting
2021-03-22 22:53:55 +01:00
Łukasz Zalewski 755cd89cf0 Dev (#104)
* clean gitignore

* update requirements.txt

* add _convert_ parameter to trainer and optimizer
2021-03-22 00:49:19 +01:00
Łukasz Zalewski 6bf0303510 Dev (#100)
* remove .env file

* small improvements

* Update README.md
2021-03-15 21:18:39 +01:00
Łukasz Zalewski d571a4e2c2 Dev (#98)
* remove conda_env_cpu

* remove setup.py

* optimize tab completion by nesting imports

* add .env

* fix rich printing bug

* general improvements

* update readme
2021-03-15 16:55:06 +01:00
hobogalaxy 67d531ab67 remove unnecessary linters from pre-commit-config 2021-03-09 15:48:55 +01:00
Łukasz Zalewski 3d301977b3 General improvements (#88)
* remove unnecessary linters from pre-commit-config

* hook fix

* small improvements

* fix readme

* implement easier access to debug mode

* fix tests

* Update README.md

* Update README.md
2021-03-08 15:53:30 +01:00
hobogalaxy 3b46e402c7 add .pre-commit-config.yaml 2021-03-06 14:08:16 +01:00
Luke 036aec4914 Dev (#78)
* add neptune integration

* improve readme

* quick fix

* improve datamodule

* remove unnecessary folders from .gitignore

* change folder structure

* add optuna config

* add bash tests

* redesign readme.md

* change wandb callbacks names

* fix wandb callbacks

* resolve issues with sweeping alongside wandb

* improve rich config printing

* update readme

* Update README.md
2021-03-01 15:00:10 +01:00
Lucas f4e0c3a75f Dev (#71)
* add neptune integration

* improve readme

* quick fix
2021-01-29 20:59:04 +01:00
hobogalaxy 7fe01e22d3 develop more generic version of template, switch to using hydra initializers 2021-01-19 02:23:13 +01:00
hobogalaxy e93283d890 change the way optimizer config is passed to logger 2021-01-18 18:30:24 +01:00
hobogalaxy c3c2796dfc add example experiment config with full module paths 2021-01-16 16:33:44 +01:00
hobogalaxy b9af36fe28 add utils folder 2021-01-13 00:44:33 +01:00
hobogalaxy 66097c4bf3 fix bugs 2021-01-10 16:03:00 +01:00
hobogalaxy d24568e686 making progress with hydra 2021-01-07 22:40:21 +01:00
hobogalaxy 610117f161 training with hydra works 2021-01-06 02:49:30 +01:00
hobogalaxy fe81cbb304 configuration almost finished 2021-01-02 21:39:43 +01:00
hobogalaxy f46f380261 update progress 2020-12-12 14:27:08 +01:00
hobogalaxy 249992ee0a make paths relative 2020-12-05 01:52:39 +01:00
hobogalaxy 8d55f151bd add conda env file 2020-11-28 01:14:17 +01:00
hobogalaxy e7a579d720 BIG clean up and refactoring 2020-11-27 20:23:05 +01:00
hobogalaxy 53e063ca7e big refactoring 2020-11-21 03:54:38 +01:00
hobogalaxy 5ab6304277 update requirements.txt 2020-11-18 02:33:38 +01:00
hobogalaxy e1fb2c634b add predict.py 2020-11-17 21:49:03 +01:00
hobogalaxy 73c0691b55 fix ImagePredictionLoggerCallback 2020-11-17 16:24:12 +01:00
hobogalaxy 25abc240ce update requirements.txt 2020-11-16 04:46:29 +01:00
hobogalaxy 4abd0e2bc9 add requirements.txt 2020-11-05 02:21:01 +01:00