Commit Graph
37 Commits
Author SHA1 Message Date
ashleve f212e617b1 Update mnist_datamodule.py 2021-10-12 16:02:39 +02: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 86f30fb320 Release/1.1 (#174)
* introduce different running modes: default, debug, experiment
* fix pytorch installation in setup_conda.sh
* fix incorrect calculation of precision, recall and f1 score in wandb callback
* add `_self_` to config.yaml for compatibility with hydra1.1
* fix setting seed in `train.py` so it's skipped when `seed=null`
* add exception message when trying to use wandb callbacks with `trainer.fast_dev_run=true`
* change `axis=-1` to `dim=-1` in LogImagePredictions callback
* add 'Reproducibilty' section to README.md
2021-09-28 20:07:40 +02:00
Zhengyu Yang 89b502b090 Update wandb_callbacks.py (#152)
* Update wandb_callbacks.py
* UploadCodeAsArtifact: Add the functionality to use git to decide which files are source files. Can upload all files that are not ignored by git instead of all '*.py' file.
* UploadCheckpointsAsArtifact: ckpts are output of the run, so use `experiment.log_artifact(ckpts)` instead
2021-08-13 10:02:22 +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 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 d5da445e8d Dev (#135)
* remove logging best so far metric values from mnist model

* update tests

* update README.md

* comment out wandb tests
2021-05-01 00:24:17 +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
ashleve 5cc767a595 format files 2021-04-26 14:32:25 +02:00
sirtris 36bd4c3f11 Added an Image logger callback for wandb (#130)
* Added an Image logger callback for wandb

* Update src/callbacks/wandb_callbacks.py
2021-04-24 23:49:35 +02:00
Łukasz Zalewski 74eb7c7e57 Dev (#129)
* remove WANDB_START_METHOD env variable, since it's no longer needed

* change disable_warnings parameter to ignore_warnings

* improve readme
2021-04-22 22:08:57 +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 296c5bf5ed Rank zero logging (#124)
* add rank zero logger

* prevent multiple printing of config in multi-gpu setup

* fix formatting
2021-04-15 20:32:08 +02:00
Łukasz Zalewski e2c8ed4bf8 Dev (#123)
* fix quickstart command in readme

* fix documentation links in model and datamodule

* add `terminate_on_nan` trainer arg to readme

* improve docstrings and type hinting
2021-04-07 17:15:09 +02:00
Łukasz Zalewski 2d9dad5e85 Update template_utils.py 2021-04-06 18:07:42 +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 644585aedb Dev (#114)
* fix typo

* remove unnecessary comments

* comment out color logs
2021-03-30 04:23:36 +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 381b5844ed Dev (#107)
* refactor folder names

* define python logger correctly

* refactor rich printing method

* specify model parameters explicitly

* specify datamodule params explicitly

* refactor

* update readme
2021-03-25 01:31:52 +01: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 1f326bb5e9 Dev (#99)
* format files

* remove best metric score callback

* update readme
2021-03-15 17:24:56 +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
hobogalaxy 5f57eb7875 fix optuna config and prevent double logging 2021-03-10 17:48:23 +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
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
Łukasz Zalewski b45d3b31ec Dev (#82)
* fix code formatting

* add module init logging

* general improvements
2021-03-06 19:43:48 +01:00
hobogalaxy c26c73cc2d add disabling warnings and logs to main config 2021-03-06 14:31:27 +01:00
hobogalaxy 1008463fc0 better printing for quick_tests.sh 2021-03-05 16:28:39 +01:00
Luke 0d9b7383db Dev (#80)
* fix bug with printing seed using rich tree
2021-03-01 15:43:13 +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