Which extension should be used for saving the model:
torch.save(model.state_dict(), os.path.join(model_dir, 'epoch-{}.pth'.format(epoch))) link 35
or
torch.save(model.state_dict(), os.path.join(model_dir, 'epoch-{}.pt'.format(epoch))) link 21