-
Notifications
You must be signed in to change notification settings - Fork 325
Add new CSPNet preset and add manual padding. #2212
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
Changes from 10 commits
dd56a27
afe03a7
80d647f
edf7d20
fac704d
178b5d4
79f9cfc
1606988
167a3af
7fc687c
ecf9e33
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -16,9 +16,9 @@ class TimmPresetLoader(PresetLoader): | |
| def __init__(self, preset, config): | ||
| super().__init__(preset, config) | ||
| architecture = self.config["architecture"] | ||
| if "resnet" in architecture: | ||
| if architecture.startswith("resnet"): | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can you actually make the
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Changed
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. thanks! looks great. |
||
| self.converter = convert_resnet | ||
| elif "csp" in architecture: | ||
| elif architecture.startswith(("csp", "dark")): | ||
| self.converter = convert_cspnet | ||
| elif "densenet" in architecture: | ||
| self.converter = convert_densenet | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.