I have tried getting the fine-tuning of the mask2former model to work but all of a sudden I am getting the above error every time I try to run inference. Specifically the error occurs when the resulting inputs from the image processor get passed to the model.
I don't get this error when training the model, only on inference. I also ran the exact code as in the Inference_with_Mask2Former.ipynb and I'm still getting the error.
I have tried getting the fine-tuning of the mask2former model to work but all of a sudden I am getting the above error every time I try to run inference. Specifically the error occurs when the resulting inputs from the image processor get passed to the model. I don't get this error when training the model, only on inference. I also ran the exact code as in the Inference_with_Mask2Former.ipynb and I'm still getting the error.