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

Outputing sequences #68

Closed
drozzy opened this issue Feb 17, 2021 · 1 comment
Closed

Outputing sequences #68

drozzy opened this issue Feb 17, 2021 · 1 comment
Labels
question Further information is requested

Comments

@drozzy
Copy link

drozzy commented Feb 17, 2021

I'm looking to taking in a sequence of values and output a sequence as well.
So instead of doing flatten and computing the final output from neural ode, I would like to make use of each intermediate value that neural ode outputs and produce a loss with a target label.

Is there an example of this somewhere using TorchDyn?

Thanks

@drozzy drozzy added the question Further information is requested label Feb 17, 2021
@Zymrael
Copy link
Member

Zymrael commented Jul 20, 2021

This is the default behavior now with NeuralODE instances. The solution will be a Tensor of output num_time_points, batch, dims, which you can calculate losses over.

@Zymrael Zymrael closed this as completed Jul 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants