kristinbranson/JAABA

error using findThresholds: Too many input arguments.

Yaraat92 opened this issue · 15 comments

Hi,

I'm trying to train a classifier to detect mouse grooming behavior. I track the mice using Deeplabcut, and create the .trx structure file manually.
Everything seemed to work fine until I ran my first attempt at training, where I got the following error:
תמונה1

Does anyone know how I can get around this?

I tried to do some debugging myself and it seems that this findThresholds function i supposed to receive 2 inputs: data and params, but the line calling it from the JLabelData,m contains more arguments for some reason:

תמונה3

I also have another issue, I get this message when I determine the classifier features:

תמונה2
What does this mean?

Hi,
Thanks Alice for the clarification.

Mayank, thanks for your reply. I tried to re-download the current available version and ran into the same issue exactly!
Is there another source where I can get the most up-to-date version other than here?

I use windows 64 and Matlab 2018b.
I do clone the JAABA git repo. Never updated it, but I just deleted the old version I had and cloned the current repo.
I see that in the current version on my computer the function can also receive 3 inputs but I still get the same error!

jaabaerror

Thanks again,
Yara.

Hi, sorry for the delay.. Things have been a bit on hold..
I did what you asked and the function is the correct one. I tried to download and run the classifier on a different computer, all from the beginning and got the same error.
What does this function do? Does it use any of the tracking information in the trx file? This is the only part of running the classifier that I am doing differently so...

I did what you suggested and the answer is '2'.
I am sure that the version is the latest because I deleted everything and downloaded the whole directory again. I also tried downloading JAABA on a different computer and had the same issue.
Could it have something to do with the warnings that appear in the attached photo?

warnings

You're apparently right...
What should I do in this case? Delete the older version ?
findthresholds

Wow I can't believe this is solved! Thanks a lot.
Just a little question, when you say 'pull' the latest version what do you mean?
Usually I just clone and download everything from the beginning and delete the older files I have.. Is there another way?