-
Notifications
You must be signed in to change notification settings - Fork 19.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(applications): Improve validation and error handling for ConvNeXt…
… weights and fix broadcasting in EfficientNetV2 (#20785) * fix(applications): Improve validation and error handling for ConvNeXt weights - Validate architecture and weights compatibility before API request. - Enhance error messages for mismatched model name and weights. * fix: Correct spurious change, and fix mean/variance shapes for channels_first preprocessing in EfficientNetV2 - Reshaped mean and variance tensors to [1,3,1,1] for proper broadcasting in channels_first mode. - Ensured compatibility with channels_last format while addressing broadcasting errors.
- Loading branch information
1 parent
a25881c
commit 35f76b8
Showing
2 changed files
with
34 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters