# Index out of range layoutlm

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Findex-out-of-range-layoutlm%2F2516%3E%5C
**Category:** Beginners\
**Created:** [December 4, 2020, 7:46am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Findex-out-of-range-layoutlm%2F2516 "2020-12-04T07:46:50Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![juvebogdan](https://avatars.discourse-cdn.com/v4/letter/j/cc9497/32.png) [@juvebogdan](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fjuvebogdan)%5C
**Post date:** [March 9, 2021, 9:38am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Findex-out-of-range-layoutlm%2F2516%2F4 "2021-03-09T09:38:22Z")

</div>

@keshav5196 Check your bounding boxes. In my case, I found out that some of the handwritten text was vertical. Layoutlm doesn’t like that. Just remove boxes like that

---

_[View the full topic](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Findex-out-of-range-layoutlm%2F2516)._
