mirror of
https://github.com/wassname/ray.git
synced 2026-07-28 11:25:04 +08:00
[RLlib] Fix issue 12678: MultiAgentBatch has no attribute total. (#12704)
This commit is contained in:
Vendored
+2
-1
@@ -269,7 +269,8 @@ class _LocalInferenceThread(threading.Thread):
|
||||
if isinstance(samples, MultiAgentBatch):
|
||||
logger.info(
|
||||
"Sending batch of {} env steps ({} agent steps) to "
|
||||
"server.".format(samples.count, samples.total()))
|
||||
"server.".format(samples.env_steps(),
|
||||
samples.agent_steps()))
|
||||
else:
|
||||
logger.info(
|
||||
"Sending batch of {} steps back to server.".format(
|
||||
|
||||
Reference in New Issue
Block a user