Detr Partitioner¶
- class sycamore.transforms.detr_partitioner.DeformableDetr(model_name_or_path, device=None, cache: Cache | None = None)[source]¶
Bases:
SycamoreObjectDetection
- class sycamore.transforms.detr_partitioner.SycamoreObjectDetection[source]¶
Bases:
ABCWrapper class for the various object detection models.
- class sycamore.transforms.detr_partitioner.ArynPDFPartitioner(model_name_or_path='Aryn/deformable-detr-DocLayNet', device=None, cache: Cache | None = None)[source]¶
Bases:
objectThis class contains the implementation of PDF partitioning using a Deformable DETR model.
This is an implementation class. Callers looking to partition a DocSet should use the ArynPartitioner class.