Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolve the problem with conv weights #183

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

fardinayar
Copy link

Hi, thanks for sharing loralib!
Regarding the issue with loading pretrained conv layers, I think that this little modification will solve the problem.

Copy link

@emi-dm emi-dm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tested it and it works fine @edwardjhu The problem is related to the load_state_dict method, which doesn't match the "weight" key in the convolutional modules

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