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

The accuracy error #46

Open
louvinci opened this issue Aug 24, 2020 · 1 comment
Open

The accuracy error #46

louvinci opened this issue Aug 24, 2020 · 1 comment

Comments

@louvinci
Copy link

Thank you for you share, but when i run like below, i get result :acc1=0.00 acc5=0.00
''python quantize.py --type cifar10 --quant_method linear --param_bits 16 --fwd_bits 16 --bn_bits 16 --gpu 0 --ngpu 1 --input_size 32''

The first time I run, I get the following error,
''...not supported on CUDAType for Long''

then I change the data type to float, and then I get the above result. Thank you or your help.

@louvinci
Copy link
Author

I sloved this problem. .float() should also be added to the eval_model() function

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