Skip to content

Commit e7eea18

Browse files
authored
restructure repo (microsoft#335)
* restructure * readme fixes * streamline getting started guidelines * formatting fix * mv .ci to tests/ * update to tests readme * update test paths * ci test path fixes
1 parent 1be5842 commit e7eea18

File tree

122 files changed

+68
-76
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

122 files changed

+68
-76
lines changed

README.md

+8-6
-40.8 KB
Binary file not shown.
Binary file not shown.
-49.1 KB
Binary file not shown.
Binary file not shown.
-54.9 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
-67.4 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
-22.7 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
-49.5 KB
Binary file not shown.
-48.7 KB
Binary file not shown.
-54.9 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
-164 KB
Binary file not shown.
-45.6 KB
Binary file not shown.
-154 KB
Binary file not shown.
Binary file not shown.
-51.1 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
-80.7 KB
Binary file not shown.
Binary file not shown.
-18.5 KB
Binary file not shown.
-104 KB
Binary file not shown.
-40.8 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
-12.7 KB
Binary file not shown.
-105 KB
Binary file not shown.
-63 KB
Binary file not shown.

scenarios/README.md

classification/notebooks/00_webcam.ipynb scenarios/classification/00_webcam.ipynb

+4-4
Original file line numberDiff line numberDiff line change
@@ -59,21 +59,21 @@
5959
},
6060
{
6161
"cell_type": "code",
62-
"execution_count": 2,
62+
"execution_count": 3,
6363
"metadata": {},
6464
"outputs": [
6565
{
6666
"name": "stdout",
6767
"output_type": "stream",
6868
"text": [
69-
"Fast.ai: 1.0.48\n",
70-
"Fast.ai (Torch) is using GPU: Tesla V100-PCIE-16GB\n"
69+
"Fast.ai: 1.0.57\n",
70+
"Torch is using GPU: Tesla V100-PCIE-16GB\n"
7171
]
7272
}
7373
],
7474
"source": [
7575
"import sys\n",
76-
"sys.path.append(\"../../\")\n",
76+
"sys.path.append(\"../../../\")\n",
7777
"import io\n",
7878
"import os\n",
7979
"import time\n",

classification/README.md scenarios/classification/README.md

+15-15
File renamed without changes.

detection/notebooks/00_webcam.ipynb scenarios/detection/00_webcam.ipynb

+3-1
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@
5959
"import sys\n",
6060
"import time\n",
6161
"import urllib.request\n",
62+
"import matplotlib.pyplot as plt\n",
6263
"\n",
6364
"# IPython\n",
6465
"import scrapbook as sb\n",
@@ -569,7 +570,7 @@
569570
"source": [
570571
"Now, click the **capture button** in the widget to start object detection. Labels and bounding boxes are displayed to show the most probable objects predicted by the model for an image snapshot.\n",
571572
"\n",
572-
"![Example Webcam Image](../media/00_webcam_snapshot.png)"
573+
"![Example Webcam Image](media/00_webcam_snapshot.png)"
573574
]
574575
},
575576
{
@@ -639,6 +640,7 @@
639640
}
640641
],
641642
"metadata": {
643+
"celltoolbar": "Tags",
642644
"kernelspec": {
643645
"display_name": "Python (cv)",
644646
"language": "python",

detection/README.md scenarios/detection/README.md

+7-21
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

similarity/README.md scenarios/similarity/README.md

+5-5
File renamed without changes.

.ci/AML-unit-test-linux-cpu.yml tests/.ci/AML-unit-test-linux-cpu.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
variables:
55
- group: AzureMLConfig
66
- name : 'test'
7-
value : '.ci/run_pytest.py'
7+
value : 'tests/.ci/run_pytest.py'
88
- name : 'testfolder'
99
value : 'tests/unit'
1010
- name : 'testmarkers'
@@ -60,12 +60,12 @@ steps:
6060
pip install paramiko==2.4.2;
6161
pip install azureml-sdk;
6262
pip install azure-cli;
63-
python .ci/submit_azureml_pytest.py --subid $(subscriptionid) --test $(test) --testfolder $(testfolder) --condafile $(condafile) --testmarkers $(testmarkers) --clustername $(clustername) --expname $(expname) --dockerproc $(dockerproc) --junitxml $(junitxml) --reponame $(Build.Repository.Name) --branch $(Build.SourceBranchName) --pr $(prtag) --rg $(rg) --wsname $(wsname)
63+
python tests/.ci/submit_azureml_pytest.py --subid $(subscriptionid) --test $(test) --testfolder $(testfolder) --condafile $(condafile) --testmarkers $(testmarkers) --clustername $(clustername) --expname $(expname) --dockerproc $(dockerproc) --junitxml $(junitxml) --reponame $(Build.Repository.Name) --branch $(Build.SourceBranchName) --pr $(prtag) --rg $(rg) --wsname $(wsname)
6464
displayName: 'submit_azureml_pytest'
6565

6666
- task: PublishTestResults@2
6767
displayName: 'Publish Test Results **/test-*.xml'
6868
inputs:
6969
testResultsFiles: '**/test-*.xml'
7070
failTaskOnFailedTests: true
71-
condition: succeededOrFailed()
71+
condition: succeededOrFailed()

.ci/AML-unit-test-linux-gpu.yml tests/.ci/AML-unit-test-linux-gpu.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
variables:
55
- group: AzureMLConfig
66
- name : 'test'
7-
value : '.ci/run_pytest.py'
7+
value : 'tests/.ci/run_pytest.py'
88
- name : 'testfolder'
99
value : 'tests/unit'
1010
- name : 'testmarkers'
@@ -54,7 +54,7 @@ steps:
5454
pip install paramiko==2.4.2;
5555
pip install --upgrade azureml-sdk;
5656
pip install azure-cli;
57-
python .ci/submit_azureml_pytest.py --subid $(subscriptionid) --test $(test) --testfolder $(testfolder) --condafile $(condafile) --testmarkers $(testmarkers) --clustername $(clustername) --expname $(expname) --dockerproc $(dockerproc) --junitxml $(junitxml) --reponame $(Build.Repository.Name) --branch $(Build.SourceBranchName) --rg $(rg) --wsname $(wsname)
57+
python tests/.ci/submit_azureml_pytest.py --subid $(subscriptionid) --test $(test) --testfolder $(testfolder) --condafile $(condafile) --testmarkers $(testmarkers) --clustername $(clustername) --expname $(expname) --dockerproc $(dockerproc) --junitxml $(junitxml) --reponame $(Build.Repository.Name) --branch $(Build.SourceBranchName) --rg $(rg) --wsname $(wsname)
5858
displayName: 'submit_azureml_pytest'
5959

6060
- task: PublishTestResults@2
@@ -63,4 +63,4 @@ steps:
6363
inputs:
6464
testResultsFiles: '**/test-*.xml'
6565
failTaskOnFailedTests: true
66-
testRunTitle: 'Test results for CV AzureML PyTest'
66+
testRunTitle: 'Test results for CV AzureML PyTest'

0 commit comments

Comments
 (0)