Commit Graph
19 Commits
Author SHA1 Message Date
ashleve 19f5454d13 Refactoring configs (#248)
- make every run be an experiment by default
- deprecate `mode` configs
- introduce `debug` configs
- introduce `log_dir` configs
- remove unnecessary utilities from `utils.extras()`
- add config flag for skipping training
- update README.md
2022-02-18 01:38:04 +01:00
Nils Werner 8b62eef9d0 Rename accelerator="ddp" to strategy="ddp" (#228) 2021-12-16 19:39:07 +01:00
charles 7a33c0bdad Remove deprecated trainer arguments (#223)
* Remove deprecated trainer arguments: `weight summary` and `progress_bar_refresh_rate`
* Remove deprecated example from README
* Add RichModelSummary to the callbacks
2021-12-15 01:40:18 +01:00
Łukasz Zalewski fd5836be8a Release/1.2 (#199)
*add manual resetting of metrics at the end of every epoch
*set `pytorch-lightning>=1.5` in `requirements.txt`
2021-11-08 21:15:54 +01:00
Ł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 eee3f9ccd3 Hotfix (#187)
* make debug mode automatically set level of all command line loggers to `DEBUG`
* make debug mode automatically set the trainer config to `debug.yaml`
* add generator seed to fix test data leaking to train data in datamodule `setup()`
* move Dockerfile to `dockerfiles` branch
* update README.md
2021-10-12 15:32:19 +02:00
Giuseppe Scriva 675a1ee2e5 Enanche trainer debug #177 (#179)
*modifiy `configs/trainer/debug.yaml` to enable some debug options
*remove unused `if config.get("debug"):` in `extras`
*update the documentation
2021-09-30 12:47:19 +02: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 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
hobogalaxy 52d6dc99c7 fix optuna config 2021-03-25 20:51:46 +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
Łukasz Zalewski 5f1c85e9bf Dev (#94)
* update readme

* make Rich printing more general
2021-03-12 18:40:24 +01:00
hobogalaxy 3586f355b9 add optimizer to rich printing 2021-03-11 00:13:52 +01:00
Łukasz Zalewski b1e0bf9717 Dev (#93)
* rework lightning model for mnist

* sort imports

* add comment to pre-commit-config

* remove returns from test_step because it's bugged

* update experiment configs

* Update README.md
2021-03-10 15:33:14 +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
Łukasz Zalewski b45d3b31ec Dev (#82)
* fix code formatting

* add module init logging

* general improvements
2021-03-06 19:43:48 +01:00
hobogalaxy 3249fb45ab improve smoke tests 2021-03-05 23:09:21 +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