GSTT-CSC / GSTT-CSC/MLOps-tutorial
'Run the training' error
- 主要言語
- Python
- スター
- 1
- フォーク
- 2
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
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
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
MLOps-tutorial ディレクトリの scripts/train.py にあるコマンドを ml-venv 環境で再現し、その後 mlops-venv\Lib\site-packages\mlops\Experiment.py の 78 行目にある traceback を調査します。config/local_config.cfg と MLOps\mlflow_server\.env に記載されている値を確認します。Windows 上で最終的なトレーニングコマンドが正常に完了すれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- aws, docker, python
- 領域
- devops, machine-learning
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 35/100