Torch.save() OSError: [Errno 22] Invalid argument:


Any ideas on why does this happen?

I guess Windows doesn’t allow : in a filename as it’s used for their drive letters, so remove it and try to save the file again.

1 Like

Thank you very much! Hope you all the best!