Skip to content

Commit bef3e16

Browse files
authored
Update leaderboard_evaluator.py
remove the debug info
1 parent 8ff36de commit bef3e16

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

leaderboard/leaderboard/leaderboard_evaluator.py

+2-6
Original file line numberDiff line numberDiff line change
@@ -79,17 +79,14 @@ def __init__(self, args, statistics_manager):
7979
# First of all, we need to create the client that will send the requests
8080
# to the simulator. Here we'll assume the simulator is accepting
8181
# requests in the localhost at port 2000.
82-
print('bc1')
8382
self.client = carla.Client(args.host, int(args.port))
8483
print(args.host, args.port)
85-
print('bc2')
8684
if args.timeout:
8785
self.client_timeout = float(args.timeout)
8886
self.client.set_timeout(self.client_timeout)
8987

9088
self.traffic_manager = self.client.get_trafficmanager(int(args.trafficManagerPort))
9189

92-
print('bc3')
9390
dist = pkg_resources.get_distribution("carla")
9491
if dist.version != 'leaderboard':
9592
if LooseVersion(dist.version) < LooseVersion('0.9.10'):
@@ -98,9 +95,8 @@ def __init__(self, args, statistics_manager):
9895
# Load agent
9996
module_name = os.path.basename(args.agent).split('.')[0]
10097
sys.path.insert(0, os.path.dirname(args.agent))
101-
print('bc4')
10298
self.module_agent = importlib.import_module(module_name)
103-
print('bc5')
99+
104100

105101
# Create the ScenarioManager
106102
self.manager = ScenarioManager(args.timeout, args.debug > 1)
@@ -112,7 +108,7 @@ def __init__(self, args, statistics_manager):
112108
# Create the agent timer
113109
self._agent_watchdog = Watchdog(int(float(args.timeout)))
114110
signal.signal(signal.SIGINT, self._signal_handler)
115-
print('bc')
111+
116112

117113
def _signal_handler(self, signum, frame):
118114
"""

0 commit comments

Comments
 (0)