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

Concerns on non-linear function #3

Closed
HaoKun-Li opened this issue Sep 15, 2022 · 1 comment
Closed

Concerns on non-linear function #3

HaoKun-Li opened this issue Sep 15, 2022 · 1 comment

Comments

@HaoKun-Li
Copy link

Hello, thanks for your excellent paper and code!
I have some concerns on the non-linear functions that are used in the ResNet and Mobilenet. Could you please provide more details?
In the Section 4 of the paper, the authors claim that "they use RPReLU [32] as non-linear function":
image

However, in this code, it seems that you use PReLU for Resnet and ReLU6 for MobileNet. May this difference affect the accuracy of quantized models seriously?

@HaoKun-Li
Copy link
Author

Hello, thanks for your excellent paper and code! I have some concerns on the non-linear functions that are used in the ResNet and Mobilenet. Could you please provide more details? In the Section 4 of the paper, the authors claim that "they use RPReLU [32] as non-linear function": image

However, in this code, it seems that you use PReLU for Resnet and ReLU6 for MobileNet. May this difference affect the accuracy of quantized models seriously?

Ok, I got it. The authors use two additional LearnableBias parameters to implement the RPReLU as follows:
image

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