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

TensorFlow Lite runtime does not exit cleanly with a ^C #26

Open
TCIII opened this issue Apr 11, 2020 · 0 comments
Open

TensorFlow Lite runtime does not exit cleanly with a ^C #26

TCIII opened this issue Apr 11, 2020 · 0 comments

Comments

@TCIII
Copy link

TCIII commented Apr 11, 2020

  • rpi-deep-pantilt version: 1.1.0
  • Python version: 3.7
  • TensorFlow version: 2.0.2
  • Operating System: Raspbian Buster Desktop

Description

TensorFlow Lite runtime does not exit cleanly with a ^C

What I Did

Exit rpi-deep-pantilt detect with a ^C

INFO: Initialized TensorFlow Lite runtime.
^CException in thread Thread-2:
Traceback (most recent call last):
  File "/usr/lib/python3.7/threading.py", line 917, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.7/threading.py", line 865, in run
    self._target(*self._args, **self._kwargs)
  File "/home/pi/rpi-deep-pantilt/.venv/lib/python3.7/site-packages/rpi_deep_pantilt/detect/camera.py", line 81, in render_overlay
    self.overlay.update(self.overlay_buff)
  File "/home/pi/rpi-deep-pantilt/.venv/lib/python3.7/site-packages/picamera/renderers.py", line 447, in update
    buf = self.renderer.inputs[0].get_buffer()
  File "/home/pi/rpi-deep-pantilt/.venv/lib/python3.7/site-packages/picamera/mmalobj.py", line 1141, in get_buffer
    'cannot get buffer from disabled port %s' % self.name)
picamera.exc.PiCameraPortDisabled: cannot get buffer from disabled port vc.ril.video_render:in:0: Argument is invalid

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