How to train LayoutLMv2 on the Sequence Classification task in AWS Sagemaker?

@pierreguillou did you ever figure out what caused this? I’m 90% sure its related to detectron2, but when it happens for me I know detectron2 is part of the docker container…