Replies: 10 comments 10 replies
-
Are OpenCL, VA-API or CUDA needed when there is an Coral USB device available? ************************ UID/GID ************************* |
Beta Was this translation helpful? Give feedback.
-
Try to use dmesg command in host system after error. |
Beta Was this translation helpful? Give feedback.
-
Thanks
It appears that coreumpctl is not available to me (command not found).
I tried running Viseron with one other the other sections enable (not both at once):
1) If I enable this section in the config file:
edgetpu:
object_detector:
cameras:
camera_1:
fps: 2
labels:
- label: person
confidence: 0.8
trigger_recorder: true
image_classification:
device: usb
I see this with dmesg
traps: python3[25986] trap invalid opcode ip:1513f0e1a90c sp:1513f1b18bb0 error:0 in _pywrap_tensorflow_interpreter_wrapper.cpython-38-x86_64-linux-gnu.so[1513f0e00000+361000]
2) If I enable this section of the config file:
darknet:
object_detector:
cameras:
camera_1: # Attach detector to the configured camera_1 above
fps: 5
scan_on_motion_only: true # Scan for objects even when there is no motion
log_all_objects: false
labels:
- label: person
confidence: 0.75
trigger_recorder: true
I see this with dmesg
traps: python3[17699] trap invalid opcode ip:14c790b1d049 sp:14c77e7f7870 error:0 in libopenvino_intel_cpu_plugin.so[14c79016a000+271c000]
Regards,
Steve
If you have received this message in error, please reply to this email to notify the sender of its incorrect delivery, then delete both it and your reply. Thank you.
… On 30 Dec 2023, at 9:46 am, Boris ***@***.***> wrote:
Try to use dmesg command in host system after error.
Unraid is just Linux with systemd, so coredumpctl can help too.
—
Reply to this email directly, view it on GitHub <#690 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ALJPPFEUOGWTKJRUJM3QTDTYL5B4NAVCNFSM6AAAAABAJANK72VHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TSNZWGEZTC>.
You are receiving this because you authored the thread.
|
Beta Was this translation helpful? Give feedback.
-
I had a similar problem with dlib on an AMD fm2 cpu. Rebuilding dlib solved the problem. |
Beta Was this translation helpful? Give feedback.
-
Also, you can try https://viseron.netlify.app/components-explorer/components/codeprojectai as object detector. |
Beta Was this translation helpful? Give feedback.
-
Thanks,
If I enable this section of the config file:
codeprojectai:
host: 192.168.139.118
port: 32168
object_detector:
cameras:
camera_1:
fps: 1
log_all_objects: true
labels:
- label: person
confidence: 0.8
trigger_recorder: true
I see this with dmesg
traps: python3[13462] trap invalid opcode ip:14e3a3477cde sp:14e3c1d83910 error:0 in _dlib_pybind11.cpython-38-x86_64-linux-gnu.so[14e3a3446000+849000]
Looks like I will need to try and figure out how to try to build container directly on my Unraid machine...
… On 31 Dec 2023, at 2:39 am, Boris ***@***.***> wrote:
Also, you can try https://viseron.netlify.app/components-explorer/components/codeprojectai as object detector.
—
Reply to this email directly, view it on GitHub <#690 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ALJPPFEBEBLP7RIFYBOZQX3YMAYSJAVCNFSM6AAAAABAJANK72VHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TSNZZGI4DQ>.
You are receiving this because you authored the thread.
|
Beta Was this translation helpful? Give feedback.
-
Thanks
I’ll give that a try, all I need to do is convert that into something that Unraid and it’s Docker understands (not sure what the package manager is for Unraid)…
Steve
… On 31 Dec 2023, at 9:17 pm, Boris ***@***.***> wrote:
This is exactly the error I wrote about above.
I use this hack to solve it:
My Dockerfile looks like this:
FROM roflcoopter/amd64-cuda-viseron:dev
RUN apt-get -y update && apt-get install -y build-essential cmake python3-dev
RUN pip install --force-reinstall dlib
docker-compose.yml changes to use this Dockerfile:
viseron:
# image: roflcoopter/amd64-cuda-viseron:dev
build: .
It rebuilds Dlib inplace.
You may need to use non cuda image.
—
Reply to this email directly, view it on GitHub <#690 (reply in thread)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ALJPPFFDIRBQEKANHNBIWBDYME3SDAVCNFSM6AAAAABAJANK72VHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TSOBSGUZTC>.
You are receiving this because you authored the thread.
|
Beta Was this translation helpful? Give feedback.
-
Unraid has an Apps Ui where you download the the app you want and then a Docker web UI where you configure and run the app…
I’ve had a look on Unraid and apt-get, cmake pip are all an unknown command.
I’m starting to think I should move Viseron over to a Raspberry Pi with Docker...
Thanks and Regards,
Steve
If you have received this message in error, please reply to this email to notify the sender of its incorrect delivery, then delete both it and your reply. Thank you.
… On 31 Dec 2023, at 10:26 pm, Boris ***@***.***> wrote:
How do you run viseron now? docker-compose up? docker run command? Some web ui?
—
Reply to this email directly, view it on GitHub <#690 (reply in thread)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ALJPPFA4YA54FK4W6ROOCK3YMFDWXAVCNFSM6AAAAABAJANK72VHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TSOBSHA3TE>.
You are receiving this because you authored the thread.
|
Beta Was this translation helpful? Give feedback.
-
What CPU is your host running on? @bsyomov thank you for chiming in! |
Beta Was this translation helpful? Give feedback.
-
AMD Athlon(tm) 64 X2 Dual Core Processor 5200
Steve
If you have received this message in error, please reply to this email to notify the sender of its incorrect delivery, then delete both it and your reply. Thank you.
… On 2 Jan 2024, at 2:16 am, Jesper ***@***.***> wrote:
What CPU is your host running on?
@bsyomov <https://github.com/bsyomov> thank you for chiming in!
—
Reply to this email directly, view it on GitHub <#690 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ALJPPFHNIMWEA2R4L3BD4F3YMLHORAVCNFSM6AAAAABAJANK72VHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TSOBXG42TI>.
You are receiving this because you authored the thread.
|
Beta Was this translation helpful? Give feedback.
-
I'm running Viseron in Docker on an Unraid installation and the motion detection works fine, but if I enable object detection I get exit code 256...
Is the CPU too old for this?
[2023-12-06 19:40:55] [INFO ] [viseron.components] - Setup of component webserver took 0.0 seconds
[2023-12-06 19:40:55] [INFO ] [viseron.components] - Setting up component nvr
[2023-12-06 19:40:55] [INFO ] [viseron.components] - Setting up component edgetpu
[2023-12-06 19:40:55] [INFO ] [viseron.components] - Setup of component nvr took 0.0 seconds
[2023-12-06 19:40:55] [INFO ] [viseron.components] - Setting up component mog2
[2023-12-06 19:40:55] [INFO ] [viseron.components] - Setting up component ffmpeg
[viseron-finish] Viseron exit code 256
[viseron-finish] Viseron received signal 4
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting.
Beta Was this translation helpful? Give feedback.
All reactions