Skip to content

'Run the training' error #7

@SJM724

Description

@SJM724

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions