Skip to content

met g1_29dof sim2sim problem #82

@DavidZhaoP

Description

@DavidZhaoP

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!!!!!!!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions