mlflow / mlflow-export-import

Apache License 2.0
110 stars 70 forks source link

Error no experiment.json #151

Closed GrigoriiTarasov closed 8 months ago

GrigoriiTarasov commented 8 months ago
export MLFLOW_TRACKING_URI=http://localhost:5000

export-experiment \
  --experiment text_sort_cl \
  --output-dir ./
MLflow Version: 2.7.1
MLflow Tracking URI: http://localhost:5000
Options:
  experiment: text_sort_cl
  output_dir: ./
  notebook_formats: 
Databricks REST client: http://localhost:5000/api/2.0
Exporting experiment 'text_sort_cl' (ID 708517424631681379) to './'
Exporting run 1: 385f08ef1c46424b8f8c867e47d7abf9 of experiment 708517424631681379
All 1 runs succesfully exported for experiment 'text_sort_cl' (ID: 708517424631681379)
export MLFLOW_TRACKING_URI=http://localhost:5000

import-experiment \
  --experiment-name text_sort_cl \
  --input-dir ./385f08ef1c46424b8f8c867e47d7abf9
"/home/username/mambaforge/lib/python3.10/site-packages/mlflow_export_import/common/io_utils.py", line 80, in read_file
    with open(_filesystem.mk_local_path(path), "r", encoding="utf-8") as f:
FileNotFoundError: [Errno 2] No such file or directory: './385f08ef1c46424b8f8c867e47d7abf9/experiment.json'
GrigoriiTarasov commented 8 months ago

Ok exports don't create experiment folder so the --output-dir should be pre-created experiment folder