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 "current information" #3

Open
FedericoVasile1 opened this issue Jul 29, 2020 · 2 comments
Open

Question about "current information" #3

FedericoVasile1 opened this issue Jul 29, 2020 · 2 comments

Comments

@FedericoVasile1
Copy link

FedericoVasile1 commented Jul 29, 2020

Hi, congrats for your work and great results!
I read your paper and I did not understand what you intend for "current information input", what should I concretely provide as current information input to IDU?
From what I understand, at each timestep IDU has 3 inputs: Ht-1, Xt, X0. Ht-1 is the hidden state of the previous timestep, Xt is the feature vector extracted at the current timestep, and what about X0(current information)?

Thank you :)

@hyunjun-eun
Copy link
Owner

As you mentioned, IDU has 3 inputs. Among them, X0 is the feature vector extracted at the timestep of interest, i.e., t0.
For online action detection, what the network predicts is the action at t0 when action is happening now.

@FedericoVasile1
Copy link
Author

So let's suppose I have T = 16 unrolling steps for the idu cell (as you said in the paper), that means I have a sample tensor of shape (T, feature_vector_dim). To clarify what should be the input to IDU at each step of T I write here a simple pseudo-code, to check if I understand correcly:

h_t = zeros
for step in range(T):
     h_t = IDU.forward(feat_vects[step], feat_vects[-1], h_t)

where feat_vects is the above mentioned tensor. Is this pseudo-code what you mean?

Furthermore, another question: the predictions are made at each step of T (using the current hidden state obtained at that step) or only at the end of the sequence T (hence using the last hidden state)

Thank you for your patience 👍

PS: I'm doing a personal pytorch implementation of your paper for an home-made application for online action detection purposes, if you want once is ended I can do a pull request :)

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