-
Notifications
You must be signed in to change notification settings - Fork 213
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
Question on new syntax to train GENN (JENN) models #545
Comments
@shb84 do you know the problem ? |
It does indeed look like a bug on the JENN side. Thank you for finding it. It will be fixed in the next release. When shuffle is False and there are more than one mini batches, the indices are generated using To answer the other question, the API shown in the user's example is actually that of the upstream JENN library. There is a separate SMT API (which simply maps to the JENN API under the hood). Here is an example from the SMT docs:
|
@shb84 thank you for your answer, and the example. In my original setup with the old (non-JENN) implementation, I had difficulty using the SMT What is the proper way to have the SMT GENN training consider both sets of derivatives (dy1/dx and dy2/dx for all x)? |
For all SMT work, the correct format to use is the one found in the SMT docs.
Under the hood, the
It is simply a convenience method that feeds the SMT API methods Please let me know if you still have issues or, better yet, if you can provide a self-contained example with the data that generates the issue, I'd be happy to get it running. |
@bpaul4 Just circling back to see if these answers had resolved your issue or if you still needed help. |
Hi @shb84, thank you for your help. I am studying the documentation and working through my example, and I will let you know if I have further questions. I believe this issue may be closed for now. |
I am updating an example that previously implemented the old GENN methods to be compatible with the new JENN dependency, and I am encountering issues with calling the training methods.
Originally, I built my training method as:
I updated to:
but encountered an error in
model.fit()
:Is this the correct way to call the new interface, or is there an SMT module that may be utilized instead?
The text was updated successfully, but these errors were encountered: