10 lines
183 B
Python
10 lines
183 B
Python
import os
|
|
import sys
|
|
|
|
local_rank = int(os.environ.get("LOCAL_RANK", 0))
|
|
os.environ["RANK"] = str(local_rank)
|
|
|
|
from ultralytics.cfg import entrypoint
|
|
sys.argv[0] = "yolo"
|
|
entrypoint()
|