问题描述
我正在使用 Python 解决 ArcGIS 深度学习问题,并且我大致遵循本教程 (https://developers.arcgis.com/python/guide/object-detection/)。我已将我的深度学习包添加到 ArcGIS Online,现在我进入了使用以下代码安装包的步骤:
model_package = gis.content.add(item_properties={"type":"Deep Learning Package","typeKeywords":"Deep Learning,Raster","title":"damage Assessment","tags":"deeplearning",'overwrite':'True'},data=trained_model)
detect_objects_model = Model(model_package)
detect_objects_model.install(gis=gis)
detect_objects_model.query_info()
我现在收到以下错误:
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-37-f2f018432ec7> in <module>
1 detect_objects_model = Model(model_package)
----> 2 detect_objects_model.install(gis=gis)
3 detect_objects_model.query_info()
C:\Program Files\ArcGIS\Pro\bin\Python\envs\deeplearning\lib\site-packages\arcgis\learn\__init__.py in install(self,gis,future,**kwargs)
992 return gis._tools.rasteranalysis.install_deep_learning_model(model_package=self._model,993 future=future,--> 994 **kwargs)
995
996 """
C:\Program Files\ArcGIS\Pro\bin\Python\envs\deeplearning\lib\site-packages\arcgis\_impl\tools.py in install_deep_learning_model(self,model_package,**kwargs)
7585 task = "InstallDeepLearningModel"
7586 gis = self._gis
-> 7587 gpjob = self._tbx.install_deep_learning_model(model_package=model_package,7588 gis=gis,future=True)
7589 gpjob._is_ra = True
AttributeError: module 'name' has no attribute 'install_deep_learning_model'
任何人都可以告诉我出了什么问题吗?谢谢!
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)