Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
wonjuleee committed Nov 13, 2023
1 parent caac995 commit 9ac8cac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/datumaro/components/media.py
Original file line number Diff line number Diff line change
Expand Up @@ -1084,7 +1084,7 @@ def from_bytes(cls, *args, **kwargs):
raise DatumaroError(f"Please use a factory function '{cls.__name__}.from_image_roi_pairs'.")


class MosiacImageFromData(FromDataMixin, MosaicImage):
class MosaicImageFromData(FromDataMixin, MosaicImage):
def save(
self,
fp: Union[str, io.IOBase],
Expand All @@ -1104,7 +1104,7 @@ def save(
save_image(fp, data, ext=new_ext, crypter=crypter)


class MosaicImageFromImageRoIPairs(MosiacImageFromData):
class MosaicImageFromImageRoIPairs(MosaicImageFromData):
def __init__(self, data: List[ImageWithRoI], size: Tuple[int, int]) -> None:
def _get_mosaic_img() -> np.ndarray:
h, w = self.size
Expand Down

0 comments on commit 9ac8cac

Please sign in to comment.