[data] add min resolution option (#6975)
Former-commit-id: 76bd9a98a2fb00f1a1d881e6e1364c02fd36d327
This commit is contained in:
@@ -58,14 +58,22 @@ class ProcessorArguments:
|
||||
Arguments pertaining to the image processor.
|
||||
"""
|
||||
|
||||
image_resolution: int = field(
|
||||
image_max_resolution: int = field(
|
||||
default=768 * 768,
|
||||
metadata={"help": "The maximum number of pixels of image inputs."},
|
||||
)
|
||||
video_resolution: int = field(
|
||||
image_min_resolution: int = field(
|
||||
default=32 * 32,
|
||||
metadata={"help": "The minimum number of pixels of image inputs."},
|
||||
)
|
||||
video_max_resolution: int = field(
|
||||
default=256 * 256,
|
||||
metadata={"help": "The maximum number of pixels of video inputs."},
|
||||
)
|
||||
video_min_resolution: int = field(
|
||||
default=16 * 16,
|
||||
metadata={"help": "The minimum number of pixels of video inputs."},
|
||||
)
|
||||
video_fps: float = field(
|
||||
default=2.0,
|
||||
metadata={"help": "The frames to sample per second for video inputs."},
|
||||
|
||||
Reference in New Issue
Block a user