Custom Models

Post Reply
twoii
Posts: 3
Joined: Tue Nov 16, 2021 1:42 pm

Custom Models

Post by twoii »

I am testing out BlueIris and is having trouble with custom models. I have trained DeepStack (running on a separate server) with a custom model and already works when trying via API. But when I try to integrate with BlueIris, it does not seem to detect it.

I checked the logs of DeepStack and saw that BlueIris only calls the vision detection API and not the custom model API.

I have added the name of the model under "Custom Models" on the AI Settings. Am I missing anything else?
User avatar
YrbkMgr
Posts: 587
Joined: Sun Nov 24, 2019 12:56 am
Location: Chicagoland

Re: Custom Models

Post by YrbkMgr »

I checked the logs of DeepStack and saw that BlueIris only calls the vision detection API and not the custom model API.
Where do you find the DeepStack logs?
  • "Whenever I take something apart to fix it and put it back together again, I end up with like six really important looking pieces left over" -Tim Allen
  • If you know what your after, you'll recognize it when you see it.
twoii
Posts: 3
Joined: Tue Nov 16, 2021 1:42 pm

Re: Custom Models

Post by twoii »

I have Deepstack running on Powershell and we can see all API calls from there.
Attachments
deepstack (1).png
deepstack (1).png (175.41 KiB) Viewed 2961 times
User avatar
YrbkMgr
Posts: 587
Joined: Sun Nov 24, 2019 12:56 am
Location: Chicagoland

Re: Custom Models

Post by YrbkMgr »

Thanks for that.
  • "Whenever I take something apart to fix it and put it back together again, I end up with like six really important looking pieces left over" -Tim Allen
  • If you know what your after, you'll recognize it when you see it.
aesterling
Posts: 44
Joined: Mon Sep 23, 2019 9:51 pm

Re: Custom Models

Post by aesterling »

Have you restarted the computer after adding the custom models?
twoii
Posts: 3
Joined: Tue Nov 16, 2021 1:42 pm

Re: Custom Models

Post by twoii »

Tested again today and it works now. There was some issue with the model and test data I used.
durnovtsev
Posts: 3
Joined: Mon Jan 17, 2022 7:08 am

Re: Custom Models

Post by durnovtsev »

twoii wrote: Fri Nov 19, 2021 1:24 pm Tested again today and it works now. There was some issue with the model and test data I used.
Hi twoii, how did I solve the problem with launching custom models? I ran my own custom model and created on the forums for example openlogo through windows everything works fine, But when I run it through Docker in BLUE IRIS, when analyzing, it does not find a custom model, only the upper green line appears on the top left.

sudo docker run --gpus all -e VISION-DETECTION=True -v localstorage:/datastore -p 80:5000 deepquestai/deepstack:gpu
With this command, I run a deep stack of standard models (car, man, dog, chair...) Everything works fine in the Library

I run custom models with this command
to launch sudo docker --gps al -v /home/durnovtsev/DeepStack-Models:/model store/detection -page 80:5000 deepquestai/deepstack:GPU
Last edited by durnovtsev on Tue Jan 18, 2022 5:56 am, edited 2 times in total.
durnovtsev
Posts: 3
Joined: Mon Jan 17, 2022 7:08 am

Re: Custom Models

Post by durnovtsev »

sudo docker run --gpus all -e VISION-DETECTION=True -v localstorage:/datastore -p 80:5000 deepquestai/deepstack:gpu
With this command, I run a deep stack of standard models (car, man, dog, chair...) Everything works fine in the Library

I run custom models with this command
to launch sudo docker --gps al -v /home/durnovtsev/DeepStack-Models:/model store/detection -page 80:5000 deepquestai/deepstack:GPU
Post Reply