windows系统运行pyMC3的时候出现错误:
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.
set cores=1 in pm.sample to disable multiprocessing
在Windows系统中运行pyMC3时遇到一个错误提示,指出可能没有使用fork来启动子进程,并且在主模块中忘记了使用if__name__==__main__:freeze_support()。错误还建议如果程序不打算被冻结成可执行文件,可以忽略freeze_support()行。为了解决多进程问题,可以将cores设为1在pm.sample中禁用多进程处理。
1万+

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



