load_from_checkpoint function returning error - AttributeError: Can't get attribute '_gpus_arg_default'
I am getting this error when trying to load model from checkpoint:
model = MyModel.load_from_checkpoint(path/to/model/Google Drive)
AttributeError: Can't get attribute '_gpus_arg_default' on <module 'pytorch_lightning.utilities.argparse' from '/usr/local/lib/python3.7/dist-packages/pytorch_lightning/utilities/argparse.py'>
This is happening on Google Colab. This was working for me before, but suddenly I get this error with the same models that I have loaded previously without issue.