import argparse import pytorch_lightning as pl parser = argparse.ArgumentParser("") sub_parsers = parser.add_subparsers() train_parser = sub_parsers.add_parser("train") train_parser.add_argument("--seed") train_parser = pl.Trainer.add_argparse_args(train_parser) args = parser.parse_args(...
When running the command bash test/integration_test.sh or the command python keypoint_detector/train/train.py I get the error message AttributeError: type object 'Trainer' has no attribute 'add_argparse_args'. Error message: Traceback (most recent call last): File "/home/jarnboga/keypoint-...