umyelab / LabGym

Quantify user-defined behaviors.
GNU General Public License v3.0
70 stars 8 forks source link

Train Categorizer #232

Closed svilca14 closed 6 days ago

svilca14 commented 1 week ago

Hello,

I am trying to train the categorizer, and the program recognizes that there are two behaviors (jump, rear), but seems to have ran only one of them (jump). I've attached a .txt document of the code and an image of the training parameters.

For additional background, I am using a truncated video to make sure I can run through the whole pipeline. Thank you!

Train_Categorizer_Parameters

Train_Categorizer_Issue.txt

yujiahu415 commented 1 week ago

Hi, I guess you used a previous version of LabGym in which the metric calculation on two-behavior categorization had some problems. This has been fixed in newer version of LabGym. You can use py -3.10 -m pip install --upgrade LabGym to upgrade it to the newest version and see if you still have this issue.

svilca14 commented 6 days ago

Thank you! Happy the update was an easy fix. Ran correctly this time!

yujiahu415 commented 6 days ago

Great! Thank you for letting me know this!