Object Detection example, cant find the content and SSL verification failed

539
2
08-15-2019 10:50 AM
LaurynasGedminas2
Occasional Contributor

Trying to use this example: Object Detection Workflow with | ArcGIS for Developers 

log into and AGOL and i get content not found error:

well_pads = gis.content.get('ae6f1c62027c42b8a88c4cf5deb86bbf') # Well pads layerwell_pads

If I try to use services url's i get the SSL errors:

URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:841)>

Thank you,
0 Kudos
2 Replies
RachelSears
Occasional Contributor II

Hi Laurynas,

Is your Notebook configured to use SSL?

Running a notebook server — Jupyter Notebook 6.0.0 documentation (Section: Using SSL for encrypted communication).

This documentation seems to go over using a self-signed certificate, but you can also use the same steps to add a domain certificate in the jupyter_notebook_config.py file. 

Let me know if this helps!

-- Rachel

0 Kudos
LaurynasGedminas2
Occasional Contributor

I disabled the SSL thru: GIS('http://datascienceadv.esri.com/portal',verify_cert=False)

getting error on this part:

chips = export_training_data(planet_mosaic_data, well_pads, "PNG", {"x":448,"y":448}, {"x":224,"y":224},
"PASCAL_VOC_rectangles", 75, "planetdemo")

AttributeError: 'PropertyMap' instance has no attribute 'rasterAnalytics'
0 Kudos