error happens when use this tool
See original GitHub issueI don’t know if calibration image data format is not correct.
Quantize the Activation:
/usr/local/lib/python3.5/dist-packages/skimage/io/_io.py:49: UserWarning: `as_grey` has been deprecated in favor of `as_gray`
warn('`as_grey` has been deprecated in favor of `as_gray`')
Traceback (most recent call last):
File "caffe-int8-convert-tool.py", line 468, in <module>
main()
File "caffe-int8-convert-tool.py", line 457, in main
activation_quantize(net, transformer, images_files)
File "caffe-int8-convert-tool.py", line 350, in activation_quantize
net_forward(net, image, transformer)
File "caffe-int8-convert-tool.py", line 220, in net_forward
image = caffe.io.load_image(image_path)
File "/home/jim/caffe/python/caffe/io.py", line 296, in load_image
img = skimage.img_as_float(skimage.io.imread(filename, as_grey=not color)).astype(np.float32)
File "/usr/local/lib/python3.5/dist-packages/skimage/io/_io.py", line 62, in imread
img = call_plugin('imread', fname, plugin=plugin, **plugin_args)
File "/usr/local/lib/python3.5/dist-packages/skimage/io/manage_plugins.py", line 214, in call_plugin
return func(*args, **kwargs)
File "/usr/local/lib/python3.5/dist-packages/skimage/io/_plugins/pil_plugin.py", line 36, in imread
im = Image.open(f)
File "/usr/lib/python3/dist-packages/PIL/Image.py", line 2295, in open
% (filename if filename else fp))
OSError: cannot identify image file <_io.BufferedReader name='/home/jim/data/VOCdevkit/VOC0712/lmdb/VOC0712_trainval_lmdb/lock.mdb'>
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Error Message Tool | Alteryx Help
One Tool Example Use Error Message to display an error message for an app or macro based on criteria in an expression. If...
Read more >How to troubleshoot an error when you run the Microsoft ...
To do this, follow these steps: On the computer where you ran the Microsoft Windows Malicious Software Removal Tool, click Start, click Run,...
Read more >Exceptions and debugging - Advanced R. - Hadley Wickham
The most useful tool to determine where a error occurred is traceback() . Or use RStudio, which displays it automatically where an error...
Read more >Use Uninstall Tool to fix error from Trend Micro on Windows
Use our guide to know on how to use the Uninstall Tool if you are having issues installing the Trend Micro program on...
Read more >Medication Errors | AMCP.org
Patients are often unaware that errors can happen and often do not take an active ... Pharmacists use the record as a tool...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ok. I see. Thanks a lot!
This tool is just statistics the distribution of activations.