AdaptiveMotorControlLab / CEBRA

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

error messages for missing extra dependencies #77

Closed stes closed 1 year ago

stes commented 1 year ago

Original text

This solved it for me when I hit this error when working through the code in the Usage page.

A couple of notes (feel free to ignore :smile:) -- I found the ModuleNotFound message a bit hard to interpret as it didn't say what module, so I wasn't sure how to proceed. Also, the installation page says that the datasets optional dependency is for working with the datasets at Figshare. Hence, when I got the error on the Usage page when trying to do stuff with synthetic data, I didn't consider the correct solution.

Anyway, minor wrinkles -- congrats on the cool package I'm having fun with it so far! Originally posted by @EricThomson in https://github.com/AdaptiveMotorControlLab/CEBRA/issues/57#issuecomment-1739377809

stes commented 1 year ago

cc @gonlairo , this could be a small one to tackle --- basically just make the ModuleNotFound error messages in the package more actionable by telling the user what to install.