An error while training new project in JAABA

25 views
Skip to first unread message

Hadar Pozeilov

unread,
May 1, 2023, 3:36:05 AM5/1/23
to JAABA
Hi all,

I am using MATLAB2021b and the last version (Mar 14) of JAABA.
In the main window after I labeled the behavior , I click on "Train" button this is the error I get:
  
Picture1.png

Many Thanks,
Hadar

Mayank Kabra

unread,
May 1, 2023, 1:37:44 PM5/1/23
to Hadar Pozeilov, JAABA
Hi Hadar,

We need more information to debug this. Did you add labels for both the behavior and not the behavior before training? If yes, can you send us the jaaba project file alongwith an example experiment directory?

Also, the resolution of the screenshot is very low. I can hardly read anything.

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/3ca716d2-7914-4625-ba74-bfa32983b991n%40googlegroups.com.

Hadar Pozeilov

unread,
May 1, 2023, 1:58:31 PM5/1/23
to Mayank Kabra, JAABA
Hi Mayank,

Thank you for the response!
Here is the error:
'''
Error using findThresholds

Too many input arguments.

Error in JLabelData/Train (line 5273)
                [obj.windowdata(iCls).binVals] = findThresholds(...

Error in JLabel>pushbutton_train_Callback (line 3871)
  handles.data.Train();

Error in gui_mainfcn (line 95)
        feval(varargin{:});

Error in JLabel (line 37)
    gui_mainfcn(gui_State, varargin{:});

Error in matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)JLabel('pushbutton_train_Callback',hObject,eventdata,guidata(hObject))
 
Error while evaluating UIControl Callback.
'''

Yes, I was labeled for both the behavior and not the behavior.
Attached is the JAABA project file and the experiment folder.

Hadar

‫בתאריך יום ב׳, 1 במאי 2023 ב-20:37 מאת ‪Mayank Kabra‬‏ <‪mayank...@gmail.com‬‏>:‬
approach.jab

Mayank Kabra

unread,
May 1, 2023, 2:28:09 PM5/1/23
to Hadar Pozeilov, JAABA
Hi Hadar,

I opened the project, and when I hit the train button I didn't encounter any problems. Can you restart Matlab and try again?

Mayank

Mayank Kabra

unread,
May 1, 2023, 2:43:00 PM5/1/23
to Hadar Pozeilov, JAABA
Also maybe pull the latest version of JAABA?

Hadar Pozeilov

unread,
May 1, 2023, 11:33:30 PM5/1/23
to Mayank Kabra, JAABA
I am with the last version of JAABA, I pulled it yesterday.

I will try restart MATLB.

Thank you!

בתאריך יום ב׳, 1 במאי 2023, 21:42, מאת Mayank Kabra ‏<mayank...@gmail.com>:

Hadar Pozeilov

unread,
May 2, 2023, 4:19:39 AM5/2/23
to Mayank Kabra, JAABA
Hi,
I just want to update that we succeeded to train the JAABA.
Our problem was that we accidently  did not deleted the compiled folder at our local JAABA folder and that what caused the error.

Thank you for the support!
Hadar

בתאריך יום ג׳, 2 במאי 2023, 6:33, מאת Hadar Pozeilov ‏<hadarp...@gmail.com>:
Reply all
Reply to author
Forward
0 new messages