|
|
|
|
|
|
from mlagents_envs.logging_util import get_logger |
|
|
|
from mlagents_envs.timers import set_gauge |
|
|
|
from mlagents.tf_utils import tf, generate_session_config |
|
|
|
import horovod.tensorflow as hvd |
|
|
|
|
|
|
|
|
|
|
|
logger = get_logger(__name__) |
|
|
|
|
|
|
) -> None: |
|
|
|
is_training = "Not Training." |
|
|
|
if "Is Training" in values: |
|
|
|
stats_summary = stats_summary = values["Is Training"] |
|
|
|
stats_summary = values["Is Training"] |
|
|
|
rank = hvd.rank() |
|
|
|
"{}: Step: {}. " |
|
|
|
"Horovod Rank: {}, {}: Step: {}. " |
|
|
|
rank, |
|
|
|
category, |
|
|
|
step, |
|
|
|
time.time() - self.training_start_time, |
|
|
|