roboflow / inference

A fast, easy-to-use, production-ready inference server for computer vision supporting deployment of many popular model architectures and fine-tuned models.
https://inference.roboflow.com
Other
1.39k stars 134 forks source link

Fixing the bug with two stage workflow and continue-if failing when nothing gets detected by primary model #777

Closed PawelPeczek-Roboflow closed 3 weeks ago

PawelPeczek-Roboflow commented 3 weeks ago

Description

We had a bug in the following setup: object detection -> crop -> classification -> [downstream step], for any downstream block we could not correctly construct empty Batches of inputs whenever nothing was detected by primary model. Turned out to be stupid bug.

Type of change

Please delete options that are not relevant.

How has this change been tested, please provide a testcase or example of how you tested the change?

Any specific deployment considerations

For example, documentation changes, usability, usage/costs, secrets, etc.

Docs