ArcGIS Pro 3.0.2: The “train using autoML” tool with XGBoost algorithm ends up with “shapeType” error,

884
8
02-11-2024 01:12 PM
JamalNUMAN
Legendary Contributor

ArcGIS Pro 3.0.2: The “train using autoML” tool with XGBoost algorithm ends up with “shapeType” error,

 

I couldn’t figure out why the The “train using autoML” tool with XGBoost algorithm ends up with “shapeType” error and thus the dlpk output is not created

 

What could be the issue here?

 

 

  File "c:\program files\arcgis\pro\Resources\ArcToolbox\toolboxes\GeoAI Tools.tbx\TrainUsingAutoML.tool\tool.script.execute.py", line 84, in <module>

    shapeType = desc.shapeType

AttributeError: DescribeData: Method shapeType does not exist

 

Clip_786.jpg

----------------------------------------
Jamal Numan
Geomolg Geoportal for Spatial Information
Ramallah, West Bank, Palestine
0 Kudos
8 Replies
DanPatterson
MVP Esteemed Contributor

It may be a version issue because there is a try:except block around that code in

# -- line 89 beginning below
desc = arcpy.Describe(in_features)
data_type = desc.dataType
try:
    shapeType = desc.shapeType
except:
    shapeType = None
try:
    data_source = desc.catalogPath
except:
    data_source = in_features

So examine the code in that area in your install

C:\...your install folder ....\Resources\ArcToolBox\toolboxes\GeoAI Tools.tbx\TrainUsingAutoML.tool\tool.script.execute.py


... sort of retired...
JamalNUMAN
Legendary Contributor

Unfortunately. It appears not to work as per the screenshot below

 

Not sure how this issue could be solved!

 

Clip_804.jpgClip_805.jpgClip_806.jpg

----------------------------------------
Jamal Numan
Geomolg Geoportal for Spatial Information
Ramallah, West Bank, Palestine
0 Kudos
DanPatterson
MVP Esteemed Contributor

either it doesn't like the inputs to the tool, or upgrades to the tool have been made


... sort of retired...
JamalNUMAN
Legendary Contributor

I wish esri experts can help on this

Clip_824.jpgClip_820.jpg

----------------------------------------
Jamal Numan
Geomolg Geoportal for Spatial Information
Ramallah, West Bank, Palestine
0 Kudos
DanPatterson
MVP Esteemed Contributor

260005: Dependencies required to run the tool could not be found.—ArcGIS Pro | Documentation

Did you install the deep learning packages for Pro 3.0.x?

and are you using a cloned environment or are you trying to use the arcgispro-py3 environment?

Those packages aren't installed by default, and if you need to use them, the need to be installed in a cloned environment and Pro activated to use the clone.  Also, newer versions of the packages won't work with older versions of Pro


... sort of retired...
JamalNUMAN
Legendary Contributor

Thanks for the feedback

 

  • The ArcGIS Pro 3.1 is installed in a VM machine
  • The Deep learning library as per the second screenshot

 

Not sure if anyone has already tried this tool and managed to get it worked

 

Clip_820.jpgClip_837.jpg

----------------------------------------
Jamal Numan
Geomolg Geoportal for Spatial Information
Ramallah, West Bank, Palestine
0 Kudos
DanPatterson
MVP Esteemed Contributor

assuming it is the right version for your version of Pro

Tech Support otherwise


... sort of retired...
0 Kudos
NicholasGiner1
Esri Contributor