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

Problems in Converting PNASNet_mobile to pytorch #5

Open
tzzcl opened this issue Feb 2, 2019 · 1 comment
Open

Problems in Converting PNASNet_mobile to pytorch #5

tzzcl opened this issue Feb 2, 2019 · 1 comment

Comments

@tzzcl
Copy link

tzzcl commented Feb 2, 2019

Hi, I just want to use your code to convert PNASNet_mobile models to PyTorch.

After modifiing your code with both PNASNet.pytorch and PNASNet.TF,

I find that the accuracy is slow on converted models with PNASNet.pytorch
Test: [50000/50000] Prec@1 0.710 Prec@5 0.901
But In PNASNet.TF, the accuracy is 74.2

The shape and dict test is pass. But the Check 2 failed.

Could you give me some hints on converting the PNASNet-mobile models?

Thanks

@chenxi116
Copy link
Owner

Hmm, I am not sure where it went wrong. I suggest running Check 2 at intermediate layers, to progressively find where the conversion began to fail.

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