How to open old JAABA files

60 views
Skip to first unread message

Anonymous

unread,
Jul 30, 2018, 9:33:11 AM7/30/18
to JAABA
Sorry if this is an easy question, but I looked through the documentation and I'm not sure how to open a file that has already been tracked through JAABA. I want to see the behavior tracking in that file but I'm not sure what file I have to open in order to see that. The documentation says that a .jab file should have been created, but I'm not seeing that anywhere.


Mayank Kabra

unread,
Jul 30, 2018, 9:53:33 AM7/30/18
to Anonymous, JAABA
Hi,

Before you can load any of the previously tracked output, you need to load the jab file. The jab file is created whenever you save the project (http://jaaba.sourceforge.net/NewProject.html#SavingJAABAProjects).

Mayank

On Mon, Jul 30, 2018 at 7:03 PM Anonymous <twasthe...@gmail.com> wrote:
Sorry if this is an easy question, but I looked through the documentation and I'm not sure how to open a file that has already been tracked through JAABA. I want to see the behavior tracking in that file but I'm not sure what file I have to open in order to see that. The documentation says that a .jab file should have been created, but I'm not seeing that anywhere.


--
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.
Visit this group at https://groups.google.com/group/jaaba.
For more options, visit https://groups.google.com/d/optout.

Anonymous

unread,
Jul 30, 2018, 1:56:23 PM7/30/18
to JAABA
The File > Save Project button is grayed out. Do you mean the File > Save Classifier and Labels button?

Anonymous

unread,
Jul 30, 2018, 2:59:47 PM7/30/18
to JAABA
Never mind, I manually classified some frames and now the Save Project button is available. After clicking it however, no jab file was created. 

Kristin Branson

unread,
Jul 30, 2018, 3:42:19 PM7/30/18
to twasthe...@gmail.com, JAABA
I recommend watching the tutorial video and looking at the documentation, if you haven't already, and trying to follow the steps there. I'm guessing you're missing some steps. 

Anonymous

unread,
Jul 30, 2018, 4:52:41 PM7/30/18
to JAABA
Thanks for the response. I read through the documentation and watched the video already, but in the video a .jab file is created when the classifier is saved. In my case, only several mat files are created after saving the file.

Kristin Branson

unread,
Jul 30, 2018, 4:55:33 PM7/30/18
to twasthe...@gmail.com, JAABA
If you use Save, it should save a .jab file, and ask you were you want to put it. 

On Mon, Jul 30, 2018 at 4:52 PM Anonymous <twasthe...@gmail.com> wrote:
Thanks for the response. I read through the documentation and watched the video already, but in the video a .jab file is created when the classifier is saved. In my case, only several mat files are created after saving the file.

--

Anonymous

unread,
Jul 30, 2018, 5:03:58 PM7/30/18
to JAABA
Would it be helpful if I sent a screenshot of the dialog box that appears when I press Save Project again? (The Save Project button is greyed out again for some reason, so I'm manually classifying a lot of data to see if the button will become available to click again.)

Kristin Branson

unread,
Jul 30, 2018, 5:14:23 PM7/30/18
to twasthe...@gmail.com, JAABA
I think to save, you need to 
1) create a project
2) add some videos
3) label some bouts. 
4) Click Save. 

It shouldn't be grayed out. What versions of Matlab, OS are you using? Can you type the output of the command 
ver
?

Kristin Branson

unread,
Jul 30, 2018, 5:15:09 PM7/30/18
to twasthe...@gmail.com, JAABA
Also, if there were errors previously, your JAABA may be in a bad state. Can you check if there is red text saying "Error" in the command window? 

Anonymous

unread,
Jul 30, 2018, 5:18:12 PM7/30/18
to JAABA
There is no red "Error" message in the command window. I did all the steps you listed but the button is gray. I'm using Matlab version 9.4.0.813654 (R2018a), with Windows 10 Pro.
This is the output of ver in the Matlab console: 

MATLAB Version: 9.4.0.813654 (R2018a)
MATLAB License Number: 40580208
Operating System: Microsoft Windows 10 Pro Version 10.0 (Build 16299)
Java Version: Java 1.8.0_144-b01 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
-----------------------------------------------------------------------------------------------------
MATLAB                                                Version 9.4         (R2018a)
Image Processing Toolbox                              Version 10.2        (R2018a)
Statistics and Machine Learning Toolbox               Version 11.3        (R2018a)

