From a1bb6237a6ac391096b14dad2d8d0b08256c1ce1 Mon Sep 17 00:00:00 2001 From: Jiri BOROVEC Date: Tue, 6 Aug 2019 22:37:58 +0200 Subject: [PATCH] review changes #44 --- .codecov.yml | 2 +- .travis.yml | 2 -- README.md | 3 +++ pytorch_lightning/__init__.py | 2 +- pytorch_lightning/models/trainer.py | 2 +- setup.py | 2 +- 6 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.codecov.yml b/.codecov.yml index 4870d144..b6fc9280 100644 --- a/.codecov.yml +++ b/.codecov.yml @@ -12,7 +12,7 @@ coverage: project: default: against: auto - target: 90% # specify the target coverage for each commit status + target: 100% # specify the target coverage for each commit status threshold: 20% # allow this little decrease on project # https://github.com/codecov/support/wiki/Filtering-Branches # branches: master diff --git a/.travis.yml b/.travis.yml index d601362e..ec7f80d2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,8 +18,6 @@ language: python matrix: include: - - python: 3.5 - env: TOXENV=py35 - python: 3.6 env: TOXENV=py36 - python: 3.7 diff --git a/README.md b/README.md index 2d1914ff..90040a3e 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ +
+ ![Logo](./docs/source/_static/lightning_logo_small.png) # PyTorch Lightning @@ -14,6 +16,7 @@ [![ReadTheDocs](https://readthedocs.org/projects/pytorch-lightning/badge/?version=latest)](https://pytorch-lightning.readthedocs.io/en/latest) [![license](https://img.shields.io/badge/License-MIT-yellow.svg)](https://github.com/williamFalcon/pytorch-lightning/blob/master/LICENSE) +
Simple installation from PyPI ```bash diff --git a/pytorch_lightning/__init__.py b/pytorch_lightning/__init__.py index 145d3bd0..73067d63 100644 --- a/pytorch_lightning/__init__.py +++ b/pytorch_lightning/__init__.py @@ -5,7 +5,7 @@ from .root_module.decorators import data_loader __version__ = '0.3.6.9' __author__ = "William Falcon", __author_email__ = "waf2107@columbia.edu" -__license__ = 'MIT' +__license__ = 'Apache-2' __homepage__ = 'https://github.com/williamFalcon/pytorch-lightning', __copyright__ = 'Copyright (c) 2018-2019, %s.' % __author__ __doc__ = """ diff --git a/pytorch_lightning/models/trainer.py b/pytorch_lightning/models/trainer.py index e23dfa0b..6f07f925 100644 --- a/pytorch_lightning/models/trainer.py +++ b/pytorch_lightning/models/trainer.py @@ -105,7 +105,7 @@ class Trainer(TrainerIO): :param log_save_interval: :param add_log_row_interval: :param distributed_backend: - 'np' to use DistributedParallel, 'ddp' to use DistributedDataParallel + 'np' to use DistributedParallel, 'dp' to use DistributedDataParallel :param use_amp: :param print_nan_grads: :param print_weights_summary: diff --git a/setup.py b/setup.py index 5f076a36..a8f0d370 100755 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ setup( zip_safe=False, keywords=["deep learning", "pytorch", "AI"], - python_requires=">=3.5", + python_requires=">=3.6", install_requires=[ "torch>=1.1.0", "tqdm",