We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Dear @jacobgil ,
Thanks for your great work! However, when I run python explain.py examples/flute.jpg, something goes wrong:
python explain.py examples/flute.jpg
$ python explain.py examples/flute.jpg Category with highest probability 558 Optimizing.. /usr/local/lib/python2.7/dist-packages/torch/nn/modules/upsampling.py:183: UserWarning: nn.UpsamplingBilinear2d is deprecated. Use nn.Upsample instead. warnings.warn("nn.UpsamplingBilinear2d is deprecated. Use nn.Upsample instead.") Traceback (most recent call last): File "explain.py", line 132, in <module> noise = noise + cv2.randn(noise, 0, 0.2) TypeError: unsupported operand type(s) for +: 'float' and 'NoneType'
Maybe it is caused by the some python packages with different versions as you used, I guess. Do you know how to fix it?
Thanks! Kun
The text was updated successfully, but these errors were encountered:
It looks like that cv2.randn() always return NoneType.
cv2.randn()
NoneType
Sorry, something went wrong.
Merge pull request #4 from bonzeboy/master
2abde67
fix for issue #1
No branches or pull requests
Dear @jacobgil ,
Thanks for your great work! However, when I run
python explain.py examples/flute.jpg
, something goes wrong:Maybe it is caused by the some python packages with different versions as you used, I guess. Do you know how to fix it?
Thanks!
Kun
The text was updated successfully, but these errors were encountered: