kristinbranson / JAABA

Janelia Animal Behavior Detector
Other
76 stars 30 forks source link

Issue in training classifier #334

Open Junes94 opened 4 years ago

Junes94 commented 4 years ago

Hi, everyone. When I pressed the 'Train' button, I faced an error. The state window says 'Computing windowdata for my project name~:behavior name~'. And I couldn't figure out what's wrong with my project. Here's what MATLAB says, and I also attach the 'select features'.

Thanks for your help, Junesu

주석 2020-07-14 121830


Error using convertToRelative (line 9) Edge vector must be monotonically non-decreasing. Error in ComputeMeanWindowFeatures (line 154) modX = convertToRelative(x,relativeParams); Error in ComputeWindowFeatures (line 404) curFn(x,'cache',cache,... Error in PreLoadWindowData (line 86) ComputeWindowFeatures(perframedata,object.windowfeaturescellparams.(perframefn){:},'t0',i0,'t1',i11); Error in JLabelData/PreLoadPeriLabelWindowData (line 4034) parfor perframei = 1:Ncpff % TODO: Switch back to parfor Error in JLabelData/Train (line 5231) [success,msg] = obj.PreLoadPeriLabelWindowData(); Error in JLabel>pushbutton_train_Callback (line 3818) 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.


mkabra commented 4 years ago

Can you send the perframe files?

Mayank

On Tue, Jul 14, 2020 at 8:57 AM June94 notifications@github.com wrote:

Hi, everyone. When I pressed the 'Train' button, I faced an error. The state window says 'Computing windowdata for ~~my project name~:behavior name'. And I couldn't figure out what's wrong with my project. Here's what MATLAB says, and I also attach the 'select features'.

Thanks for your help, Junesu

[image: 주석 2020-07-14 121830] https://urldefense.com/v3/__https://user-images.githubusercontent.com/64457340/87379860-2dc35e00-c5cc-11ea-9064-7c9a23dde612.jpg__;!!Eh6p8Q!VOFEFZ7if8p7LYBCkcyuh34n2AvHHS4PKtivJ8W48gbSgDfq-_ARzMMu9C0WGNdfO0k$

Error using convertToRelative (line 9) Edge vector must be monotonically non-decreasing. Error in ComputeMeanWindowFeatures (line 154) modX = convertToRelative(x,relativeParams); Error in ComputeWindowFeatures (line 404) curFn(x,'cache',cache,... Error in PreLoadWindowData (line 86)

ComputeWindowFeatures(perframedata,object.windowfeaturescellparams.(perframefn){:},'t0',i0,'t1',i11); Error in JLabelData/PreLoadPeriLabelWindowData (line 4034) parfor perframei = 1:Ncpff % TODO: Switch back to parfor Error in JLabelData/Train (line 5231) [success,msg] = obj.PreLoadPeriLabelWindowData(); Error in JLabel>pushbutton_train_Callback (line 3818) 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.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://urldefense.com/v3/__https://github.com/kristinbranson/JAABA/issues/334__;!!Eh6p8Q!VOFEFZ7if8p7LYBCkcyuh34n2AvHHS4PKtivJ8W48gbSgDfq-_ARzMMu9C0WLn6YcyU$, or unsubscribe https://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/AAJNKY5YLKMEKGBLAPQFC6DR3PGBTANCNFSM4OZDABIA__;!!Eh6p8Q!VOFEFZ7if8p7LYBCkcyuh34n2AvHHS4PKtivJ8W48gbSgDfq-_ARzMMu9C0WEsr9j-4$ .

Junes94 commented 4 years ago

Hi, Mayank. Thank you for your reply. Here's the perframe files.

Thank you. Juneau LEE

2020년 7월 14일 (화) 오후 7:44, mkabra notifications@github.com님이 작성:

Can you send the perframe files?

Mayank

On Tue, Jul 14, 2020 at 8:57 AM June94 notifications@github.com wrote:

Hi, everyone. When I pressed the 'Train' button, I faced an error. The state window says 'Computing windowdata for ~~my project name~:behavior name'. And I couldn't figure out what's wrong with my project. Here's what MATLAB says, and I also attach the 'select features'.

Thanks for your help, Junesu

[image: 주석 2020-07-14 121830] < https://urldefense.com/v3/__https://user-images.githubusercontent.com/64457340/87379860-2dc35e00-c5cc-11ea-9064-7c9a23dde612.jpg__;!!Eh6p8Q!VOFEFZ7if8p7LYBCkcyuh34n2AvHHS4PKtivJ8W48gbSgDfq-_ARzMMu9C0WGNdfO0k$


Error using convertToRelative (line 9) Edge vector must be monotonically non-decreasing. Error in ComputeMeanWindowFeatures (line 154) modX = convertToRelative(x,relativeParams); Error in ComputeWindowFeatures (line 404) curFn(x,'cache',cache,... Error in PreLoadWindowData (line 86)

ComputeWindowFeatures(perframedata,object.windowfeaturescellparams.(perframefn){:},'t0',i0,'t1',i11); Error in JLabelData/PreLoadPeriLabelWindowData (line 4034) parfor perframei = 1:Ncpff % TODO: Switch back to parfor Error in JLabelData/Train (line 5231) [success,msg] = obj.PreLoadPeriLabelWindowData(); Error in JLabel>pushbutton_train_Callback (line 3818) 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.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub < https://urldefense.com/v3/__https://github.com/kristinbranson/JAABA/issues/334__;!!Eh6p8Q!VOFEFZ7if8p7LYBCkcyuh34n2AvHHS4PKtivJ8W48gbSgDfq-_ARzMMu9C0WLn6YcyU$ , or unsubscribe < https://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/AAJNKY5YLKMEKGBLAPQFC6DR3PGBTANCNFSM4OZDABIA__;!!Eh6p8Q!VOFEFZ7if8p7LYBCkcyuh34n2AvHHS4PKtivJ8W48gbSgDfq-_ARzMMu9C0WEsr9j-4$

.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/kristinbranson/JAABA/issues/334#issuecomment-658109591, or unsubscribe https://github.com/notifications/unsubscribe-auth/APLYU7ANGCQG7GMK7KTDLBTR3QZJNANCNFSM4OZDABIA .

mkabra commented 4 years ago

Hi June,

I didn't get any files. Maybe github doesn't like that. Can you send a dropbox/google drive link?

Mayank

On Tue, Jul 14, 2020 at 7:17 AM June94 notifications@github.com wrote:

Hi, Mayank. Thank you for your reply. Here's the perframe files.

Thank you. Juneau LEE

2020년 7월 14일 (화) 오후 7:44, mkabra notifications@github.com님이 작성:

Can you send the perframe files?

Mayank

On Tue, Jul 14, 2020 at 8:57 AM June94 notifications@github.com wrote:

Hi, everyone. When I pressed the 'Train' button, I faced an error. The state window says 'Computing windowdata for ~~my project name~:behavior name'. And I couldn't figure out what's wrong with my project. Here's what MATLAB says, and I also attach the 'select features'.

Thanks for your help, Junesu

[image: 주석 2020-07-14 121830] <

https://urldefense.com/v3/__https://user-images.githubusercontent.com/64457340/87379860-2dc35e00-c5cc-11ea-9064-7c9a23dde612.jpg__;!!Eh6p8Q!VOFEFZ7if8p7LYBCkcyuh34n2AvHHS4PKtivJ8W48gbSgDfq-_ARzMMu9C0WGNdfO0k$


Error using convertToRelative (line 9) Edge vector must be monotonically non-decreasing. Error in ComputeMeanWindowFeatures (line 154) modX = convertToRelative(x,relativeParams); Error in ComputeWindowFeatures (line 404) curFn(x,'cache',cache,... Error in PreLoadWindowData (line 86)

ComputeWindowFeatures(perframedata,object.windowfeaturescellparams.(perframefn){:},'t0',i0,'t1',i11);

Error in JLabelData/PreLoadPeriLabelWindowData (line 4034) parfor perframei = 1:Ncpff % TODO: Switch back to parfor Error in JLabelData/Train (line 5231) [success,msg] = obj.PreLoadPeriLabelWindowData(); Error in JLabel>pushbutton_train_Callback (line 3818) 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.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <

https://urldefense.com/v3/__https://github.com/kristinbranson/JAABA/issues/334__;!!Eh6p8Q!VOFEFZ7if8p7LYBCkcyuh34n2AvHHS4PKtivJ8W48gbSgDfq-_ARzMMu9C0WLn6YcyU$

, or unsubscribe <

https://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/AAJNKY5YLKMEKGBLAPQFC6DR3PGBTANCNFSM4OZDABIA__;!!Eh6p8Q!VOFEFZ7if8p7LYBCkcyuh34n2AvHHS4PKtivJ8W48gbSgDfq-_ARzMMu9C0WEsr9j-4$

.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub < https://github.com/kristinbranson/JAABA/issues/334#issuecomment-658109591 , or unsubscribe < https://github.com/notifications/unsubscribe-auth/APLYU7ANGCQG7GMK7KTDLBTR3QZJNANCNFSM4OZDABIA

.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://urldefense.com/v3/__https://github.com/kristinbranson/JAABA/issues/334*issuecomment-658122656__;Iw!!Eh6p8Q!TsUPhgXbo52V5mGbjyYE_SeKYtqNGqs3hbZEZKuQR63CZMU7ko2BrmV3EWjg_51ZV4s$, or unsubscribe https://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/AAJNKY3LC3CL2ZSDS67NBELR3Q5DDANCNFSM4OZDABIA__;!!Eh6p8Q!TsUPhgXbo52V5mGbjyYE_SeKYtqNGqs3hbZEZKuQR63CZMU7ko2BrmV3EWjguH4uhwM$ .

Junes94 commented 4 years ago

Sorry about that. Could you try this one?

https://drive.google.com/file/d/19G9evI6N8SZH4OmXtWFB50oQI3tnBLHv/view?usp=sharing

June

mkabra commented 4 years ago

Hi June,

I've pushed a fix and JAABA shouldn't crash anymore. However, since you are tracking only a single point, none of the apt "body" features are going to be useful. So you might want to deselect them in Select Features. JAABA and APT weren't designed with such a use case in mind.

Mayank

On Tue, Jul 14, 2020 at 6:01 PM June94 notifications@github.com wrote:

Sorry about that. Could you try this one?

https://drive.google.com/file/d/19G9evI6N8SZH4OmXtWFB50oQI3tnBLHv/view?usp=sharing https://urldefense.com/v3/__https://drive.google.com/file/d/19G9evI6N8SZH4OmXtWFB50oQI3tnBLHv/view?usp=sharing__;!!Eh6p8Q!Xs3274E-q_PAnAl8oSdhQUn25fu02G0WwaP62iw3uG86544L-KS4IYwJEvV8J_0WCBU$

June

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://urldefense.com/v3/__https://github.com/kristinbranson/JAABA/issues/334*issuecomment-658152262__;Iw!!Eh6p8Q!Xs3274E-q_PAnAl8oSdhQUn25fu02G0WwaP62iw3uG86544L-KS4IYwJEvV8pvRUsrw$, or unsubscribe https://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/AAJNKY6GQ3GLOM2IXNILQ3DR3RF2XANCNFSM4OZDABIA__;!!Eh6p8Q!Xs3274E-q_PAnAl8oSdhQUn25fu02G0WwaP62iw3uG86544L-KS4IYwJEvV8VfC6Z0U$ .

Junes94 commented 4 years ago

Mayank, thanks for a quick fix. I really appreciate it. Also, I'll add more points later. Thank you again.

June