Auto-Keras:如果不冻结程序以生成可执行文件,则可以省略“ freeze_support()”行

时间:2018-08-06 12:17:14

标签: keras auto mnist auto-keras

今天,我尝试运行autokeras,但失败,错误消息如下所示:

    RuntimeError: 
    An attempt has been made to start a new process before the
    current process has finished its bootstrapping phase.

    This probably means that you are not using fork to start your
    child processes and you have forgotten to use the proper idiom
    in the main module:

        if __name__ == '__main__':
            freeze_support()
            ...

    The "freeze_support()" line can be omitted if the program
    is not going to be frozen to produce an executable.

昨天,我运行了演示,它运行良好。我徘徊为什么会这样?

任何帮助!首先谢谢。

演示在这里:The fit() function in class ImageClassifier in Auto-Keras didn't run well

0 个答案:

没有答案