You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey,
I would also be interested for something similar. I would like to add image readers/writers for specific data, or add custom preprocessors. I know how to add and use them within the nnUNet framework but they are too specific to be added to this repository, and I don't want to have to update a fork that could have diverged from the main repository. Could we add a mechanism to extend all at once? Maybe we could use a configuration file that is by default missing/empty and defining paths to custom classes to load. For instance something like that:
In the recursive_find_python_class function, we can give the config file and if the class name is in the config, we try to import it from the specified path and explicit the error if needed. What do you think? Would it be good for your use case too @sten2lu?
I can move this to the issues if you want or propose changes to this PR, just let me know.
Best,
Fabien
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
No description provided.