TypeError: __init__() got an unexpected keyword argument 'logger'
I am new to developing with Pytorch-Lightning. I have constructed a VideoClassifier following the examples and templates.
I am currently running into the following error when I try to run the code
TypeError: init() got an unexpected keyword argument 'logger'
Back tracing the error also does not give any pointers on how to solve it.
Is there a version change of the package that can solve this error?
My code is as follows:
def main(args: Namespace) -> None:
    if args.seed is not None:
        pl.seed_everything(args.seed)
    if args.distributed_backend == 'ddp':
        # When using a single GPU per process and per
        # DistributedDataParallel, we need to divide the batch size
        # ourselves based on the total number of GPUs we have
        args.batch_size = int(args.batch_size / max(1, args.gpus))
        args.workers = int(args.workers / max(1, args.gpus))

    data_dir = get_video_dir()
    dataset = VideoDataModule(data_dir)
    **logger = TensorBoardLogger('tb_logs', name='video_classifier')**

    model = VideoClassifier(**vars(args))
    trainer = pl.Trainer.from_argparse_args(args, logger=logger)
    if args.evaluate:
        trainer.test(model)
    else:
        train_dataloader = dataset.train_dataloader()
        val_dataloader = dataset.val_dataloader()
        trainer.fit(model, train_dataloader, val_dataloader)

def run_cli():
    parent_parser = ArgumentParser(add_help=False)
    parent_parser = pl.Trainer.add_argparse_args(parent_parser)
    parent_parser.add_argument('-e', '--evaluate', dest='evaluate', action='store_true',
                               help='evaluate model on validation set')
    parent_parser.add_argument('--seed', type=int, default=42,
                               help='seed for initializing training.')
    parser = VideoClassifier.add_model_specific_args(parent_parser)
    parser.set_defaults(
        profiler=True,
        deterministic=True,
        max_epochs=30,
    )
    args = parser.parse_args()
    main(args)

if __name__ == '__main__':
    run_cli()

Any help is greatly appreciated!