AdaptiveMotorControlLab / CEBRA

Learnable latent embeddings for joint behavioral and neural analysis - Official implementation of CEBRA
https://cebra.ai
Other
875 stars 66 forks source link

Add torch API usage example #99

Closed timonmerk closed 8 months ago

timonmerk commented 9 months ago

Addresses #97

Added minimal example of torch API.

In comparison to the get_emissions function in the https://cebra.ai/docs/demo_notebooks/Demo_Allen.html notebook, I used the solver.transform function, to keep the example a bit shorter

cla-bot[bot] commented 9 months ago

Thank you for your contribution. We require contributors to sign our Contributor License Agreement (CLA). We do not have a signed CLA on file for you. In order for us to review and merge your code, please sign our CLA here. After you signed, you can comment on this PR with @cla-bot check to trigger another check.

timonmerk commented 9 months ago

@cla-bot check

cla-bot[bot] commented 9 months ago

Thanks for tagging me. I looked for a signed form under your signature again, and updated the status on this PR. If the check was successful, no further action is needed. If the check was unsuccessful, please see the instructions in my first comment.

MMathisLab commented 8 months ago

@stes okay to merge, and can be updated based on updates from @gonlairo later

MMathisLab commented 8 months ago

@stes I think this should be merged, and if you have improvements and input from @gonlairo we can add them, but nothing seems technically wrong, and it's been open >30 days, so I'd like to merge.