# What should be the size of random crops?

**URL:** <https://discuss.pytorch.org/t/what-should-be-the-size-of-random-crops/60566>\
**Category:** Uncategorized\
**Created:** [November 10, 2019, 9:43pm UTC](https://discuss.pytorch.org/t/what-should-be-the-size-of-random-crops/60566 "2019-11-10T21:43:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![zimmer550](https://discuss.pytorch.org/letter_avatar_proxy/v4/letter/z/bbe5ce/32.png) [@zimmer550](https://discuss.pytorch.org/u/zimmer550)\
**Post date:** [November 10, 2019, 9:43pm UTC](https://discuss.pytorch.org/t/what-should-be-the-size-of-random-crops/60566/1 "2019-11-10T21:43:44Z")

</div>

If I have an image of 800 by 600 then should the random crop still be 256 by 256 or is there a formula for deciding the size of random crop based on original image dimensions?

---

<div class="post-metadata">

**Author:** ![JuanFMontesinos](https://discuss.pytorch.org/user_avatar/discuss.pytorch.org/juanfmontesinos/32/76115_2.png) [@JuanFMontesinos](https://discuss.pytorch.org/u/JuanFMontesinos)\
**Post date:** [November 11, 2019, 12:01am UTC](https://discuss.pytorch.org/t/what-should-be-the-size-of-random-crops/60566/2 "2019-11-11T00:01:30Z")

</div>

There is no formula but you should consider the size of the object in the original image.  
As you may imagine you need to catch enough info to be useful
