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

Efficientnet-b0-b3 implementation #1

Open
dragen1860 opened this issue Feb 26, 2020 · 0 comments
Open

Efficientnet-b0-b3 implementation #1

dragen1860 opened this issue Feb 26, 2020 · 0 comments

Comments

@dragen1860
Copy link

Dear author:
thanks to your concise and useful implementation. Compared to the official messy tpu version, yours is realy easy to follow!
But a trivial question in my head. I found in effnet.py, you implement the efficientnet-b0 in just several lines of code:

    x_input = tf.keras.layers.Input(shape=input_shape)
    x = get_block(x_input, 32, 64)
    x = get_block(x, 64, 128)
    x = get_block(x, 128, 256)
    x = tf.keras.layers.Flatten()(x)
    x = tf.keras.layers.Dense(num_classes, activation='softmax')(x)
    model = tf.keras.models.Model(inputs=x_input, outputs=x)

May I ask is there any difference between your implmentation and the official implementation? Can you give a pretrained weights file? thank you.

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