nswamy closed pull request #10617: [MXNET-337] Change Model url to S3
URL: https://github.com/apache/incubator-mxnet/pull/10617
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git 
a/scala-package/examples/src/test/scala/org/apache/mxnetexamples/infer/imageclassifier/ImageClassifierExampleSuite.scala
 
b/scala-package/examples/src/test/scala/org/apache/mxnetexamples/infer/imageclassifier/ImageClassifierExampleSuite.scala
index e3bfdcd7b10..63196ed8172 100644
--- 
a/scala-package/examples/src/test/scala/org/apache/mxnetexamples/infer/imageclassifier/ImageClassifierExampleSuite.scala
+++ 
b/scala-package/examples/src/test/scala/org/apache/mxnetexamples/infer/imageclassifier/ImageClassifierExampleSuite.scala
@@ -38,14 +38,14 @@ class ImageClassifierExampleSuite extends FunSuite with 
BeforeAndAfterAll {
     val tempDirPath = System.getProperty("java.io.tmpdir")
     logger.info("tempDirPath: %s".format(tempDirPath))
 
-    Process("wget 
http://data.mxnet.io/models/imagenet/resnet/18-layers/resnet-18-symbol.json " +
-      "-P " + tempDirPath + "/resnet18/ -q") !
+    Process("wget https://s3.us-east-2.amazonaws.com/scala-infer-models"; +
+      "/resnet-18/resnet-18-symbol.json " + "-P " + tempDirPath + "/resnet18/ 
-q") !
 
-    Process("wget 
http://data.mxnet.io/models/imagenet/resnet/18-layers/resnet-18-0000.params " +
-      "-P " + tempDirPath + "/resnet18/ -q") !
+    Process("wget https://s3.us-east-2.amazonaws.com/scala-infer-models";
+      + "/resnet-18/resnet-18-0000.params " + "-P " + tempDirPath + 
"/resnet18/ -q") !
 
-    Process("wget http://data.mxnet.io/models/imagenet/resnet/synset.txt -P " 
+ tempDirPath +
-      "/resnet18/ -q") !
+    Process("wget https://s3.us-east-2.amazonaws.com/scala-infer-models"; +
+      "/resnet-18/synset.txt -P " + tempDirPath + "/resnet18/ -q") !
 
     Process("wget " +
       "https://s3.amazonaws.com/model-server/inputs/Pug-Cookie.jpg " +
diff --git 
a/scala-package/examples/src/test/scala/org/apache/mxnetexamples/infer/objectdetector/ObjectDetectorExampleSuite.scala
 
b/scala-package/examples/src/test/scala/org/apache/mxnetexamples/infer/objectdetector/ObjectDetectorExampleSuite.scala
index aebb2dab0cf..9725eebb645 100644
--- 
a/scala-package/examples/src/test/scala/org/apache/mxnetexamples/infer/objectdetector/ObjectDetectorExampleSuite.scala
+++ 
b/scala-package/examples/src/test/scala/org/apache/mxnetexamples/infer/objectdetector/ObjectDetectorExampleSuite.scala
@@ -35,7 +35,7 @@ class ObjectDetectorExampleSuite extends FunSuite with 
BeforeAndAfterAll {
     logger.info("tempDirPath: %s".format(tempDirPath))
 
     val modelBase = 
"https://s3.amazonaws.com/model-server/models/resnet50_ssd/";
-    val synsetBase = 
"https://raw.githubusercontent.com/awslabs/mxnet-model-server/master/examples/";
+    val synsetBase = 
"https://s3.amazonaws.com/model-server/models/resnet50_ssd/";
     val imageBase = "https://s3.amazonaws.com/model-server/inputs/";
 
     Process("wget " + modelBase + "resnet50_ssd_model-symbol.json " + "-P " +
@@ -46,7 +46,7 @@ class ObjectDetectorExampleSuite extends FunSuite with 
BeforeAndAfterAll {
       "-P " + tempDirPath + "/resnetssd/ -q") !
 
 
-    Process("wget  " + synsetBase + "ssd/synset.txt " + "-P" +
+    Process("wget  " + synsetBase + "synset.txt " + "-P" +
       tempDirPath + "/resnetssd/ -q") !
 
     Process("wget " +


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to