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

Add deprecation warning for scale_modules #358

Merged

Conversation

fmartiescofet
Copy link
Contributor

As discussed with @blumenstiel in #352 I would suggest to deprecate scale_modules from the UperNetDecoder. This parameter was implemented before there were necks and therefore it was necessary to scale the features inside the decoder. With the introduction of necks this can be done with the LearnedInterpolateToPyramidal neck and I believe it's better to use a neck as it should not be part of the decoder.
I would suggest to fully remove it before releasing v1 but we give some warning before in case people use it.

Signed-off-by: Francesc Marti Escofet <[email protected]>
Signed-off-by: Francesc Marti Escofet <[email protected]>
@Joao-L-S-Almeida
Copy link
Member

Yes, that is a valid warning. Maybe we need to remove it before 1.0.

@Joao-L-S-Almeida Joao-L-S-Almeida merged commit 75d32cd into IBM:main Jan 9, 2025
7 checks passed
@fmartiescofet fmartiescofet deleted the deprecation_warning_scale_modules branch January 10, 2025 08:25
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