MouseLand / facemap

Framework for predicting neural activity from mouse orofacial movements tracked using a pose estimation model. Package also includes singular value decomposition (SVD) of behavioral videos.
https://facemap.readthedocs.io
GNU General Public License v3.0
157 stars 61 forks source link

BUG: Issue loading SVDs for neural prediction #147

Open erinkempkes opened 6 months ago

erinkempkes commented 6 months ago

Version information:

facemap version: 1.0.6 platform: win32 python version: 3.8.18 torch version: 2.2.0 numpy version: 1.24.4

Describe the issue:

I am trying to run the neural predictions analysis using motion SVDs and keep running into this error message:

Screenshot 2024-05-14 125958

As far as I can tell the SVDs are loaded into the main GUI and I can't find anywhere else to load them in? I get this error both when I run the SVD processing in the same GUI session immediately before I try to run the neural predictions, as well as when I load in the SVDs from a previously generated _proc.npy file. I also still get the same message when I change the linear regression hyperparameters. And there aren't any errors printed in the anaconda prompt.

I can see the SVDs plotted in the main GUI so I don't think it's an issue with the SVD calculation.

Screenshot 2024-05-14 125609

I have been able to run the predictions with the keypoints as input data without any issues so I also don't think it's a problem with loading in any data or with the prediction analysis.

Screenshot 2024-05-14 125913

Am I missing something obvious?? Thanks for any insight!

Error message:

No response

Atika-Syeda commented 1 month ago

Hi @erinkempkes can you please load the proc.npy file in a notebook and check whether the motSVD and movSVD are saved? Please let me know the output.