shenouda
-
Content Count
7 -
Joined
-
Last visited
Posts posted by shenouda
-
-
Is there a way to run more rknn inferences in parallel on the npu? If yes how?
-
thank you @tooz
I have tried running your code but then I get either A full buffer was not returned. Try again. or DHT sensor not found, check wiring ?
the wiring seems to be right.
-
On 2/2/2023 at 7:49 AM, tooz said:hello @shenouda,
have you tried adafruit dht circuit library? adafruit/Adafruit_CircuitPython_DHT: CircuitPython support for DHT11 and DHT22 type temperature/humidity devices (github.com)
dht22 requires 3 pin connectors (vcc, gnd and gpio), you can use it on tinker edge r
to install the package:
pip3 install adafruit-circuitpython-dht --user
details can be found here: https://github.com/adafruit/Adafruit_CircuitPython_DHT#readme
Hi @tooz thank you for your reply.
when I try to do import board i get the following error:
NotImplementedError: Adafruit-PlatformDetect version 3.40.2 was unable to identify the board and/or microcontroller running the Linux platform. Please be sure you have the latest packages running: 'pip3 install --upgrade adafruit-blinka adafruit-platformdetect'
i tried running 'pip3 install --upgrade adafruit-blinka adafruit-platformdetect' but still getting the same error. Do you have any suggestion?
-
-
I can't find a compatible library to read temperature and humidity from dht sensor in python..
-
Hi I am new to this forum. I am trying to use python-periphery library to use the pins on the board.
if I do :
from periphery import GPIO
gpio3 = GPIO(3,"in")
I get the following error:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/dist-packages/periphery/gpio.py", line 1017, in _open
with open("/sys/class/gpio/export", "w") as f_export:
PermissionError: [Errno 13] Permission denied: '/sys/class/gpio/export'During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/linaro/Desktop/temp_hum.py", line 7, in <module>
gpio3 = GPIO(3,"in")
File "/usr/local/lib/python3.7/dist-packages/periphery/gpio.py", line 999, in __init__
self._open(line, direction)
File "/usr/local/lib/python3.7/dist-packages/periphery/gpio.py", line 1020, in _open
raise GPIOError(e.errno, "Exporting GPIO: " + e.strerror)
periphery.gpio.GPIOError: [Errno 13] Exporting GPIO: Permission deniedAny Idea how to solve this?
yolov8
in Software
Posted
is it possible to convert a yolov8 model to rknn? or it is not supported on rk3399pro? i know it is possible to convert yolov5 but not sure about yolov8