-
Notifications
You must be signed in to change notification settings - Fork 817
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
CAFFE validation fails when using WINOGRAD 4 #603
Comments
@gasgallo When the winograd block size is large, the accuracy of calculation will decrease, This is a normal phenomenon. |
@lu229 that's correct. I was just surprised that it happens with that specific model only, while with other models (e.g this model) that has the same convolution filter sizes, but 50 layers instead of 34, validation is successful. |
@gasgallo Generally it can be passed, which is related to the weight value of the model.... |
@lu229 I've just noticed that the same model passes validation if run on a difference device. Any idea why this happens? |
@gasgallo There are many possible reasons for this, such as:
|
We can continue at #638 |
Before you open an issue, please make sure you have tried the following steps:
System information
Model deploy file (*.yml)
Describe the problem
Validation fails because of low similarity. This happens only when WINOGRAD is 4. With WINOGRAD 0 or 2, validation is successful.
To Reproduce
Steps to reproduce the problem:
1. cd /path/to/mace 2. python tools/converter.py convert --config_file=/path/to/your/model_deployment_file 2. python tools/converter.py run --validate --disable_tuning --config_file=/path/to/your/model_deployment_file
Error information / logs
Please include the full log and/or traceback here.
MACE
v0.12.0
w/ WINOGRAD 0:MACE
v0.12.0
w/ WINOGRAD 2:MACE
v0.12.0
w/ WINOGRAD 4:Additional context
Model to reproduce the issue can be found here
The text was updated successfully, but these errors were encountered: