NKI-AI / ahcore-old

Ahcore are the AI for Oncology histopathology core models
Apache License 2.0
0 stars 1 forks source link

`pytorch-lightning>=1.9.1` cannot import `LightningLoggerBase` from `pytorch_lightning.loggers` #15

Closed AjeyPaiK closed 1 year ago

AjeyPaiK commented 1 year ago

I'm running the latest version of ahcore while reviewing Vlad's PR. The setup file lists pytorch-lightning>=1.9.1 as a requirement. Whereas, earlier version of ahcore used pytorch-lightning 1.8.1.

In the latest versions of pytorch-lightning, the base class of loggers has changed from LightningLoggerBase to Logger.

Check the official documentation regarding this here.

Therefore, the implementation breaks at this line.