Skip to content

Resolve the problem with conv weights#183

Merged
edwardjhu merged 1 commit intomicrosoft:mainfrom
fardinayar:main
Dec 17, 2024
Merged

Resolve the problem with conv weights#183
edwardjhu merged 1 commit intomicrosoft:mainfrom
fardinayar:main

Conversation

@fardinayar
Copy link
Copy Markdown
Contributor

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
Copy Markdown

@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

Copy link
Copy Markdown

@Phamduy1247 Phamduy1247 left a comment

Choose a reason for hiding this comment

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


@edwardjhu edwardjhu merged commit c4593f0 into microsoft:main Dec 17, 2024
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.

4 participants