Adding models to codeproject

db3520
Posts: 12
Joined: Mon Jan 29, 2024 7:33 pm

Adding models to codeproject

Post by db3520 »

Hey Guys

Anyone know the folder location where you place pt models in windows?

The codeproject forum only has older info and that file path is no longer legit.

From what I read it seems you have to create a custom model folder.

Also when you add more then one custom model on the AI tab does it get separated by comma?

Thanks in advance guys
louyo
Posts: 161
Joined: Sat Apr 18, 2020 1:16 am

Re: Adding models to codeproject

Post by louyo »

If you are using a late version of CP/AI using the their install program on your BI system, it should be filled in for you. I am running it on another system via a docker image and fill it in myself. AIR, in my case the folder I reference just contains dummy model files, CP/AI uses its own location but the names have to mirror. Been too long ago for my old-foggy mind to recall exactly.
Yes, separate with commas.
BI and CP/AI working very well here, 2 different locations. All one level or so back.
db3520
Posts: 12
Joined: Mon Jan 29, 2024 7:33 pm

Re: Adding models to codeproject

Post by db3520 »

thanks

its not a big deal but I would like to experiment so if anyone knows what path BI looks for when seeking the custom models please pass it on.

I did create a "custom- models" folder in c:\codeproject but it is not working.
MikeLud
Posts: 84
Joined: Sun Mar 21, 2021 3:29 am

Re: Adding models to codeproject

Post by MikeLud »

Blue Iris uses the Custom Object Detector List Models API to get the list of custom models.

https://www.codeproject.com/ai/docs/api ... ist-models
db3520
Posts: 12
Joined: Mon Jan 29, 2024 7:33 pm

Re: Adding models to codeproject

Post by db3520 »

OK....let me add a clarification

In BI AI tab there is a line for custom models but it is greyed out.

I hear others talk about adding IPcam models to this line but no one says where or how this is done.

Are you saying that when using codeproject that there is no way to add anything to this greyed out line? If so then that I understand and will give up.

Anyone know the correct answer to my questions?
MikeLud
Posts: 84
Joined: Sun Mar 21, 2021 3:29 am

Re: Adding models to codeproject

Post by MikeLud »

The custom model list should auto populate. If it is empty restart Blue Iris service and it should look like the below

Screenshot 2024-02-11 194635.jpg
Screenshot 2024-02-11 194635.jpg (229.11 KiB) Viewed 532 times
db3520
Posts: 12
Joined: Mon Jan 29, 2024 7:33 pm

Re: Adding models to codeproject

Post by db3520 »

not sure where you found your custom model but that one is not default by codeproject......so please explan where you found that and also how you loaded it. BTW....I am using latest CP version....maybe yours is older and has different file structure.

Mine is listed below
Attachments
AI.PNG
AI.PNG (73.49 KiB) Viewed 522 times
pic 1.PNG
pic 1.PNG (65.77 KiB) Viewed 522 times
MikeLud
Posts: 84
Joined: Sun Mar 21, 2021 3:29 am

Re: Adding models to codeproject

Post by MikeLud »

Did you restart Blue Iris service? I am on the latest CodeProject.AI. Follow the bellow steps and this should populate the custom model list. FYI I am the creator of all the custom models.
  • Uncheck Auto start/stop with Blue Iris
  • Restarting Blue Iris service
Screenshot 2024-02-11 233303.jpg
Screenshot 2024-02-11 233303.jpg (190.13 KiB) Viewed 518 times
service.jpg
service.jpg (176.86 KiB) Viewed 518 times
custom model folder.jpg
custom model folder.jpg (92.3 KiB) Viewed 518 times
Last edited by MikeLud on Mon Feb 12, 2024 5:38 am, edited 2 times in total.
MikeLud
Posts: 84
Joined: Sun Mar 21, 2021 3:29 am

Re: Adding models to codeproject

Post by MikeLud »

Also once you uncheck Auto start/stop with Blue Iris and restart Blue Iris service Enable GPU for the Object Detection (YOLOv5 .NET) module. This will allow the Object Detection (YOLOv5 .NET) module to use whatever GPU you have installed.

Screenshot 2024-02-11 234413.jpg
Screenshot 2024-02-11 234413.jpg (217.89 KiB) Viewed 516 times
User avatar
TimG
Posts: 2098
Joined: Tue Jun 18, 2019 10:45 am
Location: Nottinghamshire, UK.

Re: Adding models to codeproject

Post by TimG »

not sure where you found your custom model but that one is not default by codeproject......so please explan where you found that and also how you loaded it. BTW....I am using latest CP version....maybe yours is older and has different file structure.
Another use for a facepalm emoji :lol:
Forum Moderator.
Problem ? Ask and we will try to assist, but please check the Help file.
Post Reply