首页 > 解决方案 > 无人驾驶 AI:AttributeError:“NoneType”对象没有属性“max_workers”

问题描述

在开发无人驾驶 AI 最新版本(即 1.4.2)时,我们面临以下错误 - 我们使用了与 1.3 版中使用的相同数据,并且运行良好。

================================================================================
2019-01-07 12:36:18,275 C:             D:172.8GB M:117.0GB 46209 ERROR  : Experiment hocirika FAILED with 'NoneType' object has no attribute 'max_workers'
2019-01-07 12:36:18,280 C:             D:172.8GB M:117.0GB 46209 ERROR  : ================================================================================

    Traceback (most recent call last):
      File "h2oaicore/systemutils.py", line 2633, in h2oaicore.systemutils.traced_func
      File "h2oaicore/auto_dl_support.py", line 6254, in h2oaicore.auto_dl_support.pop_mutate
    AttributeError: 'NoneType' object has no attribute 'max_workers'

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
      File "h2oaicore/systemutils.py", line 2912, in h2oaicore.systemutils.find_raise_exception
      File "h2oaicore/systemutils.py", line 2633, in h2oaicore.systemutils.traced_func
      File "h2oaicore/auto_dl_support.py", line 6254, in h2oaicore.auto_dl_support.pop_mutate
    AttributeError: 'NoneType' object has no attribute 'max_workers'

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
      File "h2oaicore/auto_dl.py", line 2583, in h2oaicore.auto_dl.do_auto_dl
      File "h2oaicore/auto_dl_support.py", line 6066, in suggest_pipeline
      File "h2oaicore/systemutils.py", line 2461, in h2oaicore.systemutils.trace.f
      File "h2oaicore/systemutils.py", line 2640, in h2oaicore.systemutils.traced_func
      File "h2oaicore/systemutils.py", line 2914, in h2oaicore.systemutils.find_raise_exception
      File "h2oaicore/systemutils.py", line 2633, in h2oaicore.systemutils.traced_func
      File "h2oaicore/auto_dl_support.py", line 6254, in h2oaicore.auto_dl_support.pop_mutate
    Exception: 'NoneType' object has no attribute 'max_workers'

标签: driverless-ai

解决方案


我相信这个问题在 1.5.0 版本中得到了修复:https ://www.h2o.ai/download/ 。如果您仍然遇到 1.5.0 或更高版本的问题,请告诉我们。谢谢!


推荐阅读