sgoldenlab / simba

SimBA (Simple Behavioral Analysis), a pipeline and GUI for developing supervised behavioral classifiers
https://simba-uw-tf-dev.readthedocs.io/
GNU General Public License v3.0
272 stars 137 forks source link

How to remove video from behavioral annotation dataset #366

Open lpereiras17 opened 3 weeks ago

lpereiras17 commented 3 weeks ago

Hello. Thanks for all the hard work to make such a detailed workflow. I wanted to ask if there is any way to remove a video from the training dataset using the SimBA GUI? I couldn't seem to find anything about this in my searches, so I wasn't sure if I have to manually go into the project folder and delete all related csv and .mp4 files for the video. I don't want to annotate behaviors for some videos anymore, so this would really help. Please let me know!

sronilsson commented 3 weeks ago

Hello @lpereiras17!

To train the models, SimBA uses all the files inside the project_folder/csv/targets_inserted.

To omit a video from training, remove the file representing this video from the project_folder/csv/targets_inserted (or, place it inside a subfolder inside project_folder/csv/targets_inserted) and SimBA won't see it when training models.

You don't have the remove the file from any other folders for it to be omitted from training.