Frigate+ Base Model 2024.1 Update #11106
Replies: 43 comments 89 replies
-
Very excited to try the new model, there has been one plant in particular out the front of my home that supposedly looks exceptionally human 😅 |
Beta Was this translation helpful? Give feedback.
-
Hello , Sorry for the questions, thank you very much for all your work! I can't wait to try it out! |
Beta Was this translation helpful? Give feedback.
-
Very excited to try this, really appreciate the hard work you put into this. I'll provide feedback over the next week :) |
Beta Was this translation helpful? Give feedback.
-
I’ve been eagerly awaiting this, 2024.0 was great and set a high bar. Just got my 2024.1 completed and configured in and super keen to see how it fares. edit: I’d love to see a write up / summary of what changes you made to training sample selection this time. |
Beta Was this translation helpful? Give feedback.
-
I'm wondering how we could get false positive statistics for our own data - like you summarised in your intro. |
Beta Was this translation helpful? Give feedback.
-
Honestly I was very underwhelmed by my first model using 2024.0, even after tuning it wasn't a lot better. |
Beta Was this translation helpful? Give feedback.
-
Tried my first + model, its not working. I get this in the logs: 2024-04-26 03:19:54.587111853 Process detector:ov: |
Beta Was this translation helpful? Give feedback.
-
I have statues of lions on my gate pillars, which are often mistaken for either a person or a dog. (Interestingly, they are almost never mistaken for a cat.) From the camera's perspective, people almost always walk behind the statues. You mentioned that to reduce false positives, we should submit true positives in that area along with the false positives. Now, if a person walks behind one of these statues and I submit it as a true positive with the statue overlapping the person, would that confuse the model? |
Beta Was this translation helpful? Give feedback.
-
So in this circumstance where the Frigate+ identified box is too big should we mark this not a package and draw a tighter bounding box? |
Beta Was this translation helpful? Give feedback.
-
So my initial results are that false positives are indeed way down, but false negatives are up as well (which is obviously a bit of a bigger deal). This might be because I hiked up my min score on the previous model, so I'm gonna try to reduce that and see how it goes. The camera with the most notable negative impact in my sole newer (to me) fisheye camera.... its detecting near nothing now. I don't have a whole lot of training on it either, so I'll have to see if I can drop the minimums pretty low and start training it. I do have it using the raw stream, with no de-warping, so I don't know if that is a proper goal or if there should be a different model for this unusual camera format? I just didn't want to create multiple additional streams as I have so many cameras already, and I'm near the limit of what my hardware can support without more RAM. |
Beta Was this translation helpful? Give feedback.
-
Looking pretty good so far with the new model. Still some false positives and misidentifications here and there, but the false positives have been noticeably reduced, making it much easier to scroll back through events. The only identification that doesn't seem to have been reduced is deer, but most of those are relatively low confidence, I'll just set the minimum higher. The stationary object tracking seems to be working much better for me with parked cars. It was losing the car-ness of parked cars many times a day previously, now it's pretty solid. I frequently have two cars that overlap from the camera's perspective, I could watch the detection going nuts hopping back and forth between which one of them was a car and which wasn't. I did notice one particular type of new false positive showing up. One of my cameras can see the street through some (sparse) tree branches. I've been submitting plenty of true positives of cars driving by seen through the branches, Frigate has been doing a fine job of catching those. Now it seems I've trained this new model that cars, and branches blowing in the wind, are cars. I'm submitting those false positives now, hopefully it'll go back to normal with the next model I train. I think my biggest remaining problem model-wise is that squirrels and foxes are always running by firing off a confident stream of "cat - dog - cat - dog - cat - dog" events. |
Beta Was this translation helpful? Give feedback.
-
Thanks for your excellent work!! One question, I've submitted some images with dog labels from different cameras, day/night etc but my frigate is not detecting any since I started using this custom models. Should I keep uploading and labeling dog images? I've lowered the score for dogs to 40-50% and even like this no detections. Thanks. |
Beta Was this translation helpful? Give feedback.
-
At risk of resurrecting a horse to beat; was a list of labels for future models firmed up? I'm keeping my raised vegetable gardens squirrel free with homeassistant, a smart plug and powered water valve to spray them if frigate detects them in frame. Currently the squirrels are detected as birds, so I am hesitant to update the model without a squirrel tag or something to keep this working as it is currently. Not a complaint in any way, this project is great and all your hard work is very appreciated. 🥇 |
Beta Was this translation helpful? Give feedback.
-
I'm seeing (subjectively) a huge drop in false postives particularly at night. I'm also seeing a small number of new false positives (new in new places). So I guess this is 10 steps forward and 1 back. Brilliant. |
Beta Was this translation helpful? Give feedback.
-
Regarding face detection, I've added face as object:track and added
shouldn't that do the trick? |
Beta Was this translation helpful? Give feedback.
-
Hello, is the release date of the version 2024.2 known? |
Beta Was this translation helpful? Give feedback.
-
Anyone noticed a reduction in inference speed? I just moved away from the OV detector to the Coral detector. The inference with the original model with the Coral detector is 9ms, but with the Plus 2024.1, it's around 140ms. Is it expected? I remember reading somewhere that the Plus models would be more lightweight. |
Beta Was this translation helpful? Give feedback.
-
Can you run different models against different cameras on the same frigate instance? Reason I ask is the Frigate+ Model does not have "Boat" and I have one camera that faces water and like to get notified when a boat is going by. I get that is not a focused object but if i could run the base model on that one camera and then the Frigate+ on all my others would be great. |
Beta Was this translation helpful? Give feedback.
-
@blakeblackshear: If you were to guess, when would you be generating Frigate+ Base Model 2024.2 update? |
Beta Was this translation helpful? Give feedback.
-
Is there a place to provide feedback and/or track wishes, hopes, and desires for new object support? Where we live we have a strong desire to know more about wildlife on the property. Notably:
All of the above all track as other supported objects but some of the above would be really nice to be able to track independently for obvious safety reasons. Or nuisance reasons, as far as the trash pandas. Maybe I'm alone on this but it might be worth tracking who needs support for what. Also: Why no USPS ? Err..."post-office"...more geographically independent, I suppose. *We theoretically have bears around. I have never seen one. |
Beta Was this translation helpful? Give feedback.
-
@blakeblackshear Semi-non-sequitur to my prior question: What is the best practice with regard to model-training for unsupported objects that are tracking as supported objects? Of the list I mentioned, they each track to similar-but-incorrect supported objects:
I do want to track the above and have no idea how many we are missing out on. The percentage confidence on these varies wildly. Currently, any image with any of the above I simply ignore in hopes that someday the above will be supported and I don't want to pollute the model. I presume this is best-practice. Please advise. |
Beta Was this translation helpful? Give feedback.
-
I also want to track raccoon (a nightly occurrence) and coyote (two in the last week, believe it or not, in downtown Tacoma WA). Both are currently detected as "cat" and I have stopped submitting "not cat" to plus for the same reason as @f1d094 . I eventually want my model to detect coyotes and raccoons, although I hope I have no need of bears. It would be really helpful to know what objects are in the works and when they are likely to be included. It would also be helpful to know what the proper action is now with regard to objects not currently detected. Do we say "Not cat" or do nothing? Also, @f1d094, as a workaround, I am using the Google generative AI integration to resolve all the "cat" questions. It returns the correct animal almost 100% of the time, including fuzzy nighttime images with IR light. |
Beta Was this translation helpful? Give feedback.
-
Foxes and deer in the UK are principle nuisances |
Beta Was this translation helpful? Give feedback.
-
Would it be possible to add filtering to the Frigate+ images page? Following your most recent advice, I would like to edit all of the "not cat" images but with >1400 images, it isn't practical to scroll through them. I can get the most recent ones from Frigate images Edit in Frigate+, but most of the ones that I want to edit have long since been removed. Simple filtering based on the presence of a label or "not label" would be adequate. This issue is likely to become more pressing as more labels are added, particularly if it is done in stages. |
Beta Was this translation helpful? Give feedback.
-
Also, could you clarify your instructions about submitting animals without a label? What if there is another known object, such as a person or car, in the same image, and those are labeled but the animal is not? I'm guessing that with at least one unrelated label, the image will be included in the model. Won't that teach the model that the unlabeled coyote shouldn't be recognized? |
Beta Was this translation helpful? Give feedback.
-
Not to be that guy, but I have a couple new cameras and a lot of new photos in + waiting to build a model. Don't want to burn a run with the likelihood of 2024.2 coming around soon based on prior comments. Is it still on target for this month? |
Beta Was this translation helpful? Give feedback.
-
Is there anyway to see how many images were used on various model builds. For example, my last model was trained in April (on base 2024.1) but I’m not really sure how many new photos I uploaded and labelled since then.
Regards
Paul
… On 22 Jul 2024, at 00:29, derekcentrico ***@***.***> wrote:
It's going to take longer this time since I am trying to add new labels, so I don't think it will be ready in July. I may decide to release a new model without the new labels if I think it's going to take more than a few more weeks to get there.
I vote to take your time and make that happen. I'll burn another build from the quota in the meantime!
—
Reply to this email directly, view it on GitHub <#11106 (reply in thread)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ACDT75HVNEADWPSYIHTKUQ3ZNQ75JAVCNFSM6AAAAABGYURZECVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTAMJQHEYDSMY>.
You are receiving this because you commented.
|
Beta Was this translation helpful? Give feedback.
-
I have a different take on the other requests people made for more animal labels: If more animal labels are added, adding labels for livestock and predators would be especially helpful. There are a ton of uses for Frigate and HA alerts on a farm once Frigate can make determinations about the animals. Are the cows on the field side of the fence? Awesome. Is there a calf that got out and is now in the zone between the fence and the road? Have HA set off every light and siren in the house to wake me up before the calf dies on the road and hurts someone in a car. While identifying common livestock is helpful for setting alerts and actions based on them being where they are supposed to be and not being someplace other than expected, identifying common farm predators is useful for obvious reasons. Fox outside the chicken coop? Interesting data. Fox found a way inside the chicken coop? Time is of the essence. There are pretty good numbers / economics on which farm animals are most common. You can't go wrong with chickens, cattle, sheep, ducks, goats, pigs, horses, donkeys/mules, and llamas. Many of the predators have already been mentioned by others. A good roster would be coyotes, racoons, snakes, foxes, weasels, possums, mountain lions and bears. My personal priority list would be cattle, goats, sheep, ducks and coyotes. Then add in deer, since they're all over and getting a positive ID as a deer would likely prevent it from being classified as something else. Lumping together cows, bulls, steers and heifers as cattle works for me. I know @blakeblackshear mentioned earlier that it gets a bit difficult to juggle the labels once there are a lot of them. However, I do think the farm use case could make that worthwhile. Beyond homeowners who are annoyed at certain animals getting into the trash, having a robust and extensive set of animal labels can provide lots of benefits on a farm (both economic and life preserving). |
Beta Was this translation helpful? Give feedback.
-
Just curious as I am working on my first data submission to start frigate+, I have two frigate systems using the same cameras with identical configurations both using yolo_nas_s one set at 320 and one 640. The 640 detections seems to be far more accurate especially at any distance. Do the plus models use a 640x640 snip or 320x320? |
Beta Was this translation helpful? Give feedback.
-
It would be super interesting to see if the results are different as I have two identical systems taking streams from the same set of cameras. The inference times are lower on 320 for sure. I didn’t notice a huge hit like when I tried running yolonas_m, but these arc 380s are kind of amazing for the money. Ill finish collecting data for the next few days and them submit.
From: Blake Blackshear ***@***.***>
Sent: Tuesday, October 22, 2024 5:27 AM
To: blakeblackshear/frigate ***@***.***>
Cc: The1Percent ***@***.***>; Comment ***@***.***>
Subject: Re: [blakeblackshear/frigate] Frigate+ Base Model 2024.1 Update (Discussion #11106)
That's correct. I didn't see a significant difference in performance after downsizing, but it significantly reduces inference times. I could produce a 640x640 version as well from the training pipeline.
—
Reply to this email directly, view it on GitHub <#11106 (reply in thread)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/ACE353EECBVXMN5LPBMM33TZ4ZACPAVCNFSM6AAAAABGYURZECVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCMBRGY3DQMA> .
You are receiving this because you commented. <https://github.com/notifications/beacon/ACE353AD2JB5P3OD32MLXFTZ4ZACPA5CNFSM6AAAAABGYURZECWGG33NNVSW45C7OR4XAZNRIRUXGY3VONZWS33OINXW23LFNZ2KUY3PNVWWK3TUL5UWJTQAVAM6Q.gif> Message ID: ***@***.*** ***@***.***> >
|
Beta Was this translation helpful? Give feedback.
-
NOTE: The base model was updated 24 hours ago. If you recently requested a new model, check the base model version before requesting a new one.
The base model in Frigate+ has now been updated to 2024.1. All model requests going forward will use this version. In order to get a new model, you will need to submit a model request.
In addition to incorporating new images from Frigate+ users, this base model update was focused on reducing known false positives. To date, nearly 250,000 false positive examples have been submitted by users. The previous base model reproduces 26% of these false positives and the new base model reduces that to 11%.
I also updated the fine tuning process to increase the effect that your verified images have on your model. My fine tuned model now reproduces only 1.5% of my reported false positives.
Here are some stats showing the false positive reduction for my model.
According to every objective measure I have looked at, this should be a significant improvement in false positive rates, but I expect results to vary by user. I would appreciate some user feedback (both good and bad) after upgrading.
Beta Was this translation helpful? Give feedback.
All reactions