Is there a fix to get this working? Please let me know.I appear to be getting the same message. I am running DS on Hass.io Any suggestions on resolving this issue?
[10.05.2020, 18:31:09.010]: Starting analysis of D:\aiinput/SD_F_Side.20200510_183108971.jpg
[10.05.2020, 18:31:09.020]: (1/6) Uploading image to DeepQuestAI Server
[10.05.2020, 18:31:09.036]: (2/6) Waiting for results
[10.05.2020, 18:31:09.050]: (3/6) Processing results:
[10.05.2020, 18:31:09.070]: System.NullReferenceException | Object reference not set to an instance of an object. (code: -2147467261 )
[10.05.2020, 18:31:09.084]: ERROR: Processing the following image 'D:\aiinput/SD_F_Side.20200510_183108971.jpg' failed. Failure in AI Tool processing the image.
Is there a fix to get this working? Please let me know.
Thanks
Andy
I have AI Tool running on a VM windows 10 machine. I have deepstack running off a VM for hassio. I can try downloading AI Tool again and reconfigure it.Sorry, I’m not sure what to have you try here. What OS are you running AI Tool on? I’ve only ran Deepstack on Windows and Ubuntu. This sounds like an issue with AI Tool possibly. Have you tried setting up AI Tool on another machine to see if you get the same error?
Sent from my iPhone using Tapatalk
I had this same issue that a few people have been having running in a VM in Proxmox, actually 2 VMs - the Linux one I use for Docker and then the Windows one I use for Blue Iris. I finally figured it out. It is because the default processor type for VMs is kvm64 which does not have support for Advanced Vector Extensions (AVX) or the SSE instruction set. The deepquestai/deepstack docker image uses AVX so the image processing was failing. I only noticed because there is a noavx tagged deepstack image in the docker hub. Since my processor (Ivy Bridge) does support AVX I stopped the VMs and updated the config of the processor type in proxmox to Ivy Bridge and deepstack works now. I believe using the "host" processor type would have the same result (so long as your processor can support AVX). This would also explain TechNight's LXC working because LXCs use the host CPU directly rather than a virtual processor layer.
Yes, you might be right about the Celeron. Thanks for your input. I know for a fact that the i7 has it, and I'm pretty sure the i5 has it. The Celeron (running noavx) takes roughly 6 seconds for each image, but can not hang on for long if there are more than 4-5 images in the queue. Right now I'm testing the windows version set on high on the i7 (but I believe it might not be using the gpu). Total response time is fairly fast. Will test some more. I'm especially hoping to improve detection at night by setting deepstack to HIGH. I'm very impressed with what it does in daylight, but a bit disappointed with images at night. I have inceased the contrast on the cameras, but detection is still below 50%.@morten67, I'm not sure that the Celeron processors have AVX. The wiki I found on AVX said that most Pentium and Celeron brand CPU's lacked it and Core CPU's include it. I don't know if that's accurate or not as the Intel pages I checked don't mention AVX. I can confirm that I was unable to get the AVX version of DS to run on my QNAP NAS with a Celeron N3060. I did get it to run without AVX, but it was way too slow to be useful.
If anyone has gotten Deepstack to work without the API-key-field on the web-page, I'd like to know more about what kind of linux installation used. Right now I'm using this benchmark to see if an installation will function, and I might be wrong here, and would need to test more before rejecting the installation as "not workin".
I was running Deep Stack on my HP Z420 with a Xeon E5-2960 V2 with 10 cores (20 cores with Hyper Threading) which also runs 15 cameras in BI, Home Assistant (using VMware Workstation) and a pfSense VM (also in VMware Workstation) to terminate an IPsec VPN tunnel for work and it was too much for the CPU to handle after adding on 3 additional cameras. I ended up reviving an old Dell PowerEdge 2950 with two quad core CPU's that I had sitting in my basement to run Deep Stack. I am running Ubuntu on it with Docker with the noavx tag as the CPU's don't support AVX. I am running in a RAID 5 config and I typically get less than a 2 second response time on the Deep Stack side. My plan is to buy another HP Z420 to run Deep Stack duty to replace the PowerEdge 2950. Overall this solution is far superior to Sentry. After creating masks in AI Tool and tweaking the confidence levels for each camera, I have about a 98% success rate on alerts, even at night.It's working for me with not tags specified. when i added the gpu tag it worked for a while then suddenly stopped working after a day or two. i've never seen the api key field on the webpage and up until now wondered what the web page was even for at that point.
i am running it in unraid
It's working for me with not tags specified. when i added the gpu tag it worked for a while then suddenly stopped working after a day or two. i've never seen the api key field on the webpage and up until now wondered what the web page was even for at that point.
i am running it in unraid
My only issue with deepstack was one of the tutorials (deepstack.cc installation for linux) listed this as the run command:
docker run -e VISION-SCENE=True -v localstorage:/datastore -p 80:5000 deepquestai/deepstack
and I didn't initially notice that I needed VISION-DETECTION=True
If anyone has gotten Deepstack to work without the API-key-field on the web-page, I'd like to know more about what kind of linux installation used. Right now I'm using this benchmark to see if an installation will function, and I might be wrong here, and would need to test more before rejecting the installation as "not workin".
Thanks in advance for any feed-back.
I was running Deep Stack on my HP Z420 with a Xeon E5-2960 V2 with 10 cores (20 cores with Hyper Threading) which also runs 15 cameras in BI, Home Assistant (using VMware Workstation) and a pfSense VM (also in VMware Workstation) to terminate an IPsec VPN tunnel for work and it was too much for the CPU to handle after adding on 3 additional cameras. I ended up reviving an old Dell PowerEdge 2950 with two quad core CPU's that I had sitting in my basement to run Deep Stack. I am running Ubuntu on it with Docker with the noavx tag as the CPU's don't support AVX. I am running in a RAID 5 config and I typically get less than a 2 second response time on the Deep Stack side. My plan is to buy another HP Z420 to run Deep Stack duty to replace the PowerEdge 2950. Overall this solution is far superior to Sentry. After creating masks in AI Tool and tweaking the confidence levels for each camera, I have about a 98% success rate on alerts, even at night.
I was seeing very poor detection performance at night just like @morten67 above. I have my confidence interval set from 10% - 100%. I'd still say it misses on over half my front door triggers, but is almost perfect in daylight. Do you have any other pointers on getting night detection to work better or is the contrast / overhead angle of my camera just bad for night detection?
I ended up setting up a day and night profile in Blue Iris for now. The day profile takes the screenshots that are processed by deepstack, while after sunset the night profile falls back on my old motion sensor trigger settings. This fixed most of my false alerts (shadows from trees) but I do still get the occasional spiderweb in front of a camera at night causing it to record almost all night long.
Mostly missed completely (false alerts), although a couple where it identified me as a dog (40%). I had only set up my front door camera (DS-2CD2342WD-I) before which is mounted above and to the left of the porch so not as much contrast in night view between people and the ground I guess. I just now set up my garage camera (DS-2CD2343G0-I) with deepstack and it seems to work great even in night mode. The IR image is much better in the garage I think, and the substream feed for that camera is 640x480 instead of 640x360 for the front door.Full disclosure, the majority of my cameras run in forced color mode at night, so this may be why I get better success with alerts at night.
When you look in AI Tool for missed events at night, are they showing as false alerts or is Deepstack detecting people as different objects?
Sent from my iPhone using Tapatalk