Kristin Branson

unread,
Jul 30, 2018, 5:26:03 PM7/30/18
to twasthe...@gmail.com, JAABA
I have not tested in R2018a. I'm pretty sure JAABA requires the Parallel Computing Toolbox -- sorry, I can't find that anywhere in the documentation. Do you see videos and tracked animals in your GUI? 

KB

--

Anonymous

unread,
Jul 30, 2018, 5:35:55 PM7/30/18
to JAABA
I do see the video as well as of the flies. I'm able to do everything seen in the tutorial video (select specific flies, mark parts of the video as the behavior or as "none", etc). The only difference is just the Save button.

Kristin Branson

unread,
Jul 30, 2018, 5:38:36 PM7/30/18
to twasthe...@gmail.com, JAABA
Okay, I'm not sure. I've never seen this. 

Things to try:

Close MATLAB, restart MATLAB, StartJAABA again, see if you have the same issue. 

Add the parallel computing toolbox -- I'm not really sure how it's working without it -- and try again. 

Try MATLAB R2017a. I haven't tested in R2018a. 



On Mon, Jul 30, 2018 at 5:35 PM Anonymous <twasthe...@gmail.com> wrote:
I do see the video as well as of the flies. I'm able to do everything seen in the tutorial video (select specific flies, mark parts of the video as the behavior or as "none", etc). The only difference is just the Save button.

--

Kristin Branson

unread,
Jul 30, 2018, 5:39:06 PM7/30/18
to twasthe...@gmail.com, JAABA
BTW, I'm assuming you pulled the code from Github? 

Anonymous

unread,
Jul 30, 2018, 6:01:12 PM7/30/18
to JAABA
I'm not at my computer now, so I'll get back to you tomorrow. Thanks for the suggestions. To be clear, I do have Matlab, but I don't have the parallel computing toolbox. Because of this, when I installed JAABA, I chose to choose the installation method that doesn't require Matlab. All I did was download the MCR program and then run the JAABA executable.

Kristin Branson

unread,
Jul 30, 2018, 6:18:04 PM7/30/18
to twasthe...@gmail.com, JAABA
Oh, so you are not running JAABA within MATLAB then? Are you running the compiled version? 

On Mon, Jul 30, 2018 at 6:01 PM Anonymous <twasthe...@gmail.com> wrote:
I'm not at my computer now, so I'll get back to you tomorrow. Thanks for the suggestions. To be clear, I do have Matlab, but I don't have the parallel computing toolbox. Because of this, when I installed JAABA, I chose to choose the installation method that doesn't require Matlab. All I did was download the MCR program and then run the JAABA executable.

--

Anonymous

unread,
Jul 30, 2018, 6:19:35 PM7/30/18
to JAABA
Yes, I'm running the compiled version.

Kristin Branson

unread,
Jul 30, 2018, 6:27:10 PM7/30/18
to twasthe...@gmail.com, JAABA
So we haven't updated the compiled version in quite a while. I haven't compiled on Windows 10 (my Windows machine runs Windows 7 still). Any chance you can get the Parallel Computing Toolbox and run within Matlab? Note that you won't see errors within Matlab, since the compiled version is not related to your Matlab at all. If not, it will probably take us (me) some time to remember how to compile JAABA :). 

KB

On Mon, Jul 30, 2018 at 6:19 PM Anonymous <twasthe...@gmail.com> wrote:
Yes, I'm running the compiled version.

--

Anonymous

unread,
Jul 30, 2018, 6:40:37 PM7/30/18
to JAABA
Unfortunately, the parallel computing toolbox isn't free so I don't think I can run within Matlab at this time. I understand if it's not possible, but I appreciate any progress you make on the compiled version!
Message has been deleted

Anonymous

unread,
Jul 31, 2018, 10:28:43 AM7/31/18
to JAABA
I had another question: when using JAABAPlot, the classifiers that you are prompted to add are jab files, correct? 
Reply all
Reply to author
Forward
0 new messages