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 authored Mar 5, 2021
1 parent 0a4adf0 commit 8fc90bd
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 8fc90bd

Please sign in to comment.