GSTT-CSC / GSTT-CSC/MLOps-tutorial
'Run the training' error
- Ngôn ngữ chính
- Python
- Star
- 1
- Fork
- 2
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
Issues with the final 'run the training' step in the tutorial
Running through VSCode on Windows, in the terminal at MLOps-tutorial path in virtual environment ml-venv:
mlops run scripts/train.py -c config/local_config.cfg --ignore_git_check
Error message:
logger.debug(f'Found minio credentials in {self.auth.method}')
AttributeError: 'NoneType' object has no attribute 'method'
@ mlops-venv\Lib\site-packages\mlops\Experiment.py line 78
This is a couple lines after: self.auth = boto3.session.Session().get_credentials()
I attempted to fix the issue by setting the environmental variables to those in MLOps\mlflow_server\.env by using setx in the terminal (https://docs.aws.amazon.com/cli/v1/userguide/cli-configure-envvars.html) but the code still failed at the same point
Docker, XNAT, and all other parts are functioning fine
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
Hướng nghiên cứu
Tái hiện lệnh trong scripts/train.py từ thư mục MLOps-tutorial bằng môi trường ml-venv, sau đó kiểm tra traceback tại dòng 78 của mlops-venv\Lib\site-packages\mlops\Experiment.py. Kiểm tra các giá trị được mô tả trong config/local_config.cfg và MLOps\mlflow_server\.env; hoàn tất có nghĩa là lệnh huấn luyện cuối cùng hoàn thành thành công trên Windows.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- aws, docker, python
- Lĩnh vực
- devops, machine-learning
- Loại issue
- Lỗi
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 35/100