Skip to content

ValueError: No bounded region found for object winerack_left_group_1 crashes env setup for K4 scene tasks #42

@Yian0520

Description

@Yian0520

Hey developers, thanks for sharing this dataset with the community. I encountered the following issue:

When attempting to build any environment from the K4 scene (e.g. L90K4PutTheBlackBowlOnTopOfTheCabinet L90K4CloseTheBottomDrawerOfTheCabinet, L90K4PutTheWineBottleOnTheWineRack, etc.), the environment setup crashes during object placement sampling with the following error:

  File ".../lw_benchhub/utils/place_utils/usd_object.py", line 161, in bounded_region_name
      raise ValueError(f"No bounded region found for object {self.name}")
  ValueError: No bounded region found for object winerack_left_group_1

Full traceback:

  File ".../lw_benchhub/core/tasks/base.py", line 862, in setup_env_config
      self.object_placements = EnvUtils.sample_object_placements(orchestrator)
  File ".../lw_benchhub/utils/place_utils/env_utils.py", line 1126, in sample_object_placements
      return orchestrator.task.placement_initializer.sample(...)
  File ".../lw_benchhub/utils/place_utils/placement_samplers.py", line 671, in sample
      new_placements = sampler.sample(placed_objects=placed_objects, ...)
  File ".../lw_benchhub/utils/place_utils/placement_samplers.py", line 475, in sample
      if objs_intersect(
  File ".../lw_benchhub/utils/object_utils.py", line 351, in objs_intersect
      other_obj_points = other_obj.get_bbox_points(...)
  File ".../lw_benchhub/utils/place_utils/usd_object.py", line 188, in get_bbox_points
      name = self.bounded_region_name
  ValueError: No bounded region found for object winerack_left_group_1

All K4-scene tasks that include the wine rack as a scene fixture are affected because the object has no bounded region defined in its USD asset.

It would be great if you can take a look. Thank you!

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