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
When I use gin config for hyperparameter search with optuna and it starts multiple processes at the same time I get the following error: Attempted to modify locked Gin config
This is because internally gin stores the configs in global variables.
Is there a way to fix this?
The text was updated successfully, but these errors were encountered:
@Dawars have you fixed your problem? I also get the error 'Attempted to modify locked Gin config' when I run my code. I want to use the same .gin file in each iteration.
According to the suggestion from @jingnanshi , I have tried to make a copy of the .gin file with a new name in each iteration and then use the gin.parse_config_files_and_bindings() function, but it didn't work.
When I use gin config for hyperparameter search with optuna and it starts multiple processes at the same time I get the following error:
Attempted to modify locked Gin config
This is because internally gin stores the configs in global variables.
Is there a way to fix this?
The text was updated successfully, but these errors were encountered: