Select to view content in your preferred language

Issue with the deep learning tutorial: "Detecting Swimming Pools using Satellite Imagery and Deep Learning"

461
1
3 weeks ago
SadieMCarlson
New Contributor

Detecting Swimming Pools using Satellite Imagery and Deep Learning | ArcGIS API for Python | Esri De...

There is an issue in this tutorial with the following snippet of code:

ds = analytics.get_datastores(gis=gis)

ds.search()

where the .get_datastores() function returns a Nonetype, so ds.search() is not a valid call. analytics and gis are declared as follows in the tutorial:

from arcgis import GIS, learn

from arcgis.raster import analytics

gis = GIS('home')

 

What could be the issue here? It is impeding my ability to complete this training. Many thanks!

0 Kudos
1 Reply
BobBooth1
Esri Regular Contributor

Do you have a raster analytics image server in an ArcGIS Enterprise instance?  If not, try skipping that code and the next couple lines, down to the lines:

samplefolder = "pool_chips_test"
samplefolder

Then edit that cell to define a path to a sample folder on your machine, such as:

samplefolder = "C:/MyRasterChips/pool_chips_test"
samplefolder 

 You'll need to adapt the pathing later to use this local folder.

0 Kudos