Skip to content
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.

Commit

Permalink
Update evaluate.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mawah committed Aug 29, 2018
1 parent 1eba8e4 commit 054bf54
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions batchai/evaluate.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ We will apply the trained model to an approximately 1 km x 1 km region centered

We will launch an evaluation job to apply our trained model to a specified region in our evaluation data. Before executing the command below, ensure that the `evaluation_job.json` file contained in this git repository has been downloaded to your computer and is available on the path, and that the training job has finished running.
```
az batchai job create -n evaluationjob -f evaluation_job.json -c batchaidemo --resource-group %AZURE_RESOURCE_GROUP% --location eastus -w %WORKSPACE_NAME% -e %EXPERIMENT_NAME%
az batchai job create -n evaluationjob -f evaluation_job.json -c batchaidemo --resource-group %AZURE_RESOURCE_GROUP% -w %WORKSPACE_NAME% -e %EXPERIMENT_NAME%
```
This job will take ~5 minutes to run; while waiting, you can read the section below for more information on what the job is doing. You can check on the job's progress using the following command:
```
Expand All @@ -15,8 +15,8 @@ az batchai job show -n evaluationjob --resource-group %AZURE_RESOURCE_GROUP% -w

When the job status indicated by the "executionState" changes to "succeeded", the evaluation job is complete. You can also monitor the standard output and error messages as they're produced using the following commands:
```
az batchai job file stream -d stdouterr -j evaluationjob -n stdout.txt -g %AZURE_RESOURCE_GROUP% -w %WORKSPACE_NAME% -e %EXPERIMENT_NAME%
az batchai job file stream -d stdouterr -j evaluationjob -n stderr.txt -g %AZURE_RESOURCE_GROUP% -w %WORKSPACE_NAME% -e %EXPERIMENT_NAME%
az batchai job file stream -d stdouterr -j evaluationjob -f stdout.txt -g %AZURE_RESOURCE_GROUP% -w %WORKSPACE_NAME% -e %EXPERIMENT_NAME%
az batchai job file stream -d stdouterr -j evaluationjob -f stderr.txt -g %AZURE_RESOURCE_GROUP% -w %WORKSPACE_NAME% -e %EXPERIMENT_NAME%
```

To exit the streaming view, press Ctrl+C. You will be asked whether to terminate the job if it is still running: press "N" to indicate that you want the job to continue running.
Expand Down

0 comments on commit 054bf54

Please sign in to comment.