Skip to content

needs to be checked if PE model accepts batches (if so - maybe worth claiming use of batches of inputs) #1377

Open
@grzegorz-roboflow

Description

@grzegorz-roboflow

needs to be checked if PE model accepts batches (if so - maybe worth claiming use of batches of inputs)

Originally posted by @PawelPeczek-Roboflow in #1350 (comment)

looks like it does:

Clip also does actually and block decalres input the same way:
data: Union[Selector(kind=[IMAGE_KIND, STRING_KIND]), str]

@PawelPeczek-Roboflow Is this the only thing that would need to be added?

@classmethod
def get_parameters_accepting_batches(cls) -> List[str]:
    return ["data"]

(above results in 'Batch' object has no attribute 'to_inference_format')

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions