# VideoMAE model does not accept batch size \> 1

**URL:** <https://discuss.huggingface.co/t/videomae-model-does-not-accept-batch-size-1/23619>\
**Category:** Models\
**Created:** [September 26, 2022, 8:49am UTC](https://discuss.huggingface.co/t/videomae-model-does-not-accept-batch-size-1/23619 "2022-09-26T08:49:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anunez](https://avatars.discourse-cdn.com/v4/letter/a/e9a140/32.png) [@anunez](https://discuss.huggingface.co/u/anunez)\
**Post date:** [September 26, 2022, 8:49am UTC](https://discuss.huggingface.co/t/videomae-model-does-not-accept-batch-size-1/23619/1 "2022-09-26T08:49:08Z")

</div>

Hi,

I was trying to make the [VideoMAE](https://huggingface.co/docs/transformers/main/en/model_doc/videomae) model work with a batch size \> 1 but I see this is not possible. Is this the expected behaviour?

I believe there is a [similar issue](https://discuss.huggingface.co/t/videomae-pretrain-batch-masking/22176) with no answer.

Thank you.

---

<div class="post-metadata">

**Author:** ![nielsr](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/nielsr/32/39617_2.png) [@nielsr](https://discuss.huggingface.co/u/nielsr)\
**Post date:** [September 26, 2022, 11:02am UTC](https://discuss.huggingface.co/t/videomae-model-does-not-accept-batch-size-1/23619/2 "2022-09-26T11:02:51Z")

</div>

Hi,

Thanks for your interest in VideoMAE! I’ve replied on the linked issue.
