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

Keras Model Preparer subclass model fixes #2489

Merged
merged 3 commits into from
Oct 9, 2023

Conversation

quic-ristha
Copy link
Contributor

Fixes #2488

…nd pointwise conv (when SeperableConv is being splitted). And bug fix on SeparableConv splitting.

Signed-off-by: Sayanta Mukherjee <[email protected]>
- Replacing SeparableConv2D after setting the weights so that so that name conflict doesn't occur.
- Bug fix in case of calling model preparer on functional model and updated test cases accordingly.

Signed-off-by: Sayanta Mukherjee <[email protected]>
- Replaced relu6 with relu
- Compared weights in the test cases

Signed-off-by: Sayanta Mukherjee <[email protected]>
@quic-ristha quic-ristha self-assigned this Oct 5, 2023
@quic-ristha quic-ristha merged commit 626913b into quic:develop Oct 9, 2023
2 checks passed
@quic-ristha quic-ristha deleted the subclass_model_fixes branch October 9, 2023 05:08
quic-bharathr pushed a commit that referenced this pull request Sep 13, 2024
Fix for weights name mismatch in case of Subclass models, depthwise and pointwise conv (when SeperableConv is being splitted). And bug fix on SeparableConv splitting.
* Changes Made:
- Replacing SeparableConv2D after setting the weights so that so that name conflict doesn't occur.
- Bug fix in case of calling model preparer on functional model and updated test cases accordingly.
- Replaced relu6 with relu
- Compared weights in the test cases

Signed-off-by: Sayanta Mukherjee <[email protected]>
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.

Keras Model Preparer failing on subclass models
3 participants