Skip to content

Commit 3dc96e0

Browse files
authored
Update assets location (#637)
1 parent 17541b1 commit 3dc96e0

File tree

23 files changed

+70
-62
lines changed

23 files changed

+70
-62
lines changed

contrib/html_demo/JupyterCode/3_deployment_to_azure_app_service.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -506,7 +506,7 @@
506506
"import json\n",
507507
"\n",
508508
"# Extract test images paths\n",
509-
"im_url_root = \"https://cvbp.blob.core.windows.net/public/images/\"\n",
509+
"im_url_root = \"https://cvbp-secondary.z19.web.core.windows.net/images/\"\n",
510510
"im_filenames = [\"cvbp_milk_bottle.jpg\", \"cvbp_water_bottle.jpg\"]\n",
511511
"\n",
512512
"for im_filename in im_filenames:\n",

contrib/html_demo/UICode/index.html

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<meta charset="utf-8">
66
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"/>
77
<title>Microsoft CVBP - HTML Demo</title>
8-
<link rel = "icon" href ="https://cvbp.blob.core.windows.net/public/html_demo/img/logo_small.png" type = "image/x-icon">
8+
<link rel = "icon" href ="https://cvbp-secondary.z19.web.core.windows.net/html_demo/img/logo_small.png" type = "image/x-icon">
99
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh"
1010
crossorigin="anonymous">
1111
<link href="style.css" rel="stylesheet" type="text/css" />
@@ -202,34 +202,34 @@ <h3>Microsoft Mentors:</h3>
202202
<div class="card-body">
203203
<div class="row text-center">
204204
<div class="col-xs">
205-
<img id="sample1" data-eid="1" class="rounded m-2 sImg" src="https://cvbp.blob.core.windows.net/public/html_demo/img/can_1.jpg">
205+
<img id="sample1" data-eid="1" class="rounded m-2 sImg" src="https://cvbp-secondary.z19.web.core.windows.net/html_demo/img/can_1.jpg">
206206
</div>
207207
<div class="col-xs">
208-
<img id="sample2" data-eid="2" class="rounded m-2 sImg" src="https://cvbp.blob.core.windows.net/public/html_demo/img/can_15.jpg">
208+
<img id="sample2" data-eid="2" class="rounded m-2 sImg" src="https://cvbp-secondary.z19.web.core.windows.net/html_demo/img/can_15.jpg">
209209
</div>
210210
<div class="col-xs">
211-
<img id="sample3" data-eid="3" class="rounded m-2 sImg" src="https://cvbp.blob.core.windows.net/public/html_demo/img/can_28.jpg">
211+
<img id="sample3" data-eid="3" class="rounded m-2 sImg" src="https://cvbp-secondary.z19.web.core.windows.net/html_demo/img/can_28.jpg">
212212
</div>
213213
<div class="col-xs">
214-
<img id="sample4" data-eid="4" class="rounded m-2 sImg" src="https://cvbp.blob.core.windows.net/public/html_demo/img/carton_33.jpg">
214+
<img id="sample4" data-eid="4" class="rounded m-2 sImg" src="https://cvbp-secondary.z19.web.core.windows.net/html_demo/img/carton_33.jpg">
215215
</div>
216216
<div class="col-xs">
217-
<img id="sample5" data-eid="5" class="rounded m-2 sImg" src="https://cvbp.blob.core.windows.net/public/html_demo/img/carton_40.jpg">
217+
<img id="sample5" data-eid="5" class="rounded m-2 sImg" src="https://cvbp-secondary.z19.web.core.windows.net/html_demo/img/carton_40.jpg">
218218
</div>
219219
<div class="col-xs">
220-
<img id="sample6" data-eid="6" class="rounded m-2 sImg" src="https://cvbp.blob.core.windows.net/public/html_demo/img/carton_50.jpg">
220+
<img id="sample6" data-eid="6" class="rounded m-2 sImg" src="https://cvbp-secondary.z19.web.core.windows.net/html_demo/img/carton_50.jpg">
221221
</div>
222222
<div class="col-xs">
223-
<img id="sample7" data-eid="7" class="rounded m-2 sImg" src="https://cvbp.blob.core.windows.net/public/html_demo/img/milk_bottle_66.jpg">
223+
<img id="sample7" data-eid="7" class="rounded m-2 sImg" src="https://cvbp-secondary.z19.web.core.windows.net/html_demo/img/milk_bottle_66.jpg">
224224
</div>
225225
<div class="col-xs">
226-
<img id="sample8" data-eid="8" class="rounded m-2 sImg" src="https://cvbp.blob.core.windows.net/public/html_demo/img/milk_bottle_77.jpg">
226+
<img id="sample8" data-eid="8" class="rounded m-2 sImg" src="https://cvbp-secondary.z19.web.core.windows.net/html_demo/img/milk_bottle_77.jpg">
227227
</div>
228228
<div class="col-xs">
229-
<img id="sample9" data-eid="9" class="rounded m-2 sImg" src="https://cvbp.blob.core.windows.net/public/html_demo/img/water_bottle_111.jpg">
229+
<img id="sample9" data-eid="9" class="rounded m-2 sImg" src="https://cvbp-secondary.z19.web.core.windows.net/html_demo/img/water_bottle_111.jpg">
230230
</div>
231231
<div class="col-xs">
232-
<img id="sample10" data-eid="10" class="rounded m-2 sImg" src="https://cvbp.blob.core.windows.net/public/html_demo/img/water_bottle_115.jpg">
232+
<img id="sample10" data-eid="10" class="rounded m-2 sImg" src="https://cvbp-secondary.z19.web.core.windows.net/html_demo/img/water_bottle_115.jpg">
233233
</div>
234234
</div>
235235
</div>
@@ -301,14 +301,14 @@ <h3>Microsoft Mentors:</h3>
301301
<div class="tab-pane fade card-body mt-3" id="seeexample" role="tabpanel" aria-labelledby="seeexample-tab">
302302
<!-- img thumbnails and checkbox -->
303303
<div id="exampleImages" class="container mx-auto" >
304-
<img id="example0" data-eid="0" class="rounded mr-2 mb-2 eImg" src="https://cvbp.blob.core.windows.net/public/html_demo/img/can_8.jpg">
305-
<img id="example1" data-eid="1" class="rounded mr-2 mb-2 eImg" src="https://cvbp.blob.core.windows.net/public/html_demo/img/can_31.jpg">
306-
<img id="example2" data-eid="2" class="rounded mr-2 mb-2 eImg" src="https://cvbp.blob.core.windows.net/public/html_demo/img/carton_47.jpg">
307-
<img id="example3" data-eid="3" class="rounded mr-2 mb-2 eImg" src="https://cvbp.blob.core.windows.net/public/html_demo/img/carton_59.jpg">
308-
<img id="example4" data-eid="4" class="rounded mr-2 mb-2 eImg" src="https://cvbp.blob.core.windows.net/public/html_demo/img/milk_bottle_76.jpg">
309-
<img id="example5" data-eid="5" class="rounded mr-2 mb-2 eImg" src="https://cvbp.blob.core.windows.net/public/html_demo/img/milk_bottle_97.jpg">
310-
<img id="example6" data-eid="6" class="rounded mr-2 mb-2 eImg" src="https://cvbp.blob.core.windows.net/public/html_demo/img/water_bottle_105.jpg">
311-
<img id="example7" data-eid="7" class="rounded mr-2 mb-2 eImg" src="https://cvbp.blob.core.windows.net/public/html_demo/img/water_bottle_123.jpg">
304+
<img id="example0" data-eid="0" class="rounded mr-2 mb-2 eImg" src="https://cvbp-secondary.z19.web.core.windows.net/html_demo/img/can_8.jpg">
305+
<img id="example1" data-eid="1" class="rounded mr-2 mb-2 eImg" src="https://cvbp-secondary.z19.web.core.windows.net/html_demo/img/can_31.jpg">
306+
<img id="example2" data-eid="2" class="rounded mr-2 mb-2 eImg" src="https://cvbp-secondary.z19.web.core.windows.net/html_demo/img/carton_47.jpg">
307+
<img id="example3" data-eid="3" class="rounded mr-2 mb-2 eImg" src="https://cvbp-secondary.z19.web.core.windows.net/html_demo/img/carton_59.jpg">
308+
<img id="example4" data-eid="4" class="rounded mr-2 mb-2 eImg" src="https://cvbp-secondary.z19.web.core.windows.net/html_demo/img/milk_bottle_76.jpg">
309+
<img id="example5" data-eid="5" class="rounded mr-2 mb-2 eImg" src="https://cvbp-secondary.z19.web.core.windows.net/html_demo/img/milk_bottle_97.jpg">
310+
<img id="example6" data-eid="6" class="rounded mr-2 mb-2 eImg" src="https://cvbp-secondary.z19.web.core.windows.net/html_demo/img/water_bottle_105.jpg">
311+
<img id="example7" data-eid="7" class="rounded mr-2 mb-2 eImg" src="https://cvbp-secondary.z19.web.core.windows.net/html_demo/img/water_bottle_123.jpg">
312312

313313
<div class="mt-3 text-center">
314314
<div class="form-check-inline">

contrib/html_demo/UICode/script.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ function populateTable(i, tableData) {
4747
var item = document.createElement('div');
4848
item.classList.add("item");
4949
var img = document.createElement('img');
50-
img.src = 'https://cvbp.blob.core.windows.net/public/html_demo/small-150/' + rowData[0];
50+
img.src = 'https://cvbp-secondary.z19.web.core.windows.net/html_demo/small-150/' + rowData[0];
5151
var txt = document.createElement('p');
5252
txt.innerHTML = rowData[0] + "<br/><i>Dist.: " + rowData[1] + "</i>";
5353
item.appendChild(img);
@@ -76,7 +76,7 @@ function calcSimilar(top, queryFeatures, simType) {
7676
if (!queryFeatures) {
7777
var queryRow = Math.floor(Math.random() * (rows - 0 + 1) + 0);
7878
var queryimg = ref_array[queryRow];
79-
retImg = 'https://cvbp.blob.core.windows.net/public/html_demo/small-150/' + fn_array[queryRow];
79+
retImg = 'https://cvbp-secondary.z19.web.core.windows.net/html_demo/small-150/' + fn_array[queryRow];
8080
} else {
8181
var queryimg = queryFeatures;
8282
}
@@ -101,7 +101,7 @@ async function parseSimFileNames(fileType) {
101101
new JSZip.external.Promise(function (resolve, reject) {
102102
zipFile_fn = 'data/ref_filenames.zip';
103103
if (fileType == "example")
104-
zipFile_fn = 'https://cvbp.blob.core.windows.net/public/html_demo/data/ref_filenames.zip';
104+
zipFile_fn = 'https://cvbp-secondary.z19.web.core.windows.net/html_demo/data/ref_filenames.zip';
105105
JSZipUtils.getBinaryContent(zipFile_fn, function(err, data) {
106106
if (err) {
107107
reject(err);
@@ -134,7 +134,7 @@ async function parseSimFileFeatures(fileType) {
134134
new JSZip.external.Promise(function (resolve, reject) {
135135
zipFile_ref = 'data/ref_features.zip';
136136
if (fileType == "example")
137-
zipFile_ref = 'https://cvbp.blob.core.windows.net/public/html_demo/data/ref_features.zip';
137+
zipFile_ref = 'https://cvbp-secondary.z19.web.core.windows.net/html_demo/data/ref_features.zip';
138138
JSZipUtils.getBinaryContent(zipFile_ref, function(err, data) {
139139
if (err) {
140140
reject(err);

scenarios/action_recognition/00_webcam.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@
360360
{
361361
"data": {
362362
"text/html": [
363-
"<video src=\"https://cvbp.blob.core.windows.net/public/datasets/action_recognition/action_sample_lowRes.mp4\" controls >\n",
363+
"<video src=\"https://cvbp-secondary.z19.web.core.windows.net/datasets/action_recognition/action_sample_lowRes.mp4\" controls >\n",
364364
" Your browser does not support the <code>video</code> element.\n",
365365
" </video>"
366366
],

scenarios/action_recognition/10_video_transformation.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@
144144
"outputs": [],
145145
"source": [
146146
"url = (\n",
147-
" \"https://cvbp.blob.core.windows.net/public/datasets/action_recognition/drinking.mp4\"\n",
147+
" \"https://cvbp-secondary.z19.web.core.windows.net/datasets/action_recognition/drinking.mp4\"\n",
148148
")"
149149
]
150150
},

scenarios/classification/00_webcam.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@
177177
],
178178
"source": [
179179
"# Download an example image\n",
180-
"IM_URL = \"https://cvbp.blob.core.windows.net/public/images/cvbp_cup.jpg\"\n",
180+
"IM_URL = \"https://cvbp-secondary.z19.web.core.windows.net/images/cvbp_cup.jpg\"\n",
181181
"urllib.request.urlretrieve(IM_URL, os.path.join(data_path(), \"example.jpg\"))\n",
182182
"\n",
183183
"im = open_image(os.path.join(data_path(), \"example.jpg\"), convert_mode='RGB')\n",
@@ -305,7 +305,7 @@
305305
"source": [
306306
"Now, click the **capture button** in the widget to start classification. Labels are displayed to show the most probable class along with the confidence predicted by the model for an image snapshot.\n",
307307
"\n",
308-
"<img src=\"https://cvbp.blob.core.windows.net/public/images/cvbp_webcam.png\" width=\"400\" />\n",
308+
"<img src=\"https://cvbp-secondary.z19.web.core.windows.net/images/cvbp_webcam.png\" width=\"400\" />\n",
309309
"<center>\n",
310310
"<i>Example Webcam image</i>\n",
311311
"</center>"

scenarios/classification/01_training_introduction.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -575,7 +575,7 @@
575575
"source": [
576576
"To see these details use the widget helper class `ResultsWidget`. The widget shows test images along with the ground truth label and model prediction score. With this tool, it's possible to see how the model predicts each image and debug the model if needed. Note that Jupyter widgets are quite unstable - if the widget below does not show then see the \"Troubleshooting\" section in this [FAQ](./FAQ.md) for possible fixes. \n",
577577
"\n",
578-
"<img src=\"https://cvbp.blob.core.windows.net/public/images/ic_widget.png\" width=\"600\"/>\n",
578+
"<img src=\"https://cvbp-secondary.z19.web.core.windows.net/images/ic_widget.png\" width=\"600\"/>\n",
579579
"<center><i>Image Classification Result Widget</i></center>"
580580
]
581581
},

scenarios/classification/23_aci_aks_web_service_testing.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@
302302
"outputs": [],
303303
"source": [
304304
"# Extract test images paths\n",
305-
"im_url_root = \"https://cvbp.blob.core.windows.net/public/images/\"\n",
305+
"im_url_root = \"https://cvbp-secondary.z19.web.core.windows.net/images/\"\n",
306306
"im_filenames = [\"cvbp_milk_bottle.jpg\", \"cvbp_water_bottle.jpg\"]\n",
307307
"\n",
308308
"for im_filename in im_filenames:\n",

scenarios/classification/25_deployment_on_azure_apps_service_and_setting_CORS_policies.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1210,7 +1210,7 @@
12101210
"metadata": {},
12111211
"outputs": [],
12121212
"source": [
1213-
"test_image_directory = \"https://cvbp.blob.core.windows.net/public/images/\"\n",
1213+
"test_image_directory = \"https://cvbp-secondary.z19.web.core.windows.net/images/\"\n",
12141214
"test_image_filenames = [\"cvbp_milk_bottle.jpg\", \"cvbp_water_bottle.jpg\"]\n",
12151215
"local_test_image_paths = []\n",
12161216
"\n",

scenarios/detection/00_webcam.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@
180180
],
181181
"source": [
182182
"# Download an example image\n",
183-
"IM_URL = \"https://cvbp.blob.core.windows.net/public/images/cvbp_cup.jpg\"\n",
183+
"IM_URL = \"https://cvbp-secondary.z19.web.core.windows.net/images/cvbp_cup.jpg\"\n",
184184
"im_path = os.path.join(data_path(), \"example.jpg\")\n",
185185
"urllib.request.urlretrieve(IM_URL, im_path)\n",
186186
"\n",

0 commit comments

Comments
 (0)