Faster random index generator for mosaic augmentation (#2345)

* faster random index generator for mosaic augementation

We don't need to access list to generate random index

It makes augmentation slower.

* Update datasets.py

Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
This commit is contained in:
Yonghye Kwon 2021-03-06 06:06:18 +09:00 committed by GitHub
parent e931b9da33
commit 300d518f73
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

Diff Content Not Available