Closed kaman86 closed 4 years ago
Hi, I have made a change which should fix this issue. Please do a git pull
and try again. If the issue persists, let me know.
Thanks for updating. Looks like one last error with missing directory, not sure why it is referencing a jetsontx2 file if i'm using the raspi3.
2020-11-29 11:17:41.953018: E tensorflow/core/platform/hadoop/hadoop_file_system.cc:132] HadoopFileSystem load error: libhdfs.so: cannot open shared object file: No such file or directory
Traceback (most recent call last):
File "jetsontx2/tx2_surveillance.py", line 12, in <module>
import tensorflow.contrib.tensorrt as trt
ModuleNotFoundError: No module named 'tensorflow.contrib'
In the launch.sh script, please change the DEVICE variable to raspi3 from jetsontx2
Okay I did that, after I pulled it reset the device.
Now when I try, it shows activity in log file, received and email of alert, had to grant access from my gmail account. I then reran launch.sh, and now get out of resource and did not receive another email or motion detection.
On Sun, Nov 29, 2020 at 3:33 PM Jaiyam Sharma notifications@github.com wrote:
In the launch.sh script, please change the DEVICE variable to raspi3 from jetsontx2
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/dataplayer12/homesecurity/issues/17#issuecomment-735456895, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIGU5IXIRBUGI7WSYHJDAHLSSK4ZLANCNFSM4UF3T3DQ .
Okay working now. Had to enable access from google, as well as update firmware. Working like a charm now! Thank you
Great that it works now. Good luck!
I have been installing and updating dependencies on my rasberry pi, when I run the project ($ ./launch.sh), I get the following messages in the log file. Can you please share ideas on how to resolve? Thanks in advance
`2020-11-28 20:46:43.196164: E tensorflow/core/platform/hadoop/hadoop_file_system.cc:132] HadoopFileSystem load error: libhdfs.so: cannot open shared object file: No such file or directory
Traceback (most recent call last):
File "raspi3/securitycam.py", line 10, in
from file_manager import FileManagerThread, FileCleanerThread, counter
File "/home/pi/projects/homesecurity/raspi3/file_manager.py", line 6, in
import human_detect as hd
File "/home/pi/projects/homesecurity/raspi3/human_detect.py", line 62, in
odapi = DetectorAPI(path_to_ckpt=model_path)
File "/home/pi/projects/homesecurity/raspi3/human_detect.py", line 18, in init serialized_graph = fid.read()
File "/home/pi/.local/lib/python3.7/site-packages/tensorflow_core/python/lib/io/file_io.py", line 122, in read self._preread_check()
File "/home/pi/.local/lib/python3.7/site-packages/tensorflow_core/python/lib/io/file_io.py", line 84, in _preread_check compat.as_bytes(self.__name), 1024 * 512) tensorflow.python.framework.errors_impl.NotFoundError: ssd_mobilenet_v1_coco_2017_11_17/frozen_inference_graph.pb; No such file or directory`