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

Extending the Inception I3D architecture to TwoStream I3D #63

Open
MounirB opened this issue May 9, 2020 · 0 comments
Open

Extending the Inception I3D architecture to TwoStream I3D #63

MounirB opened this issue May 9, 2020 · 0 comments

Comments

@MounirB
Copy link

MounirB commented May 9, 2020

Hello,
I'm willing to extend the pytorch I3D architecture to a TwoStream implementation, like I did in this Keras project, but I'm wondering what changes should be operated to make this architecture behave like the Keras version.
Here are the lines of code I'm stuck onto :

end_point = 'Logits'
self.avg_pool = nn.AvgPool3d(kernel_size=[2, 7, 7],
                             stride=(1, 1, 1))
self.dropout = nn.Dropout(dropout_keep_prob)
self.logits = Unit3D(in_channels=384+384+128+128, output_channels=self._num_classes,
                     kernel_shape=[1, 1, 1],
                     padding=0,
                     activation_fn=None,
                     use_batch_norm=False,
                     use_bias=True,
                     name='logits')

self.build()

I would like to remove the self.dropout and the self.logits lines. Afterthat, I want to flatten the output of the AvgPool3d and connect it with a Dense layer which does the predictions.
Could you help me in this process, please ?

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

1 participant