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
I want to do a sweep over my code. The code does use multiprocessing internally to spawn different agents communicating over gRPC. Once the simulation is done, the main process waits for all the agents via join and then exits.
The main process is annotated using hydra's hydra.main decorator. I am now observing the issue that the main process does not seem to "reset" properly. It is as if the second hyperparameter sweep uses the very same main process.
I can tell that this is the case because internal state stays the same between these runs, even though they should be reset/fresh. Is this normal?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I want to do a sweep over my code. The code does use
multiprocessing
internally to spawn different agents communicating over gRPC. Once the simulation is done, the main process waits for all the agents viajoin
and then exits.The main process is annotated using hydra's
hydra.main
decorator. I am now observing the issue that the main process does not seem to "reset" properly. It is as if the second hyperparameter sweep uses the very same main process.I can tell that this is the case because internal state stays the same between these runs, even though they should be reset/fresh. Is this normal?
Beta Was this translation helpful? Give feedback.
All reactions