Open NielsRogge opened 1 month ago
@NielsRogge , Will do that .
Great, see https://github.com/microsoft/table-transformer/blob/16d124f616109746b7785f03085100f1f6247575/src/inference.py#L39-L49 as there's a difference between the detection model and the structure recognition models
@NielsRogge just to reconfirm. we need to have a image_processing_table_transformer
defining TableTransformerImageProcessor
that has specific TableTransformer transform for structure/detect.
Any other specifics apart from that ? any other diff ? I will anyways try finding.
Feature request
The Table Transformer is a model with basically the same architecture as DETR.
Now, when people do this:
this will print
DetrImageProcessor
.However, Table Transformer has some specific image processing settings which aren't exactly the same as in DETR:
Hence we could create a separate
TableTransformerImageProcessor
which replicates this.Motivation
Would be great to 100% replicate original preprocessing settings
Your contribution
I could work on this but would be great if someone else can take this up