Does W&B use the `multiprocessing` library?
less than a minute
Yes, W&B uses the multiprocessing
library. An error message like the following indicates a possible issue:
An attempt has been made to start a new process before the current process
has finished its bootstrapping phase.
To resolve this, add an entry point protection with if __name__ == "__main__":
. This protection is necessary when running W&B directly from the script.
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.