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

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

RuntimeError: An attempt has been made to start a new process before the current process.._第1张图片

为解决这个问题,将num_workers的值改为0即可。
在这里插入图片描述

你可能感兴趣的:(pycharm)