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

Why is the depth_coefficient of efficientnet-b7 defined as 3.1? #1047

Open
T990820 opened this issue Nov 21, 2023 · 0 comments
Open

Why is the depth_coefficient of efficientnet-b7 defined as 3.1? #1047

T990820 opened this issue Nov 21, 2023 · 0 comments

Comments

@T990820
Copy link

T990820 commented Nov 21, 2023

The related code is found on line 47 of efficientnet_x_builder.py. According to equation (3) of the paper, the image size of efficientnet-b7 is 600, so

r=γ^Φ=1.15^Φ=600/224=2.6786

Φ=log(2.6786)/log(1.15)=7.04

then a conclusion can be drawn as

depth_coefficient=d=α^Φ=1.2^7.04=3.6094≠3.1

I have browsed several repos about EfficientNet, which most of them define depth of efficientnet-b7 as 3.1, so I'm not sure if the above derivation is correct. If I'm wrong, what's the correct mathematical derivation?

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