IP Cam Talk Custom Community DeepStack Model

MikeLud1

IPCT Contributor
Joined
Apr 5, 2017
Messages
2,205
Reaction score
4,244
Location
Brooklyn, NY
I JUST ordered it yesterday so I should see it before the weekend. I'm still getting all of my necessary alerts, it's just taking a lot more of out my CPU than I expected. Just recently I got an 8654ms process time...I've attached a screenshot for referance.
The DeepStack CPU version is very intensive and needs a lot of CPU resources. Turn on Save DeepStack analysis details and post a screenshot of the details
1642028728102.png
 

randylight

Young grasshopper
Joined
Jan 10, 2022
Messages
34
Reaction score
16
Location
Michigan
The DeepStack CPU version is very intensive and needs a lot of CPU resources. Turn on Save DeepStack analysis details and post a screenshot of the details
View attachment 115359
Will do. Also, I've seen people recommend to check "limit decoding unless required" but it seems to make the UI slower. What do you think about checking that box?
 

Attachments

sebastiantombs

Known around here
Joined
Dec 28, 2019
Messages
11,511
Reaction score
27,691
Location
New Jersey
My typical settings, even when I tried the CPU version, have been a maximum of 20 images and I generally use a 250ms timing. It is camera/view dependent and exactly what I'm trying to detect, but 999 is far too many and will keep the CPU churning far too long. Then, if another camera triggers with similar settings, 999 images, it will only get worse. How many cameras are you using DS with?
 

randylight

Young grasshopper
Joined
Jan 10, 2022
Messages
34
Reaction score
16
Location
Michigan
My typical settings, even when I tried the CPU version, have been a maximum of 20 images and I generally use a 250ms timing. It is camera/view dependent and exactly what I'm trying to detect, but 999 is far too many and will keep the CPU churning far too long. Then, if another camera triggers with similar settings, 999 images, it will only get worse. How many cameras are you using DS with?
I only have 2 - 5MP Amcrest cameras which is why this doesn't make sense to me. I've only had them for a week but, based on what I've read on these forums, I should not be seeing that much utilization. I hear of people having 20-30 cameras and it works just fine with 500ms process times.
 

MikeLud1

IPCT Contributor
Joined
Apr 5, 2017
Messages
2,205
Reaction score
4,244
Location
Brooklyn, NY
When I analyze it like this it always does fine. My CPU still jumps straight to 10% but the times are reasonable.
You still did not do the below setting, you are running 3 models. When is you CPU jumping up to 100%? If it is only when you are getting an alert, that is normal for the CPU version of DeepStack
1642035108324.png
 

sebastiantombs

Known around here
Joined
Dec 28, 2019
Messages
11,511
Reaction score
27,691
Location
New Jersey
I see a rise in detection times at night because I use two models, combined and dark. During the day I only use combined. This is a situation where the KISS principle applies. As Mike said use "objects:0,combined" and maybe one other model. Three is pushing things yet again.
 

randylight

Young grasshopper
Joined
Jan 10, 2022
Messages
34
Reaction score
16
Location
Michigan
I see a rise in detection times at night because I use two models, combined and dark. During the day I only use combined. This is a situation where the KISS principle applies. As Mike said use "objects:0,combined" and maybe one other model. Three is pushing things yet again.
I changed that setting a couple of hours ago so that shouldn't be the issue. And yes, it jumps up only when I'm getting an alert. If that's normal then I guess we're good.
 

Attachments

105437

BIT Beta Team
Joined
Jun 8, 2015
Messages
2,029
Reaction score
926
I don’t understand how that’s still like that. Is there something wrong with these settings?

View attachment 115382
"Analyze with Deepstack" doesn't use the "Custom models" setting. You'll need to remove the custom models not in use from the "My models" folder. Once you do that, they won't show up in the analysis. Your settings are okay, you can check the log file to confirm it's only using the combined model.
 

sebastiantombs

Known around here
Joined
Dec 28, 2019
Messages
11,511
Reaction score
27,691
Location
New Jersey
Analyze with Deepstack is not the same as normal analysis of a clip, either. You need to look at the .dat file to see what actually happens in each clip. Analysis will show everything Deepstack can possibly identify, as well as what real time analysis is set for.
 

randylight

Young grasshopper
Joined
Jan 10, 2022
Messages
34
Reaction score
16
Location
Michigan
Analyze with Deepstack is not the same as normal analysis of a clip, either. You need to look at the .dat file to see what actually happens in each clip. Analysis will show everything Deepstack can possibly identify, as well as what real time analysis is set for.
Okay, cool. Is there a specific location the DAT files are saved? I didn’t see an option to map a custom location. I really appreciate your help on this. Hopefully my 2060 helps out.
 

sebastiantombs

Known around here
Joined
Dec 28, 2019
Messages
11,511
Reaction score
27,691
Location
New Jersey
The 2060 will make a night and day difference. I'm using an old GTX970 and getting ~50ms detection times with the combined model. Detection times at night are >250ms with combined and dark.
 

randylight

Young grasshopper
Joined
Jan 10, 2022
Messages
34
Reaction score
16
Location
Michigan
The 2060 will make a night and day difference. I'm using an old GTX970 and getting ~50ms detection times with the combined model. Detection times at night are >250ms with combined and dark.
That's awesome. How many cameras do you have? And where did you get the night model? I only saw the three on the original post.
 
Top