mirror of
https://github.com/huggingface/lerobot.git
synced 2026-07-19 07:51:43 +00:00
chore(dependencies): bump gr00t to transformers v5
This commit is contained in:
@@ -14,7 +14,7 @@ from transformers.image_processing_utils import (
|
|||||||
)
|
)
|
||||||
from transformers.image_processing_utils_fast import (
|
from transformers.image_processing_utils_fast import (
|
||||||
BaseImageProcessorFast,
|
BaseImageProcessorFast,
|
||||||
DefaultFastImageProcessorKwargs,
|
ImagesKwargs,
|
||||||
group_images_by_shape,
|
group_images_by_shape,
|
||||||
reorder_images,
|
reorder_images,
|
||||||
)
|
)
|
||||||
@@ -77,7 +77,7 @@ def crop(img: torch.Tensor, left: int, top: int, right: int, bottom: int) -> tor
|
|||||||
return img[:, top:bottom, left:right]
|
return img[:, top:bottom, left:right]
|
||||||
|
|
||||||
|
|
||||||
class Eagle25VLFastImageProcessorKwargs(DefaultFastImageProcessorKwargs):
|
class Eagle25VLFastImageProcessorKwargs(ImagesKwargs):
|
||||||
max_dynamic_tiles: int | None
|
max_dynamic_tiles: int | None
|
||||||
min_dynamic_tiles: int | None
|
min_dynamic_tiles: int | None
|
||||||
use_thumbnail: bool | None
|
use_thumbnail: bool | None
|
||||||
|
|||||||
Reference in New Issue
Block a user