Skip to content
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 ML coupling #14

Draft
wants to merge 22 commits into
base: datawave_ml
Choose a base branch
from
Draft

Add ML coupling #14

wants to merge 22 commits into from

Conversation

jatkinson1000
Copy link
Member

@jatkinson1000 jatkinson1000 commented Aug 6, 2024

This PR adds a coupling routine that calls the neural net to close #13

  • Write an interface function to be called instead of the existing scheme that will implement the NN
    • Concatenate the data as required into the expected input format - requires help from @surbhigoel77
    • Transform this reshaped/concatenated data into a torch tensor
    • Run the NN
    • Deconcatenate the returned data into physical variables
    • Use the variables as appropriate in the ptend updates

It is currently WIP.

@jatkinson1000 jatkinson1000 added the Fortran This is an issue on the Fortran/CAM side of the coupling project label Aug 6, 2024
@jatkinson1000 jatkinson1000 self-assigned this Aug 6, 2024
@jatkinson1000 jatkinson1000 mentioned this pull request Aug 19, 2024
4 tasks
@jatkinson1000 jatkinson1000 force-pushed the coupling branch 2 times, most recently from aa106e6 to 8cb0e6c Compare August 19, 2024 10:37
…rameterisation via FTorch.

* Implements reshaping of the data to the form expected by the net as a starting point.
  * Consider using torch layout argument to avoid transposition at a
    later date.

* Does not implement any normalisation of features as we need to discuss
  how to do this on a chunked grid when data is provided for the global
  grid.

* Not currently called from anywhere.
@jatkinson1000
Copy link
Member Author

Before merging need to:

  • Update docs to point at correct branch (datawave_ml, not coupling).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Fortran This is an issue on the Fortran/CAM side of the coupling project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Couple CAM to loaded NN
1 participant