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

About input's shape #34

Open
EricPengShuai opened this issue Jul 24, 2021 · 1 comment
Open

About input's shape #34

EricPengShuai opened this issue Jul 24, 2021 · 1 comment

Comments

@EricPengShuai
Copy link

I am wondering whether the shape of this input must be (224, 224, 3). If it is not this shape, I just need to change the kernel_size in fc6 in the code to the width and height of pool5, right?

fc6 = Conv2D(512, 7, use_bias=False, padding='valid', name='fc6')(pool5) #4096
fc6 = BatchNormalization(name='batchnorm_fc6')(fc6)
fc6 = Activation('relu', name='relu_fc6')(fc6)
@fabianbormann
Copy link
Owner

Hi @EricPengShaui, I wrote this code a few years ago, so I can not answer your question right now. As I plan to update my code to the latest tf+keras version anyway, I am going to answer you in a few days after/during rewriting

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