Skip to content

Commit

Permalink
Avoid annoying pandas warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
faustomorales committed Apr 20, 2023
1 parent 4c2ad0f commit fea2174
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mira/core/scene.py
Original file line number Diff line number Diff line change
Expand Up @@ -612,7 +612,7 @@ def augment(
pd.DataFrame(transformed["keypoints"][4:], columns=["x", "y"]),
],
axis=1,
).groupby(["annIdx"])
).groupby("annIdx")
]
recropped = [
ann.crop(width=image.shape[1], height=image.shape[0]) for ann in annotations
Expand Down

0 comments on commit fea2174

Please sign in to comment.