我运行了你的代码,但是出现了Runtime Error
发生异常: RuntimeError (note: full exception trace is shown but execution is paused at: <module>)
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.
File "C:\Users\17641\Desktop\互联网\mybert.py", line 282, in <module>
Train_features,Train_dataset = squad_convert_examples_to_features(
File "<string>", line 1, in <module> (Current frame)
他说要加freeze_support(),但并不懂是什么意思
我希望可以正常运行这个程序