mirror of
https://github.com/wassname/pytorch-lightning.git
synced 2026-09-21 13:20:08 +08:00
* add rank warning * changelog * use rank_zero_warn * user trainer_init * replace warnings * fix test * flake8 * docs * changelog * bug lol
11 lines
431 B
Python
11 lines
431 B
Python
"""
|
|
.. warning:: `logging` package has been renamed to `loggers` since v0.7.0 and will be removed in v0.9.0
|
|
"""
|
|
|
|
from pytorch_lightning.utilities import rank_zero_warn
|
|
|
|
rank_zero_warn("`logging.neptune` module has been renamed to `loggers.neptune` since v0.7.0."
|
|
" The deprecated module name will be removed in v0.9.0.", DeprecationWarning)
|
|
|
|
from pytorch_lightning.loggers.neptune import NeptuneLogger # noqa: F403
|