Skip to content
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

Question about labeling each frame series. #13

Open
somanshreddy opened this issue Jan 30, 2019 · 1 comment
Open

Question about labeling each frame series. #13

somanshreddy opened this issue Jan 30, 2019 · 1 comment

Comments

@somanshreddy
Copy link

I am trying to use a different dataset where each frame is labeled as opposed to each frame series,
How did you label each frame series? Was it given in the dataset directly or did you manually label each frame series?

We ran OpenPose on our dataset which was at 25 fps, so do you recommend we choose our n_steps as 25 itself? In this case what if an activity begins in the middle of a frame series, should it be labeled as activity or not?

@seiffertacfr
Copy link

For each video the dataset is based on, the person is only ever performing 1 of 6 activities, so the label would always be the same for an entire sequence.
As the model is currently set up, you only want a single label per input, so one label for the entire frame series, you could preprocess your data to ensure each sequence contains only 1 label, or just take the most common label.
You could change this if you want and have the output try and match a given % of each known activity performed during a sequence. In this way if a sequence contains some frames labelled as one activity and other frames labelled as another activity the input label would be changed to reflect the % of frames per total known labels. You would need to change the loss function for this to work.

I would use a larger sequence than 1 second to train on. The only reason I chose 32 for n_steps was because I wanted a window to cover about 2 seconds, as this seemed to be how long it took me to easily determine what activity each sequence contained in the videos, you could definitely test shorter input sequences on your data, but there is no reason it should be the same as your fps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants