Explorar el Código

Remove test files

Lutz Roeder hace 6 años
padre
commit
7a51cfb388
Se han modificado 2 ficheros con 9 adiciones y 66 borrados
  1. 8 66
      test/models.json
  2. 1 0
      test/test.js

+ 8 - 66
test/models.json

@@ -132,13 +132,6 @@
     "format": "Caffe v1",
     "link":   "https://github.com/BVLC/caffe/tree/master/models/bvlc_reference_caffenet"
   },
-  {
-    "type":   "caffe",
-    "target": "bvlc_reference_rcnn_ilsvrc13.caffemodel",
-    "source": "http://dl.caffe.berkeleyvision.org/bvlc_reference_rcnn_ilsvrc13.caffemodel",
-    "format": "Caffe v1",
-    "link":   "https://github.com/BVLC/caffe/tree/master/models/bvlc_reference_rcnn_ilsvrc13"
-  },
   {
     "type":   "caffe",
     "target": "caffe_array.prototxt",
@@ -300,13 +293,6 @@
     "format": "Caffe v1",
     "link":   "https://github.com/BVLC/caffe/tree/master/models/finetune_flickr_style"
   },
-  {
-    "type":   "caffe",
-    "target": "gender_net.caffemodel",
-    "source": "https://raw.githubusercontent.com/eveningglow/age-and-gender-classification/master/model/gender_net.caffemodel",
-    "format": "Caffe v1",
-    "link":   "https://github.com/eveningglow/age-and-gender-classification"
-  },
   {
     "type":   "caffe",
     "target": "googlenet.prototxt",
@@ -314,13 +300,6 @@
     "format": "Caffe v2",
     "link":   "https://github.com/cwlacewe/netscope"
   },
-  {
-    "type":   "caffe",
-    "target": "googlenet_finetune_web_car_iter_10000.caffemodel",
-    "source": "http://mmlab.ie.cuhk.edu.hk/datasets/comp_cars/googlenet_finetune_web_car_iter_10000.caffemodel",
-    "format": "Caffe v1",
-    "link":   "https://gist.github.com/bogger/b90eb88e31cd745525ae"
-  },
   {
     "type":   "caffe",
     "target": "googlelet_places205_train_iter_2400000.caffemodel",
@@ -328,13 +307,6 @@
     "format": "Caffe v2",
     "link":   "http://places.csail.mit.edu/downloadCNN.html"
   },
-  {
-    "type":   "caffe",
-    "target": "hybridCNN_iter_700000_upgraded.caffemodel",
-    "source": "http://places.csail.mit.edu/model/hybridCNN_upgraded.tar.gz[hybridCNN_iter_700000_upgraded.caffemodel]",
-    "format": "Caffe v1",
-    "link":   "http://places.csail.mit.edu/downloadCNN.html"
-  },
   {
     "type":   "caffe",
     "target": "inceptionv3.prototxt",
@@ -482,13 +454,6 @@
     "format": "Caffe v2",
     "link":   "https://github.com/gdlg/panoramic-object-detection/tree/master/examples/inference"
   },
-  {
-    "type":   "caffe",
-    "target": "places205CNN_iter_300000_upgraded.caffemodel",
-    "source": "http://places.csail.mit.edu/model/placesCNN_upgraded.tar.gz[places205CNN_iter_300000_upgraded.caffemodel]",
-    "format": "Caffe v1",
-    "link":   "http://places.csail.mit.edu/downloadCNN.html"
-  },
   {
     "type":   "caffe",
     "target": "pose_iter_584000.caffemodel",
@@ -537,20 +502,6 @@
     "source": "https://raw.githubusercontent.com/cwlacewe/netscope/master/presets/ResNet-50_merged.qconv.winograd.cwl.prototxt",
     "link":   "https://github.com/cwlacewe/netscope"
   },
-  {
-    "type":   "caffe",
-    "target": "ResNet-101-deploy.prototxt",
-    "source": "https://raw.githubusercontent.com/cwlacewe/netscope/master/presets/ResNet-101-deploy.prototxt",
-    "format": "Caffe v2",
-    "link":   "https://github.com/cwlacewe/netscope"
-  },
-  {
-    "type":   "caffe",
-    "target": "ResNet-101-model.caffemodel",
-    "source": "https://deepdetect.com/models/resnet/ResNet-101-model.caffemodel",
-    "format": "Caffe v2",
-    "link":   "https://deepdetect.com/models/resnet/"
-  },
   {
     "type":   "caffe",
     "target": "ResNet-152-model.caffemodel",
@@ -3305,7 +3256,9 @@
   {
     "type":   "onnx",
     "target": "YOLOv2_tiny.onnx",
-    "source": "https://raw.githubusercontent.com/tkat0/chainer-nnvm-example/master/models/YOLOv2_tiny/YOLOv2_tiny.onnx"
+    "source": "https://raw.githubusercontent.com/tkat0/chainer-nnvm-example/master/models/YOLOv2_tiny/YOLOv2_tiny.onnx",
+    "format": "ONNX v1", "producer": "Chainer 3.2.0",
+    "link":   "https://github.com/tkat0/chainer-nnvm-example"
   },
   {
     "type":   "onnx",
@@ -3314,40 +3267,29 @@
     "format": "ONNX v5", "producer": "keras2onnx 1.5.1",
     "link":   "https://github.com/onnx/models/tree/master/yolov3"
   },
-  {
-    "type":   "onnx",
-    "target": "vgg16.onnx",
-    "source": "https://s3.amazonaws.com/onnx-model-zoo/vgg/vgg16/vgg16.onnx",
-    "link":   "https://github.com/onnx/models/tree/master/models/image_classification/vgg"
-  },
   {
     "type":   "onnx",
     "target": "vgg16-bn.onnx",
     "source": "https://s3.amazonaws.com/onnx-model-zoo/vgg/vgg16-bn/vgg16-bn.onnx",
-    "link":   "https://github.com/onnx/models/tree/master/models/image_classification/vgg"
+    "link":   "https://github.com/onnx/models/tree/master/vision/classification/vgg"
   },
   {
     "type":   "onnx",
     "target": "vgg19.onnx",
-    "source": "https://s3.amazonaws.com/onnx-model-zoo/vgg/vgg19/vgg19.onnx",
-    "link":   "https://github.com/onnx/models/tree/master/models/image_classification/vgg"
+    "source": "https://s3.amazonaws.com/download.onnx/models/opset_9/vgg19.tar.gz[vgg19/model.onnx]",
+    "link":   "https://github.com/onnx/models/tree/master/vision/classification/vgg"
   },
   {
     "type":   "onnx",
     "target": "vgg19-bn.onnx",
     "source": "https://s3.amazonaws.com/onnx-model-zoo/vgg/vgg19-bn/vgg19-bn.onnx",
-    "link":   "https://github.com/onnx/models/tree/master/models/image_classification/vgg"
-  },
-  {
-    "type":   "onnx",
-    "target": "vgg19_opset_9.onnx",
-    "source": "https://s3.amazonaws.com/download.onnx/models/opset_9/vgg19.tar.gz[vgg19/model.onnx]"
+    "link":   "https://github.com/onnx/models/tree/master/vision/classification/vgg"
   },
   {
     "type":   "onnx",
     "target": "zfnet512_opset_9.onnx",
     "source": "https://s3.amazonaws.com/download.onnx/models/opset_9/zfnet512.tar.gz[zfnet512/model.onnx]",
-    "link":   "https://github.com/onnx/models/blob/master/zfnet512/README.md"
+    "link":   "https://github.com/onnx/models/tree/master/vision/classification/zfnet-512"
   },
   {
     "type":   "onnx",

+ 1 - 0
test/test.js

@@ -504,6 +504,7 @@ function loadModel(target, item) {
                     throw new Error("Invalid documentation object '" + node.operator + "'.");
                 }
                 sidebar.DocumentationSidebar.formatDocumentation(node.metadata);
+                node.attributes.slice();
                 for (const attribute of node.attributes) {
                     attribute.name.toString();
                     attribute.name.length;