CometLogger does not implement name() and version() class methods
Explicitly creating a CometLogger instance and passing it to Trainer using trainer(logger=my_comet_logger) raises a NotImplementedError because CometLogger does not implement the name() and version() class methods.
Below is the traceback:
Traceback (most recent call last): File "main.py", line 126, in <module> trainer.fit(model) File "/home/ryan/miniconda3/envs/compling/lib/python3.7/site-packages/pytorch_lightning/trainer/trainer.py", line 351, in fit self.single_gpu_train(model) File "/home/ryan/miniconda3/envs/compling/lib/python3.7/site-packages/pytorch_lightning/trainer/dp_mixin.py", line 77, in single_gpu_train self.run_pretrain_routine(model) File "/home/ryan/miniconda3/envs/compling/lib/python3.7/site-packages/pytorch_lightning/trainer/trainer.py", line 471, in run_pretrain_routine self.train() File "/home/ryan/miniconda3/envs/compling/lib/python3.7/site-packages/pytorch_lightning/trainer/train_loop_mixin.py", line 60, in train self.run_training_epoch() File "/home/ryan/miniconda3/envs/compling/lib/python3.7/site-packages/pytorch_lightning/trainer/train_loop_mixin.py", line 99, in run_training_epoch output = self.run_training_batch(batch, batch_nb) File "/home/ryan/miniconda3/envs/compling/lib/python3.7/site-packages/pytorch_lightning/trainer/train_loop_mixin.py", line 255, in run_training_batch self.main_progress_bar.set_postfix(**self.training_tqdm_dict) File "/home/ryan/miniconda3/envs/compling/lib/python3.7/site-packages/pytorch_lightning/trainer/trainer.py", line 309, in training_tqdm_dict if self.logger is not None and self.logger.version is not None: File "/home/ryan/miniconda3/envs/compling/lib/python3.7/site-packages/pytorch_lightning/logging/base.py", line 76, in version raise NotImplementedError("Sub-classes must provide a version property")