CI pass (#671)
* fix pillow in test * test acc * update version in deprecated msg
This commit is contained in:
parent
12edc3099c
commit
db6b404748
|
@ -1,6 +1,6 @@
|
|||
"""Package info"""
|
||||
|
||||
__version__ = '0.5.3.2'
|
||||
__version__ = '0.6.0'
|
||||
__author__ = 'William Falcon et al.'
|
||||
__author_email__ = 'waf2107@columbia.edu'
|
||||
__license__ = 'Apache-2.0'
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
"""
|
||||
.. warning:: `model_saving` module has been renamed to `saving` since v0.5.3 and will be removed in v0.8.0
|
||||
.. warning:: `model_saving` module has been renamed to `saving` since v0.6.0 and will be removed in v0.8.0
|
||||
"""
|
||||
|
||||
import warnings
|
||||
|
||||
warnings.warn("`model_saving` module has been renamed to `saving` since v0.5.3"
|
||||
warnings.warn("`model_saving` module has been renamed to `saving` since v0.6.0"
|
||||
" and will be removed in v0.8.0", DeprecationWarning)
|
||||
|
||||
from pytorch_lightning.core.saving import ModelIO # noqa: E402
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
"""
|
||||
.. warning:: `root_module` module has been renamed to `lightning` since v0.5.3 and will be removed in v0.8.0
|
||||
.. warning:: `root_module` module has been renamed to `lightning` since v0.6.0 and will be removed in v0.8.0
|
||||
"""
|
||||
|
||||
import warnings
|
||||
|
||||
warnings.warn("`root_module` module has been renamed to `lightning` since v0.5.3"
|
||||
warnings.warn("`root_module` module has been renamed to `lightning` since v0.6.0"
|
||||
" and will be removed in v0.8.0", DeprecationWarning)
|
||||
|
||||
from pytorch_lightning.core.lightning import LightningModule # noqa: E402
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
"""
|
||||
.. warning:: `comet_logger` module has been renamed to `comet` since v0.5.3 and will be removed in v0.8.0
|
||||
.. warning:: `comet_logger` module has been renamed to `comet` since v0.6.0 and will be removed in v0.8.0
|
||||
"""
|
||||
|
||||
import warnings
|
||||
|
||||
warnings.warn("`comet_logger` module has been renamed to `comet` since v0.5.3"
|
||||
warnings.warn("`comet_logger` module has been renamed to `comet` since v0.6.0"
|
||||
" and will be removed in v0.8.0", DeprecationWarning)
|
||||
|
||||
from pytorch_lightning.logging.comet import CometLogger # noqa: E402
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
"""
|
||||
.. warning:: `mlflow_logger` module has been renamed to `mlflow` since v0.5.3 and will be removed in v0.8.0
|
||||
.. warning:: `mlflow_logger` module has been renamed to `mlflow` since v0.6.0 and will be removed in v0.8.0
|
||||
"""
|
||||
|
||||
import warnings
|
||||
|
||||
warnings.warn("`mlflow_logger` module has been renamed to `mlflow` since v0.5.3"
|
||||
warnings.warn("`mlflow_logger` module has been renamed to `mlflow` since v0.6.0"
|
||||
" and will be removed in v0.8.0", DeprecationWarning)
|
||||
|
||||
from pytorch_lightning.logging.mlflow import MLFlowLogger # noqa: E402
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
"""
|
||||
.. warning:: `test_tube_logger` module has been renamed to `test_tube` since v0.5.3 and will be removed in v0.8.0
|
||||
.. warning:: `test_tube_logger` module has been renamed to `test_tube` since v0.6.0 and will be removed in v0.8.0
|
||||
"""
|
||||
|
||||
import warnings
|
||||
|
||||
warnings.warn("`test_tube_logger` module has been renamed to `test_tube` since v0.5.3"
|
||||
warnings.warn("`test_tube_logger` module has been renamed to `test_tube` since v0.6.0"
|
||||
" and will be removed in v0.8.0", DeprecationWarning)
|
||||
|
||||
from pytorch_lightning.logging.test_tube import TestTubeLogger # noqa: E402
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
"""
|
||||
.. warning:: `override_data_parallel` module has been renamed to `data_parallel` since v0.5.3
|
||||
.. warning:: `override_data_parallel` module has been renamed to `data_parallel` since v0.6.0
|
||||
and will be removed in v0.8.0
|
||||
"""
|
||||
|
||||
import warnings
|
||||
|
||||
warnings.warn("`override_data_parallel` module has been renamed to `data_parallel` since v0.5.3"
|
||||
warnings.warn("`override_data_parallel` module has been renamed to `data_parallel` since v0.6.0"
|
||||
" and will be removed in v0.8.0", DeprecationWarning)
|
||||
|
||||
from pytorch_lightning.overrides.data_parallel import ( # noqa: E402
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
"""
|
||||
.. warning:: `pt_overrides` package has been renamed to `overrides` since v0.5.3 and will be removed in v0.8.0
|
||||
.. warning:: `pt_overrides` package has been renamed to `overrides` since v0.6.0 and will be removed in v0.8.0
|
||||
"""
|
||||
|
||||
import warnings
|
||||
|
||||
warnings.warn("`pt_overrides` package has been renamed to `overrides` since v0.5.3"
|
||||
warnings.warn("`pt_overrides` package has been renamed to `overrides` since v0.6.0"
|
||||
" and will be removed in v0.8.0", DeprecationWarning)
|
||||
|
||||
from pytorch_lightning.overrides import override_data_parallel # noqa: E402
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
"""
|
||||
.. warning:: `root_module` package has been renamed to `core` since v0.5.3 and will be removed in v0.8.0
|
||||
.. warning:: `root_module` package has been renamed to `core` since v0.6.0 and will be removed in v0.8.0
|
||||
"""
|
||||
|
||||
import warnings
|
||||
|
||||
warnings.warn("`root_module` package has been renamed to `core` since v0.5.3"
|
||||
warnings.warn("`root_module` package has been renamed to `core` since v0.6.0"
|
||||
" and will be removed in v0.8.0", DeprecationWarning)
|
||||
|
||||
from pytorch_lightning.core import ( # noqa: E402
|
||||
|
|
|
@ -8,4 +8,5 @@ check-manifest
|
|||
# test_tube # already installed in main req.
|
||||
mlflow
|
||||
comet_ml
|
||||
twine==1.13.0
|
||||
twine==1.13.0
|
||||
pillow<7.0.0
|
|
@ -97,7 +97,7 @@ def test_running_test_after_fitting(tmpdir):
|
|||
trainer_options = dict(
|
||||
default_save_path=tmpdir,
|
||||
show_progress_bar=False,
|
||||
max_epochs=1,
|
||||
max_epochs=4,
|
||||
train_percent_check=0.4,
|
||||
val_percent_check=0.2,
|
||||
test_percent_check=0.2,
|
||||
|
|
|
@ -153,7 +153,7 @@ def test_running_test_pretrained_model_dp(tmpdir):
|
|||
|
||||
trainer_options = dict(
|
||||
show_progress_bar=True,
|
||||
max_epochs=1,
|
||||
max_epochs=4,
|
||||
train_percent_check=0.4,
|
||||
val_percent_check=0.2,
|
||||
checkpoint_callback=checkpoint,
|
||||
|
@ -269,7 +269,7 @@ def test_cpu_restore_training(tmpdir):
|
|||
logger = tutils.get_test_tube_logger(tmpdir, False, version=test_logger_version)
|
||||
|
||||
trainer_options = dict(
|
||||
max_epochs=4,
|
||||
max_epochs=8,
|
||||
val_check_interval=0.50,
|
||||
val_percent_check=0.2,
|
||||
train_percent_check=0.2,
|
||||
|
@ -290,7 +290,7 @@ def test_cpu_restore_training(tmpdir):
|
|||
# we want to see if the weights come back correctly
|
||||
new_logger = tutils.get_test_tube_logger(tmpdir, False, version=test_logger_version)
|
||||
trainer_options = dict(
|
||||
max_epochs=4,
|
||||
max_epochs=2,
|
||||
val_check_interval=0.50,
|
||||
val_percent_check=0.2,
|
||||
train_percent_check=0.2,
|
||||
|
|
Loading…
Reference in New Issue