You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
The text was updated successfully, but these errors were encountered:
@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!
The text was updated successfully, but these errors were encountered: