Error Saving Scores

30 views
Skip to first unread message

Erin Szalda-Petree

unread,
Jul 19, 2023, 12:21:12 PM7/19/23
to JAABA
Hello,

I have been having an issue when scoring several videos. After importing our classifier, and then trying to score the behavior, an error message pops up- Error Saving Scores: Expected input number 1, IM, to be real.Capture.PNG

We have tried re-tracking the video and using a different classifier. We have also had the same problem when using different cameras, so I don't think it's the camera. Is there a way to fix this? 

Thank you,
Erin

Mayank Kabra

unread,
Jul 20, 2023, 3:33:29 AM7/20/23
to Erin Szalda-Petree, JAABA
Hi,

The error message image is too tiny to see the details. Can you share it again at higher resolution? Can you paste the messages that are printed in the matlab command window? Can you share the jab file and an example movie along with the trx file?

Mayank

--
You received this message because you are subscribed to the Google Groups "JAABA" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jaaba+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jaaba/6494ef17-ddb7-460a-acff-736f9bf105ban%40googlegroups.com.

Erin Szalda-Petree

unread,
Jul 20, 2023, 11:22:26 AM7/20/23
to JAABA
Hi,

Sorry about that. I can do all those things. Here is a link to the file: https://drive.google.com/drive/folders/1G2kp9j2rOJidZsXMxnSnlsMe5uA2iQMr?usp=drive_link

Here is another image of the error message:
JAABAerrormessage.PNG

Finally, here is an image of the errors in mamatlaberror.PNGtlab:

Let me know if I can get you anything else.

Thanks again!
Erin

Mayank Kabra

unread,
Jul 21, 2023, 12:48:54 AM7/21/23
to Erin Szalda-Petree, JAABA
Hi Erin,

I don't have access to the google drive folder. Can you give it to me?

Mayank

Mayank Kabra

unread,
Jul 21, 2023, 12:50:51 AM7/21/23
to Erin Szalda-Petree, JAABA
In the meantime, the error is likely because you have trajectories that are less than 1 frames. Can you look at the trajectories and remove the empty ones?

Mayank

Mayank Kabra

unread,
Jul 21, 2023, 6:12:00 AM7/21/23
to Erin Szalda-Petree, JAABA
Hi Erin,

The perframe feature angle_between_diff2 has complex values which shouldn't be the case. I assume that these are custom perframe features. You should check their computation.

Mayank
Reply all
Reply to author
Forward
0 new messages