Closed lrsoenksen closed 4 years ago
Maybe you can try to run it on google colab?
I've found a fix within Jupyter. I had to add this to the imports to allow for the multiprocessing of Autokeras to report on terminal if for whatever reason Jupyter is causing issues... this anticipates both use in terminal or jupyter so I've added it
# Enable multiprocessing
import multiprocessing
multiprocessing.set_start_method('forkserver')
Bug Description
Autokeras 0.4 get's stuck at 0% when trying to train on Jupyter notebook. The same code runs well in terminal. I've tried with the example code below, using various time_limit values. The process does not generate an error but never advances, and re-starting the kernel does not help as implied by other bug threads. When I stop the kernel I get the error shown also below:
To Reproduce issue (3-steps)
Steps to reproduce the behavior:
Behavior
The training stays forever at 0%, with following output
Setup Details
Details about the versions used: