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

backbones/renet.py #111

Open
1303463822 opened this issue Apr 25, 2023 · 1 comment
Open

backbones/renet.py #111

1303463822 opened this issue Apr 25, 2023 · 1 comment

Comments

@1303463822
Copy link

in resnet.py, the ResNet101 uses basicblock with depthes = [3, 4, 23, 3] rather than bottleneck. Are there any errors?

@leondgarse
Copy link
Owner

leondgarse commented Apr 25, 2023

Not error, just following the usage in official insightface/iresnet.py, and it's accuracy is bit higher. You can also find some training log using typical ResNet50V2/ResNet100V2 in Resnet50V2 / Resnet101V2 swish using SGD + L2 regularizer + cosine lr decay training on MS1MV3 dataset. Or just use keras.applications.ResNet101 by using "resnet101" rather than "r100" when initializing basic_model, built by models.py#L39-L45.

import models
basic_model = models.buildin_models("resnet101", dropout=0, emb_shape=512, output_layer='E', bn_momentum=0.9, bn_epsilon=1e-5)
...

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