question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

error happens when use this tool

See original GitHub issue

I 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:closed
  • Created 5 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
jimchen2018commented, Jul 20, 2018

Ok. I see. Thanks a lot!

0reactions
BUG1989commented, Jul 20, 2018

This tool is just statistics the distribution of activations.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found