Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The goal of this PR is make a Model() class that is independent of the current retinanet structure. This would allow us, and users, to swap in and out the models based on developments in computer vision. As long as they pass a check_input() and check_output() function to match with upstream and downstream workflows. Here is a roadmap
One of the outstanding issues here is how to handle the parameters specific to each model. My initial idea is to have them as nested parts of the .yml
which means that when we create_model(), we pass the config. The create_model specific to each model in models/ then looks for the appropriate model params
Pros is that its clean and scalable. Cons its not that readable and explicit, since you can pass the config without knowing whether all the arguments are there.
This relates to a more global problem of being able to specify and pass kwargs through the main module. It would be nice at runtime to be able to either supply a named arg
or a config file
or both, and have the named args supercede. I will leave this idea until we have achieved the core goals of this PR.
Issue was briefly tagged as #396