首页 / 浏览问题 / 桌面GIS / 问题详情
二元分类样本训练报错怎么处理?!!!!!!急急急!11111111
9EXP 2021年09月16日

Python环境是直接加压的(已安装好 SuperMap iObjects Python 所需依赖的 conda 环境

包),然后再软件内配置,用示例数据进行二元分类,训练数据就报这种错误。

报错信息如下:

PyDev console: starting.

Python 3.6.6 |Anaconda, Inc.| (default, Jun 28 2018, 11:27:44) [MSC v.1900 64 bit (AMD64)] 
[iObjectsPy]: Connection gateway-service successful, Python callback port bind 60396

Traceback (most recent call last):
  File "<input>", line 11, in <module>
  File "E:\software\supermap iDesktopX 10i\resources\python-helpers\pydev\_pydev_bundle\pydev_import_hook.py", line 21, in do_import
    module = self._system_import(name, *args, **kwargs)
  File "D:\BuildAgent\work\test/iobjectspy/ml\vision\__init__.py", line 1, in <module>
  File "E:\software\supermap iDesktopX 10i\resources\python-helpers\pydev\_pydev_bundle\pydev_import_hook.py", line 21, in do_import
    module = self._system_import(name, *args, **kwargs)
  File "D:\BuildAgent\work\test/iobjectspy/ml\vision\_datapreparation.py", line 6, in <module>
  File "E:\software\supermap iDesktopX 10i\resources\python-helpers\pydev\_pydev_bundle\pydev_import_hook.py", line 21, in do_import
    module = self._system_import(name, *args, **kwargs)
  File "D:\BuildAgent\work\test/iobjectspy/ml\vision\_dataprepare_collector\__init__.py", line 1, in <module>
  File "E:\software\supermap iDesktopX 10i\resources\python-helpers\pydev\_pydev_bundle\pydev_import_hook.py", line 21, in do_import
    module = self._system_import(name, *args, **kwargs)
  File "D:\BuildAgent\work\test/iobjectspy/ml\vision\_dataprepare_collector\object_detection_training_data.py", line 1, in <module>
  File "E:\software\supermap iDesktopX 10i\resources\python-helpers\pydev\_pydev_bundle\pydev_import_hook.py", line 21, in do_import
    module = self._system_import(name, *args, **kwargs)
  File "D:\BuildAgent\work\test/iobjectspy/ml\vision\_sample\create_object_detection_data_mask.py", line 16, in <module>
  File "E:\software\supermap iDesktopX 10i\resources\python-helpers\pydev\_pydev_bundle\pydev_import_hook.py", line 21, in do_import
    module = self._system_import(name, *args, **kwargs)
  File "D:\BuildAgent\work\test/iobjectspy/ml\toolkit\_toolkit.py", line 15, in <module>
ImportError: cannot import name 'ImageCompression'

小白一枚、跪求解答。

1个回答

来个大佬救救命!!!!!!!!!!(⊙o⊙)…
9EXP 2021年09月16日
...