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

different examples #22

Open
sonfire186 opened this issue Jul 8, 2020 · 1 comment
Open

different examples #22

sonfire186 opened this issue Jul 8, 2020 · 1 comment

Comments

@sonfire186
Copy link

sonfire186 commented Jul 8, 2020

I see different examples in README.md and archs.py

x = Dense(args.num_features, kernel_initializer='he_normal',
                kernel_regularizer=regularizers.l2(weight_decay))(x)
x = BatchNormalization()(x)
output = ArcFace(10, regularizer=regularizers.l2(weight_decay))([x, y])
x = Dense(512, kernel_initializer='he_normal')(x)
x = BatchNormalization()(x)
output = ArcFace(num_classes=10)([x, y])

Which examples is correct?

@rlrahulkanojia
Copy link

The first one seems better as it includes weight decay regularization, but both are correct.

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