IBM / powerai-counting-cars

Run a Jupyter Notebook to detect, track, and count cars in a video using Maximo Visual Insights (formerly PowerAI Vision) and OpenCV
https://developer.ibm.com/patterns/detect-track-and-count-cars-in-a-video/
Apache License 2.0
327 stars 176 forks source link

Connection Error #46

Closed FranciscoSola closed 4 years ago

FranciscoSola commented 5 years ago

Hi, I'm trying to run the notebook with my own model but I keep getting the following error when running the inference function:

ConnectionError: HTTPConnectionPool(host='ny1.ptopenlab.com', port=80): Max retries exceeded with url: /powerai-vision-ny/api/dlapis/00b984d5-489d-413e-9e47-c8824eba77ca (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x00000268B34A09B0>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed',))

Does anybody have any idea about how i can solve it? Thanks a lot

Vintotan commented 4 years ago

I also get the same error message like @FranciscoSola :

Screenshot 2020-03-02 at 5 05 33 PM Screenshot 2020-03-02 at 5 05 47 PM

Anyone here who can help? (Probably no one at IBM cares about this ... I must say that IBM's support is tremendously bad, same issue support like IBM Watson).

Vintotan commented 4 years ago

I think the reason is because the link doesn't work:

https://ny1.ptopenlab.com/powerai-vision-ny/api/dlapis/your-guid-here

btw, I'm on Python 3.7.6

Screenshot 2020-03-02 at 5 30 41 PM
gcorneau-ibm commented 4 years ago

The prerequisite for this lab is an installed instance of a PowerAI Vision server that you can connect to (and train the source dataset so that you can deploy the model (with an appropriate API). The "ny1.ptopenlab.com" server is just an example.

horeaporutiu commented 4 years ago

@tvotan @FranciscoSola You will need to update the POWER_AI_VISION_API_URL with the deployed model URL.

It should look something like this: https://vision-poc1.aus.stglabs.ibm.com/visual-insights-v120-prod/api/dlapis/71e4aadc-36-487d-8182-3e67e8e6c

You need a trial version of Maximo Visual Insights to do this. To get a trial version of Maximo Visual Insights, go here: https://www.ibm.com/support/pages/ibm-maximo-visual-inspection

Scroll down to Give it a try.

Hopefully, this helps. Feel free to open the issue back up if this does not resolve it.