Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

Commit

Permalink
Change default AML experiment name to avoid reaching AML system limit (
Browse files Browse the repository at this point in the history
…#167)

Change the default AML experiment name to username_local_branch_YYYYMM to avoid having too many runs in a single AML experiment.
  • Loading branch information
melanibe committed Aug 12, 2020
1 parent 9b1eff3 commit b23a1d1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion InnerEye/Azure/azure_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
import logging
import sys
from dataclasses import dataclass
from datetime import date
from enum import Enum
from pathlib import Path
from typing import Any, Callable, Dict, List, Optional, Union
Expand Down Expand Up @@ -86,7 +87,7 @@ class AzureConfig(GenericConfig):
doc="The user to associate this experiment with.")
build_source_repository: str = param.String("InnerEye-DeepLearning",
doc="The name of the repository this source belongs to.")
build_branch: str = param.String(getpass.getuser() + "_local_branch",
build_branch: str = param.String(getpass.getuser() + f"_local_branch_{date.today().strftime('%Y%m')}",
doc="The branch this experiment has been triggered from.")
build_source_id: str = param.String("local_commit",
doc="The git commit that was used to create this build.")
Expand Down

0 comments on commit b23a1d1

Please sign in to comment.