Skip to content

Phase step_num unable to customize #36

@zijiebite

Description

@zijiebite
  • real-robots version:0.1.21
  • Python version:3.8.8
  • Operating System:RedHat

Description

I use the starterkit AIcrowd offered and tried to customize intrinsic phase to 1e6 instead of 15e6 (which is the default value).
The progress bar works well but the environment is not turning "done" to True, after 1e6 steps, and the environment continues to run untill 15e6 steps finished.

What I Did

A fix suggestions

line 32 ~34 of real_robots/envs/env.py assigns default data to global value "intrinsic_timesteps", "extrinsic_timesteps", "extrinsic_trials", which cannot be changed by changing the parameters offered to function "real_robots.evaluate".
Probably these three lines should be moved inside "init" so that they can be modified while building the environment

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