Replies: 1 comment 1 reply
-
Best way is to try it and catch the error if it fails... I feel it would be a significant undertaking and a lot of added complexity to figure out a way to make this easy to check/report (any great ideas here?). I've seen others swallow unused args silently,, but I'd rather it fail so that it's known and one can decide to retry or not... |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there a way to check if a certain parameter to pass to
create_model
is supported by a certain model?For instance, we are using
timm
on our training pipeline and we want to run hyperparam search over multiple architectures. We want to trydrop_rate
, but that's not supported by every model, so we want to pass it tocreate_model
only if supported.Is there a simple way to check if a particular param is supported by an architecture?
Beta Was this translation helpful? Give feedback.
All reactions