I am trying to perform:
args = ParseCmdLineArguments()
# A few lines of code
path = os.path.join(args.save, 'trained_model-%05d.ckpt' % epoch)
torch.save(depth_net.state_dict(), path)

where my parameters passed to edit configuration in PyCharm are:

–batch_size 1 --dataset_pickle_file some.pkl --learning_rate 1e-4 --save ‘./’

I am getting this error:
unrecognized arguments: --save './'

Can you all please suggest how I can add the save attribute to args to save the checkpoint in the same folder? I am passing the arguments via edit configuration on PyCharm.
Thanks!