Train Deep Learning Model : name 'models' is not defined

4270
1
03-26-2020 06:15 PM
Jasbinder_SinghShergill
New Contributor
Traceback (most recent call last):   File "c:\users\asus\appdata\local\programs\arcgis\pro\Resources\ArcToolbox\Scripts\TrainDeepLearningModel.py", line 145, in <module>     execute()   File "c:\users\asus\appdata\local\programs\arcgis\pro\Resources\ArcToolbox\Scripts\TrainDeepLearningModel.py", line 129, in execute     training_model_object = training_model(data_bunch, **kwargs)   File "C:\Users\asus\AppData\Local\Programs\ArcGIS\Pro\bin\Python\envs\deeplearning\Lib\site-packages\arcgis\learn\models\_ssd.py", line 146, in __init__     self._backbone = getattr(models, backbone)
NameError: name 'models' is not defined
Failed to execute (TrainDeepLearningModel).

I have cloned python evironment for deep learning. Installed all the requisite packages. Getting the flowing error, while executing Train Deep Learning Model tool from ArcGIS Pro 2.5. Any help would be highly appriciated. 

0 Kudos
1 Reply
DanPatterson_Retired
MVP Emeritus

i think you might need to elaborate a bit more as to what you were using and what inputs you used.

Also make sure all the prerequisites are installed as recommended on this site.

Train Deep Learning Model—Help | Documentation 

0 Kudos