Skip to content

The observation images regenerated by the dataset_state_to_obs script are upside down. #203

@pumfish

Description

@pumfish

Hi,I'm using the Robomimic to regenerate demonstration by dataset_state_to_obs.py, follow this https://robomimic.github.io/docs/datasets/robosuite.html#extracting-observations-from-mujoco-states
But I found that the regenerate image, eg., frontview_image is upside down.
I have set ```macros.IMAGE_CONVENTION="opencv"````, but it's uesless. Is there something I haven't set up correctly?
Below is my scripts

 python dataset_states_to_obs.py --dataset ${DATA_DIR} \
         --output_name "add_agentview_demo.hdf5" \
         --done_mode 0 --shaped \
         --camera_names frontview agentview --depth \
         --camera_height 256 --camera_width 256 \

By the way, I also found that the depth vaule is different from the original. for example, the original depth from frontview_depth is from 0.992 to 0.997, but the regenerate depth value is from 1.3 to 3.8

How can I solve these issues?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions