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

Using pre trained models for feature extraction. #20

Open
Sreerag-ibtl opened this issue Jan 17, 2019 · 0 comments
Open

Using pre trained models for feature extraction. #20

Sreerag-ibtl opened this issue Jan 17, 2019 · 0 comments

Comments

@Sreerag-ibtl
Copy link

I was wondering weather is it possible to use lighter models such as mobilenet as a replacement for convolutional stack in this example? I am confused in the step where the convolutional and GRU layers combined.
conv_to_rnn_dims = (img_w // (pool_size ** 2), (img_h // (pool_size ** 2)) * conv_filters) inner = Reshape(target_shape=conv_to_rnn_dims, name='reshape')(inner) inner = Dense(time_dense_size, activation=act, name='dense1')(inner) gru_1 = GRU(rnn_size, return_sequences=True, kernel_initializer='he_normal', name='gru1')(inner) gru_1b = GRU(rnn_size, return_sequences=True, go_backwards=True, kernel_initializer='he_normal', name='gru1_b')(inner) ... ...
Any idea about this?
TIA

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