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

Extend base config for stream example #7

Merged
merged 1 commit into from Jan 25, 2021
Merged

Extend base config for stream example #7

merged 1 commit into from Jan 25, 2021

Conversation

edalquist
Copy link
Contributor

I cloned the example stream config and then get errors like the following

(argos-venv) edalquist@argos:~/argos$ python stream.py --ip 0.0.0.0 --port 8080 --config configs.driveway_stream
INFO:__main__:package import START
INFO:__main__:package import END
INFO:notifier:mqtt init
INFO:__main__:flask init..
INFO:__main__:start reading video file
INFO:__main__:TFObjectDetector init START
 * Serving Flask app "stream" (lazy loading)
 * Environment: production
   WARNING: This is a development server. Do not use it in a production deployment.
   Use a production WSGI server instead.
 * Debug mode: off
INFO:werkzeug: * Running on http://0.0.0.0:8080/ (Press CTRL+C to quit)
INFO:input.rtmpstream:rtmp capture init START
2021-01-24 22:11:31.078193: W tensorflow/stream_executor/platform/default/dso_loader.cc:60] Could not load dynamic library 'libcudart.so.11.0'; dlerror: libcudart.so.11.0: cannot open shared object file: No such file or directory
2021-01-24 22:11:31.078223: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
INFO:detection.door_detect:stateHistory: []
INFO:detection.door_detect:stateHistory: []
INFO:input.rtmpstream:rtmp capture init END
INFO:__main__:TFObjectDetector init END
INFO:__main__:detect_objects init..
INFO:detection.door_detect:door state changed: DoorStates.DOOR_CLOSED
INFO:detection.door_detect:motion state changed: MotionStates.NO_MOTION
INFO:__main__:od=0.00/md=0.00/st=0.00 fps
INFO:lib.ha_mqtt:mqttPublish: MotionStates.NO_MOTION
INFO:werkzeug:192.168.0.233 - - [24/Jan/2021 22:11:33] "GET /image HTTP/1.1" 200 -
INFO:detection.door_detect:stateHistory: [DoorStates.DOOR_CLOSED[1], MotionStates.NO_MOTION[1]]
Exception in thread Thread-13:
Traceback (most recent call last):
  File "/usr/lib/python3.7/threading.py", line 926, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.7/threading.py", line 870, in run
    self._target(*self._args, **self._kwargs)
  File "stream.py", line 92, in detect_objects
    output_frame, crop, motion_outside = self.motion_detector.detect(output_frame)
  File "/home/edalquist/argos/detection/motion_detector.py", line 65, in detect
    if self.config.md_enable_erode:
AttributeError: 'Config' object has no attribute 'md_enable_erode'

@angadsingh angadsingh merged commit 6c1295c into angadsingh:main Jan 25, 2021
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

Successfully merging this pull request may close these issues.

None yet

2 participants