-
Notifications
You must be signed in to change notification settings - Fork 119
Description
Hi,I can run sim2sim with the original policy.onnx,which can correctly control the robot to move forward and backward.But when i try to replace the policy.onnx with my own trained tmp_policy.onnx.And I directly change the depoy c++ code, from
env->alg = std::make_uniqueisaaclab::OrtRunner(policy_dir / "exported" / "policy.onnx");
to
env->alg = std::make_uniqueisaaclab::OrtRunner(policy_dir / "exported" / "tmp_policy.onnx");
besides,I did nothing to the source code. But the g1_29dof robot directly crashed.
And the "tmp_policy.onnx file is generated by the play.py of this repo.And in isaacsim the g1_29dof_robot works well! it can normally walk.
And when I change the depoy c++ code, from
env->alg = std::make_uniqueisaaclab::OrtRunner(policy_dir / "exported" / "tmp_policy.onnx");
to
when i try to replace the policy.onnx with my own trained tmp_policy.onnx.And I directly change the depoy c++ code, from
env->alg = std::make_uniqueisaaclab::OrtRunner(policy_dir / "exported" / "policy.onnx");
everything goes right! which means robot can normally walk again in mujoco!
which means the only difference is the onnx file
Can anybody help me? Thanks!!!!!!!