Skip to content

[Bug/Assistance] TypeError: new(): invalid data type 'str' #17

@ngc7292

Description

@ngc7292

when i run

OMNIGIBSON_HEADLESS="1" python main.py --task assembling_gift_baskets --scene Beechwood_0_int --port 10001 --max_round 50

for omnigibson, i got this error

  File "/omnigibson-src/omnigibson/objects/controllable_object.py", line 83, in __init__                                                                     
    self._reset_joint_pos = None if reset_joint_pos is None else th.tensor(reset_joint_pos, dtype=th.float)                                                  
TypeError: new(): invalid data type 'str'

and reset_joint_pos is str('tuck')

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    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