Help for custom AI models with CodeProject

General discussion about Blue Iris
pack2010
Posts: 10
Joined: Thu Oct 31, 2024 6:36 pm

Help for custom AI models with CodeProject

Post by pack2010 »

Hello!

I've been trying to train a model for use with Blue Iris to give alerts based on different sub species of birds. I trained it using Colab and the results looked pretty good. I tried using it with CodeProject AI but it doesn't seem to be working. I made the different bird species classes and thought I made the right settings in Blue Iris so I'm kind of baffled on what to do next or if I did something wrong. Any help would be appreciated!
MikeLud
Posts: 107
Joined: Sun Mar 21, 2021 3:29 am

Re: Help for custom AI models with CodeProject

Post by MikeLud »

pack2010 wrote: Thu Oct 31, 2024 6:39 pm Hello!

I've been trying to train a model for use with Blue Iris to give alerts based on different sub species of birds. I trained it using Colab and the results looked pretty good. I tried using it with CodeProject AI but it doesn't seem to be working. I made the different bird species classes and thought I made the right settings in Blue Iris so I'm kind of baffled on what to do next or if I did something wrong. Any help would be appreciated!
Which YOLO version did you train the model with and which CodeProject module are you using
pack2010
Posts: 10
Joined: Thu Oct 31, 2024 6:36 pm

Re: Help for custom AI models with CodeProject

Post by pack2010 »

YoloV5 and using version 2.6.5
MikeLud
Posts: 107
Joined: Sun Mar 21, 2021 3:29 am

Re: Help for custom AI models with CodeProject

Post by MikeLud »

Which Object Detection module are you using, YOLOv5 .NET, YOLOv5 3.1, YOLOv5 6.2, or YOLOv8
pack2010
Posts: 10
Joined: Thu Oct 31, 2024 6:36 pm

Re: Help for custom AI models with CodeProject

Post by pack2010 »

I'm using YOLOv6.2, I trained the model on Roboflow and then placed the .pt file in the custom model section on CPAI.
MikeLud
Posts: 107
Joined: Sun Mar 21, 2021 3:29 am

Re: Help for custom AI models with CodeProject

Post by MikeLud »

Can you post the link to the model on Roboflow and I will test it on my system. If the model was trained using YOLOv5 it should work with YOLOv6.2
pack2010
Posts: 10
Joined: Thu Oct 31, 2024 6:36 pm

Re: Help for custom AI models with CodeProject

Post by pack2010 »

MikeLud wrote: Sun Nov 03, 2024 5:57 pm Can you post the link to the model on Roboflow and I will test it on my system. If the model was trained using YOLOv5 it should work with YOLOv6.2
https://app.roboflow.com/ds/tBEUyHglL1?key=40CLIu5P4T

Thanks so much!
MikeLud
Posts: 107
Joined: Sun Mar 21, 2021 3:29 am

Re: Help for custom AI models with CodeProject

Post by MikeLud »

I retrained the model using the Roboflow image. The model does work but not well because of the image count. On average there is only 40 images for each type of bird. To have a better model you need at a minimum 500 images of each type of bird. Below are links to the model and training results.

https://github.com/MikeLud/CodeProject. ... am-bird.pt

https://github.com/MikeLud/CodeProject. ... ipcam-bird
pack2010
Posts: 10
Joined: Thu Oct 31, 2024 6:36 pm

Re: Help for custom AI models with CodeProject

Post by pack2010 »

So I should just upload more images for each then and retrain?

Thanks so much!
pack2010
Posts: 10
Joined: Thu Oct 31, 2024 6:36 pm

Re: Help for custom AI models with CodeProject

Post by pack2010 »

I've gotten all the images (at least 500 for each of the 36 species I'm working with), is there a good auto labeler that's not exorbitantly expensive? Roboflow limits the amount of images I can upload before I have to start spending quite a bit of money.
Post Reply