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
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
Unfortunately. It appears not to work as per the screenshot below
Not sure how this issue could be solved!
either it doesn't like the inputs to the tool, or upgrades to the tool have been made
I wish esri experts can help on this
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
Thanks for the feedback
Not sure if anyone has already tried this tool and managed to get it worked
assuming it is the right version for your version of Pro
Tech Support otherwise