Skip to content

Commit

Permalink
gin config reset for the tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
tvmarino committed Dec 4, 2024
1 parent def5bf8 commit c293a77
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions compiler_opt/rl/generate_bc_trajectories.py
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,7 @@ def __init__(
self._reward_key = reward_key
kwargs.pop('reward_key', None)
gin_config_str = kwargs.pop('gin_config_str', None)
gin.clear_config()
gin.parse_config(gin_config_str)
self._working_dir = None

Expand Down

0 comments on commit c293a77

Please sign in to comment.