-
Notifications
You must be signed in to change notification settings - Fork 146
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Importing BORIS annotations #391
Comments
Hi @Monica9577! This appears to be related to the issue reported last week, check THIS reply. It's to do with the layout of your BORIS file versus the layout expected by SimBA. The BORIS layout you have - do you know if that is a new "standard" output from BORIS, or is it one of many alternatives? |
Thanks for the screengrab very helpful. Can you see what you get when exporting You are looking for data organized with start and end events on separate rows like in this attached file, not data where each row is both a start and stop event. |
With tabular it gives me the following document |
That BORIS file certainly looks more promising. However, in BORIS you may have named your behavior |
Hi Simon, |
Thanks @Monica9577, super helpful. I can see what is going on - you see that in your BORIS file, you have several FPS associated with each row:
Whereas in the file I attached above as the expected input, has a single FPS value associated each row:
What I will do is to update the SimBA code so it can handle your data format, as well as the expected data format. I will get back to you in a min. Thanks |
@Monica9577 - let's try again and let me know if you see any errors. How does it look if you update simba to version 2.1.6 with |
@sronilsson After updating it looks promising, but still some problems I'm attaching a screenshot of the simba interface and the main console |
Hi @Monica9577 - yes I can see where the warning comes from, lets see what I can do. There is some oddeties in there that freaks SimBA out: For example, in video AC1 F6 , subject F5 starts to freeze, and it doesn't stop to freeze until the end of that video? Do you know if there is any setting in BORIS that allows you to save the data as individual CSVs for each video that you annotated? |
@Monica9577 if you update SimBA again, I've inserted some code to try catch and fix such inconsistencies in the BORIS file, but I haven't tested it extensively, so if you do try it let me know how it goes. |
Thanks, now it imported the annotation files |
Hi @Monica9577 - can you check that the |
for some reason I can't opened, so I'm uploading it again |
Thanks @Monica9577 - can you also show me your project_config.ini? You may have to zip it before dropping it in this thread. |
project_config.zip |
Got it - looking at the name of the classifier you want to train it is set to This value is set in the SimBA interface when you use this menu to save how you want to train your classifier. You can either: (i) use the menu above as docuumented HERE, click save, and run the model, (ii) or if you just want to test it out, change |
Thanks so much for your help @sronilsson now it's working like fine wine ! |
I'm trying to create a classifier, for that I'm trying to import previously manually annotated data from boris.
But it doesn't seem to be working properly, because as far as I understood, if I have 6 videos manually annotated SIMBA should create 6 .csv files in \project_folder\csv\targets_inserted
Maybe I'm doing something wrong, I'll be very glad to get any help.
Expected behavior
After analyzing I expected to see in my \project_folder\csv\targets_inserted the 6 .csv files corresponding to my manually annotated data.
Instead I still have the same 2 .csv files I originally did with the usual labeling tools inside SIMBA
Desktop (please complete the following information):
ADDITIONAL
I'm attaching the file I imported to simba ("prueba aggregated events.csv)
And the .txt file of my project configuration file ("project -copia.txt)
project - copia.txt
prueba aggregated events.csv
The text was updated successfully, but these errors were encountered: