Skip to content

Conversation

@sluki
Copy link
Contributor

@sluki sluki commented Feb 4, 2020

Make kwargs supported (#230)

Instead of writing custom get_submodules_from_kwargs function, I decided to filter arguments passed to this function but the basic idea is same.

@sluki sluki requested a review from qubvel February 24, 2020 12:48
return


def get_submodules_args(kwargs):
Copy link
Owner

@qubvel qubvel Feb 26, 2020

Choose a reason for hiding this comment

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

Lets call it filter_kwargs or smth like that, so it would be more clear?
It is kind of messy to have get_submodules_from_kwargs and get_submodules_args

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Is renaming get_submodules_args to filter_keras_submodules enough?

@sluki sluki requested a review from qubvel March 18, 2020 11:48
@qubvel qubvel merged commit 94f624b into qubvel:master Apr 17, 2020
lukfischer pushed a commit to SCCH-KVS/segmentation_models that referenced this pull request May 11, 2020
Allow passing keyword arguments to backbone models (qubvel#230) (qubvel#291)
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