Skip to content

Slow inference time #170

Open
Open
@programath

Description

@programath

Hi, I am testing the latency of the model RFDETRBase at different platform. (Quadro GV100 and A800), the latency of inference time are 0.25s and 0.14s. which is much slower then the reported speed. Is that normal speed of rf-detr?

the timer is calcuated as follows:

image = Image.open("/vepfs-sf/wtp2/R-Human/images_resized/video3_frame_00068_204.00s.jpg")
time1 = time.time()
for _ in range(10):
    detections = model.predict(image, threshold=0.5)
print("Inference time:", (time.time() - time1) / 10)

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