I am trying to combine resnet and bert model but I am running to a dimension mismatch error , I have tried to inspect it through the architecture and have found that it thro