Skip to content

Commit

Permalink
Faster random index generator for mosaic augmentation (ultralytics#2345)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
developer0hye and glenn-jocher committed Mar 5, 2021
1 parent 05895e9 commit e3a9228
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit e3a9228

Please sign in to comment.