-
Notifications
You must be signed in to change notification settings - Fork 96
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
System.NullReferenceException #40
Comments
Try my fork of the AI Tool: https://github.com/VorlonCD/bi-aidetection/releases |
I am getting the same code. code: -2147467261 - running deepstack noavx Log from Deepstack From AI |
-e VISION-SCENE=True -e VISION-DETECTION=True Add to your Docker Start up. Was Missing the Detection Piece. |
I’ve been having the same problem/error code with my set up. Turns out I had a “true” instead of a “True” in the VISION-DETECTION Env in portainer. |
This error seems to be due to the lack of a null object trap on response.predictions before line 246 in Shell.cs. Although I have not spent more than 5 mins looking at the code and deepstack API examples, it seems that if there are no objects detected in a picture, the response would be NULL or an empty JSON object, which the code does not account for prior to the FOR / EACH loop. I may be wrong, but hopefully it points in the right direction. The deepstack API does not seem to be well documented / published, only examples given, so hard to say for sure. After a little more testing, and adding the VISION-SCENE=True environment variable to docker, the error seems to have gone away, but I think the reason, is that when VISION-SCENE is enabled, you never get a empty object returned, as there is always some type of scene in front of the camera, but the object is discarded / ignored as it is not one of the AI Tools standard relavent object types... |
Same issue. However, I had true instead of a capitalized, True Good luck! I'm up and running! |
I'd installed version 1.67 of this lovely tools on my windows 10 Blue Iris Machine but i'm unable to use it.
In the log i only sse this error
Deepstack is installed on a linux machime using docker and, with demo code, works like a charms.
Can you help me ?
The text was updated successfully, but these errors were encountered: