Skip to content

Commit

Permalink
logging.warn -> logging.warning to heed the deprecation warning.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 572697084
Change-Id: I417dbbb9ac7797172aed9f293ac1560f00e6cd2a
  • Loading branch information
pwohlhart authored and copybara-github committed Oct 11, 2023
1 parent 5907dce commit 7b67210
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tf_agents/train/learner.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ def _create_variables(specs):
_create_variables.get_concrete_function(batched_specs)
else:
# TODO(b/186052656) Update clients.
logging.warn('run_optimizer_variable_init = False is Deprecated')
logging.warning('run_optimizer_variable_init = False is Deprecated')

self._checkpointer = common.Checkpointer(
checkpoint_dir,
Expand Down

0 comments on commit 7b67210

Please sign in to comment.