Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Using ML Flow>train projects remote throwing error for conda env path

Đang mở
#1,843 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
45/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
azure, jupyter-notebook, python
Lĩnh vực
machine-learning

Hướng nghiên cứu

Bắt đầu với notebooks/how-to-use-azureml/track-and-monitor-experiments/using-mlflow/train-projects-remote/train-projects-remote.ipynb và lệnh gọi mlflow.projects.run đang bị lỗi trong ô 15. Theo dõi cách backend Azure ML xử lý đối tượng Project và tra cứu môi trường conda của đối tượng này. Công việc được xem là hoàn tất khi experiment từ xa chạy mà không gặp conda_env_path AttributeError.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

When executing the train-projects-remote notebook in VS Code it throws and error when you try to run the experiment.
AttributeError: 'Project' object has no attribute 'conda_env_path'

Output exceeds the size limit. Open the full output data in a text editor

AttributeError Traceback (most recent call last)
/home/brcampb/projects/ml/notebooks/how-to-use-azureml/track-and-monitor-experiments/using-mlflow/train-projects-remote/train-projects-remote.ipynb Cell 15 in <cell line: 1>()
----> 1 remote_mlflow_run = mlflow.projects.run(uri=".",
2 parameters={"alpha":0.3},
3 backend = "azureml",
4 backend_config = backend_config,
5 synchronous=True)

File ~/miniconda3/envs/azureml/lib/python3.8/site-packages/mlflow/projects/init.py:331, in run(uri, entry_point, version, parameters, docker_args, experiment_name, experiment_id, backend, backend_config, use_conda, storage_dir, synchronous, run_id, run_name, env_manager)
325 backend_config_dict[MLFLOW_LOCAL_BACKEND_RUN_ID_CONFIG] = run_id
327 experiment_id = _resolve_experiment_id(
328 experiment_name=experiment_name, experiment_id=experiment_id
329 )
--> 331 submitted_run_obj = _run(
332 uri=uri,
333 experiment_id=experiment_id,
334 entry_point=entry_point,
335 version=version,
336 parameters=parameters,
337 docker_args=docker_args,
338 backend_name=backend,
339 backend_config=backend_config_dict,
340 env_manager=env_manager,
341 storage_dir=storage_dir,
...
---> 96 if mlproject.conda_env_path:
97 _logger.info(_CONSOLE_MSG.format("Creating remote conda environment for project using MLproject"))
98 environment = Environment.from_conda_specification(name="environment", file_path=mlproject.conda_env_path)

AttributeError: 'Project' object has no attribute 'conda_env_path'

Ngôn ngữ chính
Jupyter Notebook
Star
4.4k
Fork
2.6k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Azure/MachineLearningNotebooks

Tất cả issue của Azure/MachineLearningNotebooks

Issue tương tự

Thêm issue về Machine Learning

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.