Skip to content

Commit

Permalink
style
Browse files Browse the repository at this point in the history
  • Loading branch information
MateoLostanlen committed Oct 26, 2023
1 parent ed6303b commit b3d750f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pyroengine/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,4 @@ def __repr__(self) -> str:
repr_str = f"{self.__class__.__name__}("
for cam in self.cameras:
repr_str += f"\n\t{repr(cam)},"
return repr_str + "\n)"
return repr_str + "\n)"
2 changes: 1 addition & 1 deletion pyroengine/engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -447,4 +447,4 @@ def _clean_local_backup(self, backup_cache) -> None:
if s > self._backup_size:
shutil.rmtree(folder)
else:
break
break
2 changes: 1 addition & 1 deletion pyroengine/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,4 +108,4 @@ def nms(boxes: np.ndarray, overlapThresh: int = 0):
if np.any(rr[i, temp_indices] > overlapThresh):
indices = indices[indices != i]

return boxes[indices]
return boxes[indices]
2 changes: 1 addition & 1 deletion pyroengine/vision.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,4 +96,4 @@ def __call__(self, pil_img: Image.Image, occlusion_mask: Optional[np.ndarray] =

y = y[keep]

return y
return y

0 comments on commit b3d750f

Please sign in to comment.