-
Notifications
You must be signed in to change notification settings - Fork 12
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
Add sharedFolder to execution settings #21
Comments
Would this be sharing within the same workflow? If it is between workflows I'm not sure how we can ensure the files are there. |
This would be for within a workflow, at least to start. Here are the 2 use-cases: 1. Internally trained modelsThe high-level workflow steps would be:
2. Externally trained modelsOutside of the workflow, the models would be posted to a known location (i.e. https://github.com/OHDSI/models). Then, the high-level workflow steps would be:
The aim would be to allow the model transfer module to work with either externally sourced models or internally trained models so that there is consistency in the analysis specification for the workflow. Let me know if this is clear and @jreps feel free to add any details I may have missed. |
@anthonysena I wanted to note how we did this for our DeepLearningComparison study. The workflow was done in two parts.
There are a few things to note here:
I think it's better to use only the output directory of the module for data that other modules need. Copying the models to the output directory and having the
I don't think a sharedFolder is necessary if the above approach with a @jreps feel free to add if I'm missing something. |
Thanks @egillax for the additional information from your DeepLearningComparison study. I've made an initial draft of the PLP Validation & ModelTransfer modules per #161. I have not added tests just yet and as part of that, I wanted to respond to your question here:
In V1.x, I decided that having an explicit requirement for module dependencies was too strict. Instead the current |
Hi @anthonysena , Yes I think it's fine that the person responsible for the coding makes sure to run the ModelTransferModule before the validation module. |
In speaking with @jreps we need a mechanism for modules to pass information to each other. For example, for prediction models, we'd want to have a way to transfer models (either locally or from an external location) so that a validation module could pick up the model and perform the validation.
The text was updated successfully, but these errors were encountered: