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

Slimming to lower width results in poor accuracy on ARM architectures #52

Open
octavianmm opened this issue Feb 12, 2021 · 0 comments
Open

Comments

@octavianmm
Copy link

Hi,
When running the code on CPU (without GPU) on arm-based architectures (e.g. NVIDIA Jetson nano, UDOO neo board), the slimmable network (Mobilenetv1) works as expected at 100% width, but when slimming to lower widths the accuracy is very low - the network always predicts the same class regardless of the input, also the softmax-based confidence decreases (e.g. for 25% is 0.48), which makes me think it might be an issue with the BN layers. However the exact same code works flawless on x86-64 architectures. Also, the code works OK if ran on GPU on an ARM device (e.g. the Jetson nano).
I've tried with Python3.6, 3.8, and pytorch 1.4.0, 1.7.0, same thing.
Do you have a hint on why this weird behavior, solely on ARM CPUs?

Thanks

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