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
This commit is contained in:
Łukasz Zalewski authored and GitHub committed 2021-05-21 09:26:31 +02:00
1 parent 023d4bdecc
commit 70ab061f75
49 files changed
+473 -415

No files matched your search

+40
View File
@@ -0,0 +1,40 @@
import pytest
from tests.helpers.run_command import run_command
"""
Use the following command to skip slow tests:
pytest -k "not slow"
"""
# @pytest.mark.slow
# def test_wandb_optuna_sweep():
# """Test wandb logging with Optuna sweep."""
# command = [
# "run.py",
# "-m",
# "hparams_search=mnist_optuna",
# "trainer=default",
# "trainer.max_epochs=10",
# "trainer.limit_train_batches=20",
# "logger=wandb",
# "logger.wandb.project=template-tests",
# "logger.wandb.group=Optuna_SimpleDenseNet_MNIST",
# "hydra.sweeper.n_trials=5",
# ]
# run_command(command)
# @pytest.mark.slow
# def test_wandb_callbacks():
# """Test wandb callbacks."""
# command = [
# "run.py",
# "trainer=default",
# "trainer.max_epochs=3",
# "logger=wandb",
# "logger.wandb.project=template-tests",
# "callbacks=wandb",
# ]
# run_command(command)