作者您好,我在运行single_train.py后报错,暂时不知道如何解决,您能帮我看一下什么问题吗
运行后打印输出:
`
Downloading: "https://download.pytorch.org/models/vgg11-bbd30ac9.pth" to C:\Users\41475/.cache\torch\checkpoints\vgg11-bbd30ac9.pth
100.0%
Stage 1: fine tuning the neural network ...
Epoch: 0
Stage 1: fine tuning the neural network ...
接着报错如下:
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.
ForkingPickler(file, protocol).dump(obj)
BrokenPipeError: [Errno 32] Broken pipe
`
作者您好,我在运行single_train.py后报错,暂时不知道如何解决,您能帮我看一下什么问题吗
运行后打印输出:
`
Downloading: "https://download.pytorch.org/models/vgg11-bbd30ac9.pth" to C:\Users\41475/.cache\torch\checkpoints\vgg11-bbd30ac9.pth
100.0%
Stage 1: fine tuning the neural network ...
Epoch: 0
Stage 1: fine tuning the neural network ...
接着报错如下:
RuntimeError:
An attempt has been made to start a new process before the
current process has finished its bootstrapping phase.
BrokenPipeError: [Errno 32] Broken pipe
`