GSTT-CSC / GSTT-CSC/MLOps-tutorial

'Run the training' error

Offen
#7 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Python
Sterne
1
Forks
2
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.