GSTT-CSC / GSTT-CSC/MLOps-tutorial
'Run the training' error
- Langage dominant
- Python
- Étoiles
- 1
- Forks
- 2
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
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
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
Reproduisez la commande de scripts/train.py du répertoire MLOps-tutorial à l’aide de l’environnement ml-venv, puis examinez le traceback à la ligne 78 de mlops-venv\Lib\site-packages\mlops\Experiment.py. Vérifiez les valeurs décrites dans config/local_config.cfg et MLOps\mlflow_server\.env ; le travail est terminé lorsque la commande d’entraînement finale s’exécute correctement sous Windows.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- aws, docker, python
- Domaine
- devops, machine-learning
- Type d'issue
- Bug
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- À clarifier
- Accessibilité débutants
- 35/100