问题1:
YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsa
解决1:
5.1弃用了load原本的用法
在yaml.load(list, Loader=yaml.FullLoader) 加上 Loader=yaml.FullLoader 就行了
问题2:
RuntimeError[Errno 32] Broken pipe:
An attempt has been made to start a new process before the current process has finished its bootstrapping phase.
解决2:
num_works=0
因为多线程问题

本文解决了两个常见问题:一是YAML加载时出现的警告,通过指定Loader=yaml.FullLoader来解决;二是RuntimeError错误,由于多线程问题导致,通过设置num_works=0来解决。
1065

被折叠的 条评论
为什么被折叠?



