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

AssertionError: y_diff = 0.000188 when converting vgg16 and vgg19 models #8

Open
ProGamerGov opened this issue May 4, 2018 · 0 comments

Comments

@ProGamerGov
Copy link

ProGamerGov commented May 4, 2018

th caffemodel_to_t7.lua -output_t7 VGG_ILSVRC_19_layers.t7 -input_caffemodel VGG_ILSVRC_19_layers.caffemodel -input_prototxt VGG_ILSVRC_19_layers_deploy.prototxt

python t7_to_state_dict.py --input_t7 VGG_ILSVRC_19_layers.t7 --model_name vgg19
python test_model.py --t7_file VGG_ILSVRC_19_layers.t7 --pth_file vgg19-bdbb0f7f.pth

Upon running the test_model.py script, I get this error:

Running test case 1 / 10
Traceback (most recent call last):
  File "test_model.py", line 41, in <module>
    assert y_diff == 0, 'y_diff = %f' % y_diff
AssertionError: y_diff = 0.000188

For the vgg16 model:

Running test case 1 / 10
Traceback (most recent call last):
  File "test_model.py", line 41, in <module>
    assert y_diff == 0, 'y_diff = %f' % y_diff
AssertionError: y_diff = 0.000198
@ProGamerGov ProGamerGov changed the title AssertionError: y_diff = 0.000188 when converting vgg19 model AssertionError: y_diff = 0.000188 when converting vgg16 and vgg19 models May 4, 2018
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