Issues with Action Recognition Demo

Issues with Action Recognition Demo

I'm trying to launch the Action Recognition Demo on an IoT Tank (OpenVINO version 2019_R1) but get the following error:

Initializing plugin for CPU device...
Reading IR...
Loading IR to the plugin...
Reading IR...
Loading IR to the plugin...
To close the application, press 'CTRL+C' or any key with focus on the output window
finishing <action_recognition_demo.steps.RenderStep object at 0x7f78cf2dc7b8>
Traceback (most recent call last):
  File "demo.py", line 98, in <module>
    sys.exit(main() or 0)
  File "demo.py", line 94, in main
    video_demo(encoder, decoder, videos, args.fps, labels)
  File "demo.py", line 18, in video_demo
    run_pipeline(videos, encoder, decoder, result_presenter.render_frame, fps=fps)
  File "/home/tank/open_model_zoo/demos/python_demos/action_recognition/action_recognition_demo/steps.py", line 23, in run_pipeline
    pipeline.print_statistics()
  File "/home/tank/open_model_zoo/demos/python_demos/action_recognition/action_recognition_demo/pipeline.py", line 129, in print_statistics
    print("{} total: {}".format(name, step.total_time))
  File "/home/tank/open_model_zoo/demos/python_demos/action_recognition/action_recognition_demo/timer.py", line 47, in __repr__
    return "{:.2f}ms (±{:.2f}) {:.2f}fps".format(self.avg, self.std, self.fps)
  File "/home/tank/open_model_zoo/demos/python_demos/action_recognition/action_recognition_demo/timer.py", line 34, in avg
    return self.total_ms / (self._times)
ZeroDivisionError: division by zero
 

How do I fix this?

Thanks!

2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Dear Pando, Sofia ,

Are you certain you're passing in all the required arguments ? Please study The Action Recognition Demo Doc including the example command-line.

Also, please try powering down your ioT tank and powering back up.

Finally,  is it possible to upgrade to 2019R2 on your tank ? If so, you should - 2019R2 has many improvements.

Thanks,

Shubha

Leave a Comment

Please sign in to add a comment. Not a member? Join today