Skip to content

Conversation

Adamusen
Copy link
Contributor

@Adamusen Adamusen commented Jan 7, 2025

Modified save_load_weights function to properly load weights from both old .pt and new .ckpt files.

solves #136
solves #143

Modified save_load_weights function to properly load weights from both old .pt and new .ckpt files.
Removed the use of str.removeprefix() as it was first introduced in python 3.9
@ramonhollands
Copy link
Contributor

Thanks for your PR.
I can confirm it fixes the issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants