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

Addition of SNP (sequential neural processes) #46

Open
ojss opened this issue Aug 8, 2024 · 1 comment
Open

Addition of SNP (sequential neural processes) #46

ojss opened this issue Aug 8, 2024 · 1 comment

Comments

@ojss
Copy link

ojss commented Aug 8, 2024

Hi @dirmeier, thanks for making this amazing codebase!
I am currently working on a sequential neural process implementation that can hopefully be added to ramsey at some point.
But I am quite new flax/jax and running into some issues with regards to data shapes and I am hoping for some insight. Specifically, at each time point in a sequence the number of context points can vary and can also be null. I am trying using masks but that is turning out to be somewhat messy. Would you have suggestions regarding how this could be achieved?

@dirmeier
Copy link
Member

dirmeier commented Aug 9, 2024

Hi @ojss, that sounds fantastic! Having this in ramsey would be amazing.

With respect to Jax, I agree that this is not straight-forward and a bit complicated. We also used masks for this in the end for some models (which are not yet implemented). But I think you could just start with a prototype that implements a working model and then we'll see if one can speed it up, etc.

Cheers, Simon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants