new check_dataset functions (#43)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
parent
d143ac666f
commit
1f3aad86c1
13 changed files with 336 additions and 62 deletions
|
|
@ -7,7 +7,7 @@ from pathlib import Path
|
|||
|
||||
# Constants
|
||||
FILE = Path(__file__).resolve()
|
||||
ROOT = FILE.parents[2] # YOLOv5 root directory
|
||||
ROOT = FILE.parents[2] # YOLO
|
||||
RANK = int(os.getenv('RANK', -1))
|
||||
DATASETS_DIR = ROOT.parent / 'datasets' # YOLOv5 datasets directory
|
||||
NUM_THREADS = min(8, max(1, os.cpu_count() - 1)) # number of YOLOv5 multiprocessing threads
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue