# DetrImageProcessor.normalize\_annotation() got an unexpected keyword argument 'input\_data\_format'

**URL:** <https://discuss.huggingface.co/t/detrimageprocessor-normalize-annotation-got-an-unexpected-keyword-argument-input-data-format/51694>\
**Category:** 🤗Transformers\
**Created:** [August 22, 2023, 3:06pm UTC](https://discuss.huggingface.co/t/detrimageprocessor-normalize-annotation-got-an-unexpected-keyword-argument-input-data-format/51694 "2023-08-22T15:06:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![akar49](https://avatars.discourse-cdn.com/v4/letter/a/7bcc69/32.png) [@akar49](https://discuss.huggingface.co/u/akar49)\
**Post date:** [August 22, 2023, 3:06pm UTC](https://discuss.huggingface.co/t/detrimageprocessor-normalize-annotation-got-an-unexpected-keyword-argument-input-data-format/51694/1 "2023-08-22T15:06:43Z")

</div>

This error is suddenly showing today- Even if you run the tutorial on colab:

> **[Object detection](https://huggingface.co/docs/transformers/tasks/object_detection)**
>
> We’re on a journey to advance and democratize artificial intelligence through open source and open science.

Any ideas whats going on?

---

<div class="post-metadata">

**Author:** ![akar49](https://avatars.discourse-cdn.com/v4/letter/a/7bcc69/32.png) [@akar49](https://discuss.huggingface.co/u/akar49)\
**Post date:** [August 22, 2023, 9:44pm UTC](https://discuss.huggingface.co/t/detrimageprocessor-normalize-annotation-got-an-unexpected-keyword-argument-input-data-format/51694/2 "2023-08-22T21:44:41Z")

</div>

This is actually arising in the latest transformers library version, need to use older versions (4.3.1) to avoid this
