You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since Lightning 1.9, LightningLoggerBase class cannot be found anymore. DataMonitor callback tries to import it, resulting in an ImportError.
To Reproduce
Steps to reproduce the behavior:
Install lightning==1.9.0.
Import pl_bolts in a Python interpreter.
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File ".../pl_bolts/__init__.py", line 11, in <module>
from pl_bolts import ( # noqa: E402
File ".../pl_bolts/callbacks/__init__.py", line 3, in <module>
from pl_bolts.callbacks.data_monitor import ModuleDataMonitor, TrainingDataMonitor
File ".../pl_bolts/callbacks/data_monitor.py", line 6, in <module>
from pytorch_lightning.loggers import LightningLoggerBase, TensorBoardLogger, WandbLogger
ImportError: cannot import name 'LightningLoggerBase' from 'pytorch_lightning.loggers' (/users/seenarvi/git/pytorch-lightning/src/pytorch_lightning/loggers/__init__.py)
Environment
PyTorch Version (e.g., 1.0): 1.13
OS (e.g., Linux): Linux
How you installed PyTorch (conda, pip, source): pip
Python version: 3.9.7
Additional context
Looks like it should be renamed to Logger.
The text was updated successfully, but these errors were encountered:
🐛 Bug
Since Lightning 1.9,
LightningLoggerBase
class cannot be found anymore.DataMonitor
callback tries to import it, resulting in anImportError
.To Reproduce
Steps to reproduce the behavior:
Environment
conda
,pip
, source): pipAdditional context
Looks like it should be renamed to
Logger
.The text was updated successfully, but these errors were encountered: