當我嘗試在模型注冊表中注冊模型時出現(xiàn)此錯誤。有人可以幫我嗎?RestException: INVALID_PARAMETER_VALUE: Unsupported URI './mlruns' for model registry store. Supported schemes are: ['postgresql', 'mysql', 'sqlite', 'mssql']. See https://www.mlflow.org/docs/latest/tracking.html#storage for how to setup a compatible server.
1 回答

拉丁的傳說
TA貢獻1789條經驗 獲得超8個贊
Mlflow 需要數(shù)據庫作為模型注冊表的數(shù)據存儲,因此您必須使用數(shù)據庫作為后端存儲運行跟蹤服務器,并將模型記錄到該跟蹤服務器。使用 DB 最簡單的方法是使用 SQLite。
mlflow server \ --backend-store-uri sqlite:///mlflow.db \ --default-artifact-root ./artifacts \ --host 0.0.0.0
并將 MLFLOW_TRACKING_URI 環(huán)境變量設置為http://localhost:5000或者
mlflow.set_tracking_uri("http://localhost:5000")
到達 http://localhost:5000 后,您可以從 UI 或代碼注冊一個記錄的模型。
添加回答
舉報
0/150
提交
取消