diff --git a/python/ray/rllib/agents/agent.py b/python/ray/rllib/agents/agent.py index 8041eba06..28b423417 100644 --- a/python/ray/rllib/agents/agent.py +++ b/python/ray/rllib/agents/agent.py @@ -3,7 +3,6 @@ from __future__ import division from __future__ import print_function import copy -import json import os import pickle import tempfile @@ -175,7 +174,7 @@ class Agent(Trainable): return ("\n\nYou can adjust the resource requests of RLlib agents by " "setting `num_workers` and other configs. See the " "DEFAULT_CONFIG defined by each agent for more info.\n\n" - "The config of this agent is: " + json.dumps(config)) + "The config of this agent is: {}".format(config)) def __init__(self, config=None, env=None, logger_creator=None): """Initialize an RLLib agent.