multiprocessing library. As a result, scripts that call W&B directly need to guard their entry point so that child processes don’t re-run the top-level code. The following error message indicates this issue:
if __name__ == "__main__":. You need this protection when you run W&B directly from the script. It ensures that worker processes spawned by multiprocessing don’t re-run your training code.
Experiments