ultralytics 8.2.99 faster JSONDict settings (#16427)
Signed-off-by: UltralyticsAssistant <web@ultralytics.com> Co-authored-by: UltralyticsAssistant <web@ultralytics.com>
This commit is contained in:
parent
f5a60c6340
commit
43726d699f
7 changed files with 64 additions and 51 deletions
|
|
@ -27,6 +27,7 @@ def test_mlflow():
|
|||
"""Test training with MLflow tracking enabled (see https://mlflow.org/ for details)."""
|
||||
SETTINGS["mlflow"] = True
|
||||
YOLO("yolov8n-cls.yaml").train(data="imagenet10", imgsz=32, epochs=3, plots=False, device="cpu")
|
||||
SETTINGS["mlflow"] = False
|
||||
|
||||
|
||||
@pytest.mark.skipif(True, reason="Test failing in scheduled CI https://github.com/ultralytics/ultralytics/pull/8868")
|
||||
|
|
@ -58,6 +59,7 @@ def test_mlflow_keep_run_active():
|
|||
YOLO("yolov8n-cls.yaml").train(data="imagenet10", imgsz=32, epochs=1, plots=False, device="cpu")
|
||||
status = mlflow.get_run(run_id=run_id).info.status
|
||||
assert status == "FINISHED", "MLflow run should be ended by default when MLFLOW_KEEP_RUN_ACTIVE is not set"
|
||||
SETTINGS["mlflow"] = False
|
||||
|
||||
|
||||
@pytest.mark.skipif(not check_requirements("tritonclient", install=False), reason="tritonclient[all] not installed")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue