Page 1 of 2
Help for custom AI models with CodeProject
Posted: Thu Oct 31, 2024 6:39 pm
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!
Re: Help for custom AI models with CodeProject
Posted: Thu Oct 31, 2024 8:03 pm
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
Re: Help for custom AI models with CodeProject
Posted: Sat Nov 02, 2024 10:46 pm
by pack2010
YoloV5 and using version 2.6.5
Re: Help for custom AI models with CodeProject
Posted: Sat Nov 02, 2024 10:58 pm
by MikeLud
Which Object Detection module are you using, YOLOv5 .NET, YOLOv5 3.1, YOLOv5 6.2, or YOLOv8
Re: Help for custom AI models with CodeProject
Posted: Sun Nov 03, 2024 5:17 pm
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.
Re: Help for custom AI models with CodeProject
Posted: Sun Nov 03, 2024 5:57 pm
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
Re: Help for custom AI models with CodeProject
Posted: Sun Nov 03, 2024 10:45 pm
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!
Re: Help for custom AI models with CodeProject
Posted: Sat Nov 09, 2024 6:34 pm
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
Re: Help for custom AI models with CodeProject
Posted: Tue Nov 12, 2024 3:07 pm
by pack2010
So I should just upload more images for each then and retrain?
Thanks so much!
Re: Help for custom AI models with CodeProject
Posted: Thu Nov 14, 2024 3:43 am
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.