Skip to content

Commit

Permalink
more work on parallel trainer (wip)
Browse files Browse the repository at this point in the history
  • Loading branch information
JulioJerez committed Apr 14, 2024
1 parent d2ea765 commit dedb23a
Show file tree
Hide file tree
Showing 5 changed files with 263 additions and 411 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1038,7 +1038,7 @@ namespace ndQuadruped_1

m_master = ndSharedPtr<ndBrainAgentContinueVPG_TrainerMaster<ND_AGENT_INPUT_SIZE, ND_AGENT_OUTPUT_SIZE>> (new ndBrainAgentContinueVPG_TrainerMaster<ND_AGENT_INPUT_SIZE, ND_AGENT_OUTPUT_SIZE>(hyperParameters));

const ndInt32 count = 3;
const ndInt32 count = 7;
ndMatrix location(matrix);
location.m_posit.m_z -= count * x0 * 0.5f;
for (ndInt32 i = 0; i < count; ++i)
Expand Down Expand Up @@ -1129,7 +1129,7 @@ void ndQuadrupedTest_1(ndDemoEntityManager* const scene)
scene->Set2DDisplayRenderFunction(quadrupedUI);
#endif

matrix.m_posit.m_x -= 4.0f;
matrix.m_posit.m_x -= 8.0f;
matrix.m_posit.m_y += 1.5f;
matrix.m_posit.m_z += 0.25f;
ndQuaternion rotation(ndVector(0.0f, 1.0f, 0.0f, 0.0f), 0.0f * ndDegreeToRad);
Expand Down
Loading

0 comments on commit dedb23a

Please sign in to comment.