Select to view content in your preferred language

Deep learning Model

561
1
11-04-2020 05:34 AM
KehindeAdigun
New Contributor

Please i encountered this error while trying to train my model, i checked online and it seems there is no solution for it yet. I will really appreciate if there is any one that can help. Thanks

ERROR 032659 updateParameters Execution Error: Traceback (most recent call last):
File "c:\program files\arcgis\pro\Resources\ArcToolbox\toolboxes\Image Analyst Tools.tbx#TrainDeepLearningModel_ia.UpdateParameters.py", line 1, in <module>
File "c:\program files\arcgis\pro\Resources\ArcToolbox\toolboxes\Image Analyst Tools.tbx#TrainDeepLearningModel_ia.UpdateParameters.py", line 66, in updateParameters
File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Lib\site-packages\arcgis\learn\models\_retinanet.py", line 137, in _supported_backbones
return [*_resnet_family]
NameError: name '_resnet_family' is not defined

1 Reply
7177
by
New Contributor II

Has this issue been resolved since @KehindeAdigun  posted it? I do encounter the same error when trying to train a Feature classifier. I upgraded to the lastest version of ArcGIS Pro 2.6 and reinstalled the necessary libraries for using the deep learning tools. Still get this error, doesn't matter if the training data was exported as labelled tiles or Kitty labels. 

ERROR 032659 updateParameters Error: Traceback (most recent call last):
File "c:\program files\arcgis\pro\Resources\ArcToolbox\Toolboxes\Image Analyst Tools.tbx\TrainDeepLearningModel.tool\tool.script.validate.py", line 261, in <module>
File "c:\program files\arcgis\pro\Resources\ArcToolbox\Toolboxes\Image Analyst Tools.tbx\TrainDeepLearningModel.tool\tool.script.validate.py", line 117, in updateParameters
backbone_list = training_model._supported_backbones()
File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Lib\site-packages\arcgis\learn\models\_classifier.py", line 179, in _supported_backbones
return [*_resnet_family, models.mobilenet_v2.__name__]
NameError: name '_resnet_family' is not defined

0 Kudos