Editing previously labelled frames #1962
-
We have labelled a bunch of frames in a project and now want to edit some of these in different ways to see if it improves the model. The idea is to use the remainder of the manually-labelled frames as a test set and see which alternative labelling strategy performs best. P.S. As a possible extra complication, this particular project consists of many 'videos' each consisting of one frame (drawn from a variety of source videos). So a solution that allows flagging at the video level would also work here (but possibly not in future projects). |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 6 replies
-
Thank you for starting a new discussion! We appreciate your input and will review it soon. Warning A friendly reminder that this is a public forum. Please be cautious when clicking links, downloading files, or running scripts posted by others.
Stay safe and happy SLEAPing! Best regards, |
Beta Was this translation helpful? Give feedback.
-
After some tests, it seems what we need is the ability to restrict training to just a subset of the frames. It looks like the training config file might support this, with some promising-looking parameters in the 'labels' section:
As you can see, I have tried passing a bunch of indices to 'training_inds'. This runs, but I can't verify that it is only using those frames/videos for training. I am guessing a bit here though as I have not managed to dig out the documentation for these config files. Can someone point me to where that is? Or has anyone successfully done training only using a subset of the training dataset? |
Beta Was this translation helpful? Give feedback.
-
For reference, I'll summarise what I needed to answer my original question: In the training config file, the 'labels' section is set up as below, with
By sending the console output to file as @talmo suggested (in the form Thanks both of you! |
Beta Was this translation helpful? Give feedback.
For reference, I'll summarise what I needed to answer my original question:
In the training config file, the 'labels' section is set up as below, with
split_by_inds
set totrue
andtraining_inds
set to an array of indices (I guess to instances although in my case each video has only one (labelled) frame, so videos, frames and instances all have the same indices for me).