Skip to content

[Question] Rendering of trained agent trials #1

Open

Description

@4078730

Hi,

Thank you very much for sharing such great work!
I am trying to reproduce various methods using these source codes.
How can I render the agent's trials and save a video like the gif on the home page using the learned model parameters?

Thank you ahead!

Activity

  1. xiaogangjia commented on Mar 5, 2024

    @xiaogangjia
    Collaborator

    Hi,

    Thanks for your attention to our work. You can use the run_sim.py to simulate your trained model and set the render param as True in the config file.

    I am sorry the codebase is not clean yet. We will release the fully worked version in next two weeks.

  2. Yuhan-Topia commented on Dec 10, 2024

    @Yuhan-Topia

    Dear Author,
    Hello!
    I'm having an issue when attempting to run the run_sim.py file in the project. Specifically, at line 47 in the "/root/d3il-main/d3il-main/environments/dataset/avoiding_dataset.py" file, which is "env_state = pickle.load(f)", a "_pickle.UnpicklingError: invalid load key, '['" error occurs. I have already added the avoiding data of 'data' to the correct position. Could you please help me with this? Thank you very much for your attention and assistance. It's really troublesome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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