Open lingzhang0319 opened 5 years ago
@lingzhang0319 Multi-processing is better.In Python,since there is a GIL(Global Interpreter Lock),multi threads cant use multi cpu cores,but multi-processing can. As to original paper,I dont know why use multi threads , maybe since threads programing is easy.
Hi,
In the original paper, it mentions that it uses multi threads. But I see in your code, you are using multi-process. As far as I know, these two methods are actually different. Could you explain whether these two methods make a difference or which way is better?
Thanks!