CodeProject.AI on a separate PC on the network

HBilbrey

n3wb
Joined
Sep 12, 2020
Messages
3
Reaction score
0
Location
Texas
Can anyone help me with setting up BI host machine with CPAI on a separate pc on the network please?

I have the instance of CPAI setup and running on the other pc on the network, and the BI host (5.7.8.1) is connected and taking requests, but nothing is ever found during the analysis even though people are walking through the scene.

1690077364571.png
1690078386947.png
1690078511636.png

What should be placed in the "Use Custom Models" field of the BI host?

1690077644287.png
1690078433859.png
Any help would be greatly appreciated!
 

HBilbrey

n3wb
Joined
Sep 12, 2020
Messages
3
Reaction score
0
Location
Texas
If I run the CPAI Explorer and run test images through it, it responds with ""No predictions returned"

During the initial setup everything looked fine, but I found this in the log.

"20:34:24:ObjectDetectionYolo: ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
20:34:24:ObjectDetectionYolo: botocore 1.31.9 requires urllib3<1.27,>=1.25.4, but you have urllib3 2.0.4 which is incompatible.
20:34:24:ObjectDetectionYolo: google-auth 2.22.0 requires urllib3<2.0, but you have urllib3 2.0.4 which is incompatible."

Is this the source of the problem, and if yes, how to correct it?


1690080882644.png
 

MikeLud1

IPCT Contributor
Joined
Apr 5, 2017
Messages
2,219
Reaction score
4,261
Location
Brooklyn, NY
Try disabling Half Precision or switch to the Object Detection (YOLOv5 .NET) module. The Object Detection (YOLOv5 .NET) also will use your GPU.
To have BI read what custom models are available make sure CP.AI server is running then restart BI service

1690089368559.png
 

HBilbrey

n3wb
Joined
Sep 12, 2020
Messages
3
Reaction score
0
Location
Texas
I didn't want to use the .NET solution, but luckily disabling Half Precision did the trick. Thanks Mike.
 

greg_mitch

Pulling my weight
Joined
Mar 27, 2017
Messages
178
Reaction score
122
FInally got CodeProject to work with my dual Coral TPU m.2 card, but it is in a different PC than my current BI machine.

I am trying to link my BI to this separate PC and for some reason it can't connect to the codeproject ai instance.

The IP address is 192.168.1.87 at the standard port 32168.

When I hit the "open AI dashboard" from the BI AI main menu, it pops open a browser on the BI machine and just sits there, but never loads the 192.168.1.87:32168 codeproject ai instance.

I can't access the instance from any PC but the PC it is installed on...missing something easy here. Help?
 

hapstabu

Getting the hang of it
Joined
Aug 29, 2020
Messages
66
Reaction score
41
Location
US
FInally got CodeProject to work with my dual Coral TPU m.2 card, but it is in a different PC than my current BI machine.

I am trying to link my BI to this separate PC and for some reason it can't connect to the codeproject ai instance.

The IP address is 192.168.1.87 at the standard port 32168.

When I hit the "open AI dashboard" from the BI AI main menu, it pops open a browser on the BI machine and just sits there, but never loads the 192.168.1.87:32168 codeproject ai instance.

I can't access the instance from any PC but the PC it is installed on...missing something easy here. Help?
On my Windows machines, I had to open the CPAI port on the machine running CPAI.
Linux machine running CPAI I could connect with no issues, but on Windows 10 machines, I needed to allow the connection through Windows Firewall.
HTH

Sent from my iPlay_50 using Tapatalk
 

greg_mitch

Pulling my weight
Joined
Mar 27, 2017
Messages
178
Reaction score
122
On my Windows machines, I had to open the CPAI port on the machine running CPAI.
Linux machine running CPAI I could connect with no issues, but on Windows 10 machines, I needed to allow the connection through Windows Firewall.
HTH

Sent from my iPlay_50 using Tapatalk
Yep, that did it.

Settings - Windows Firewall - Advanced Settings - New Rule

Allow all traffic on 32168...the TPU started popping off analyzing images instantly. Nice!
 

hapstabu

Getting the hang of it
Joined
Aug 29, 2020
Messages
66
Reaction score
41
Location
US
Yep, that did it.

Settings - Windows Firewall - Advanced Settings - New Rule

Allow all traffic on 32168...the TPU started popping off analyzing images instantly. Nice!
Good luck!

Sent from my iPlay_50 using Tapatalk
 
Top