Skip to content

Commit

Permalink
fix: image_classification_with_densenet (#1981)
Browse files Browse the repository at this point in the history
* fix: AZ_BATCH_JOB_ID => AZUREML_RUN_ID

* fix: black
  • Loading branch information
elliotzh committed Dec 13, 2022
1 parent e518337 commit 41dfe53
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -623,7 +623,7 @@ def train_loop(
ts = str(time.time())
# logdir = os.path.expanduser('~/tensorboard/{}/logs/'.format(os.environ['DLTS_JOB_ID']) + ts)
logdir = os.path.expanduser(
"~/tensorboard/{}/logs/".format(os.environ["AZ_BATCH_JOB_ID"]) + ts
"~/tensorboard/{}/logs/".format(os.environ["AZUREML_RUN_ID"]) + ts
)
print("tensorboard at ", logdir)
if not os.path.exists(logdir):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@
"source": [
"# Install docker package in the current Jupyter kernel\n",
"import sys\n",
"\n",
"!{sys.executable} -m pip install docker"
]
},
Expand Down

0 comments on commit 41dfe53

Please sign in to comment.