Skip to content

Commit

Permalink
trace unsigned steps count (4 billions)
Browse files Browse the repository at this point in the history
  • Loading branch information
JulioJerez committed Sep 12, 2024
1 parent ec7a3c9 commit 29d85d6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1203,14 +1203,14 @@ namespace ndAdvancedRobot
{
m_maxScore = rewardTrajectory;
m_bestActor->CopyFrom(*m_master->GetActor());
ndExpandTraceMessage("best actor episode: %d\treward %f\ttrajectoryFrames: %f\n", m_master->GetEposideCount(), 100.0f * m_master->GetAverageScore() / m_horizon, m_master->GetAverageFrames());
ndExpandTraceMessage("best actor episode: %u\treward %f\ttrajectoryFrames: %f\n", m_master->GetEposideCount(), 100.0f * m_master->GetAverageScore() / m_horizon, m_master->GetAverageFrames());
m_lastEpisode = m_master->GetEposideCount();
}
}

if (episodeCount && !m_master->IsSampling())
{
ndExpandTraceMessage("steps: %d\treward: %g\t trajectoryFrames: %g\n", m_master->GetFramesCount(), 100.0f * m_master->GetAverageScore() / m_horizon, m_master->GetAverageFrames());
ndExpandTraceMessage("steps: %u\treward: %g\t trajectoryFrames: %g\n", m_master->GetFramesCount(), 100.0f * m_master->GetAverageScore() / m_horizon, m_master->GetAverageFrames());
if (m_outFile)
{
fprintf(m_outFile, "%g\n", m_master->GetAverageScore());
Expand Down

0 comments on commit 29d85d6

Please sign in to comment.