dattalab / keypoint-moseq

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

ValueError: cannot convert float NaN to integer when generating crowd movies #28

Closed juliagorman closed 1 year ago

juliagorman commented 1 year ago

Able to generate grid movies but not crowd movies.

Screenshot 2023-04-28 at 12 08 51 PM
calebweinreb commented 1 year ago

This is addressed by https://github.com/dattalab/keypoint-moseq/commit/bcc06f1c797301854918f20e2fc99b7c45abaefc and will be fixed in the next release!

juliagorman commented 1 year ago

I just updated kp moseq and I am still getting this error

calebweinreb commented 1 year ago

Can you make sure the code was successfully updated? Try

import keyoint_moseq
print(keyoint_moseq.__version__)

If you get an error then it wasn't updated. To update, make sure you run pip instal -U keypoint-moseq while in the correct conda environment, and also make sure to restart the notebook kernel.