Skip to content

Commit

Permalink
Fix hierarchy generation inference logic
Browse files Browse the repository at this point in the history
  • Loading branch information
kklemon committed Sep 25, 2024
1 parent 4610f65 commit 1939250
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/penai/hierarchy_generation/inference.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,8 @@ def infer_shape_hierarchy(
vis.label.replace("#", ""): vis.shape for vis in visualizations
}

queried_hierarchy = InferencedHierarchySchema(**queried_hierarchy)

hierarchy = HierarchyElement.from_hierarchy_schema(
label_shape_mapping, queried_hierarchy
)
Expand Down

0 comments on commit 1939250

Please sign in to comment.