Based on the error message a 5D input tensors is expected. As described in the docs 1 the tensors should have the shape [batch_size, 3, T, H, W], where T represents the number of frames while H and W were set to 112 in the pretrained models.