ValueError: too many values to unpack (expected 3) using the DETR model

I’m using a custom dataset to retrain(fine-tune) the DETR model. After Augmenting and preprocessing my images using image_processor = AutoImageProcessor.from_pretrained(checkpoint) I get this errror ValueError: too many values to unpack (expected 3) when I run trainer.train(). Please what could be the cause of this