I use the AITool with Deepstack and CPAI with BI.
VorlonCD/bi-aidetection: Alarm system for Blue Iris based on Artificial Intelligence. (github.com)
Specify the below directory in the AITool.
With deepstack gpu or cpu installed, the AItool has options to start the deepstack and models/size etc...