dattalab / keypoint-moseq

https://keypoint-moseq.readthedocs.io
Other
68 stars 28 forks source link

Model is not defined when after opeing .h5 file #20

Closed juliagorman closed 1 year ago

juliagorman commented 1 year ago
Screenshot 2023-04-17 at 3 34 48 PM

What does this error mean? I have successfully ran other files without getting this error? I have also tried restarting and running the command multiple times

calebweinreb commented 1 year ago

The error is because you are including a variable called model in the arguments to kpms.fit_model but didn't define model before doing so. The solution is probably to instantiate model using kpms.init_model. I'd need to see more context of the notebook to give more specific advice.