Skip to content

Commit

Permalink
update onnx model link (#1501)
Browse files Browse the repository at this point in the history
Signed-off-by: yuwenzho <yuwen.zhou@intel.com>
  • Loading branch information
yuwenzho authored Dec 27, 2023
1 parent 40275cb commit c88d765
Show file tree
Hide file tree
Showing 27 changed files with 27 additions and 27 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import onnx
from onnx import version_converter

MODEL_URL = "https://github.com/onnx/models/raw/main/archive/vision/body_analysis/arcface/model/arcfaceresnet100-8.onnx"
MODEL_URL = "https://github.com/onnx/models/raw/main/validated/vision/body_analysis/arcface/model/arcfaceresnet100-8.onnx"
MAX_TIMES_RETRY_DOWNLOAD = 5


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import onnx
from onnx import version_converter

MODEL_URL = "https://github.com/onnx/models/raw/main/archive/vision/body_analysis/emotion_ferplus/model/emotion-ferplus-8.onnx"
MODEL_URL = "https://github.com/onnx/models/raw/main/validated/vision/body_analysis/emotion_ferplus/model/emotion-ferplus-8.onnx"
MAX_TIMES_RETRY_DOWNLOAD = 5


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import onnx
from onnx import version_converter

MODEL_URL = "https://github.com/onnx/models/raw/main/archive/vision/body_analysis/ultraface/models/version-RFB-320.onnx"
MODEL_URL = "https://github.com/onnx/models/raw/main/validated/vision/body_analysis/ultraface/models/version-RFB-320.onnx"
MAX_TIMES_RETRY_DOWNLOAD = 5


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import sys
from urllib import request

MODEL_URL = "https://github.com/onnx/models/raw/main/archive/vision/classification/alexnet/model/bvlcalexnet-12.onnx"
MODEL_URL = "https://github.com/onnx/models/raw/main/validated/vision/classification/alexnet/model/bvlcalexnet-12.onnx"
MAX_TIMES_RETRY_DOWNLOAD = 5


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import sys
from urllib import request

MODEL_URL = "https://github.com/onnx/models/raw/main/archive/vision/classification/caffenet/model/caffenet-12.onnx"
MODEL_URL = "https://github.com/onnx/models/raw/main/validated/vision/classification/caffenet/model/caffenet-12.onnx"
MAX_TIMES_RETRY_DOWNLOAD = 5


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import sys
from urllib import request

MODEL_URL = "https://github.com/onnx/models/raw/main/archive/vision/classification/densenet-121/model/densenet-12.onnx"
MODEL_URL = "https://github.com/onnx/models/raw/main/validated/vision/classification/densenet-121/model/densenet-12.onnx"
MAX_TIMES_RETRY_DOWNLOAD = 5


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import sys
from urllib import request

MODEL_URL = "https://github.com/onnx/models/raw/main/archive/vision/classification/efficientnet-lite4/model/efficientnet-lite4-11.onnx"
MODEL_URL = "https://github.com/onnx/models/raw/main/validated/vision/classification/efficientnet-lite4/model/efficientnet-lite4-11.onnx"
MAX_TIMES_RETRY_DOWNLOAD = 5


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import sys
from urllib import request

MODEL_URL = "https://github.com/onnx/models/raw/main/archive/vision/object_detection_segmentation/fcn/model/fcn-resnet50-12.onnx"
MODEL_URL = "https://github.com/onnx/models/raw/main/validated/vision/object_detection_segmentation/fcn/model/fcn-resnet50-12.onnx"
MAX_TIMES_RETRY_DOWNLOAD = 5


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import sys
from urllib import request

MODEL_URL = "https://github.com/onnx/models/raw/main/archive/vision/classification/inception_and_googlenet/googlenet/model/googlenet-12.onnx"
MODEL_URL = "https://github.com/onnx/models/raw/main/validated/vision/classification/inception_and_googlenet/googlenet/model/googlenet-12.onnx"
MAX_TIMES_RETRY_DOWNLOAD = 5


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import sys
from urllib import request

MODEL_URL = "https://github.com/onnx/models/raw/main/archive/vision/classification/inception_and_googlenet/inception_v1/model/inception-v1-12.onnx"
MODEL_URL = "https://github.com/onnx/models/raw/main/validated/vision/classification/inception_and_googlenet/inception_v1/model/inception-v1-12.onnx"
MAX_TIMES_RETRY_DOWNLOAD = 5


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import sys
from urllib import request

MODEL_URL = "https://github.com/onnx/models/raw/main/archive/vision/classification/mnist/model/mnist-12.onnx"
MODEL_URL = "https://github.com/onnx/models/raw/main/validated/vision/classification/mnist/model/mnist-12.onnx"
MAX_TIMES_RETRY_DOWNLOAD = 5


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import sys
from urllib import request

MODEL_URL = "https://github.com/onnx/models/raw/main/archive/vision/classification/mobilenet/model/mobilenetv2-12.onnx"
MODEL_URL = "https://github.com/onnx/models/raw/main/validated/vision/classification/mobilenet/model/mobilenetv2-12.onnx"
MAX_TIMES_RETRY_DOWNLOAD = 5


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import sys
from urllib import request

MODEL_URL = "https://github.com/onnx/models/raw/main/archive/vision/classification/resnet/model/resnet50-v1-12.onnx"
MODEL_URL = "https://github.com/onnx/models/raw/main/validated/vision/classification/resnet/model/resnet50-v1-12.onnx"
MAX_TIMES_RETRY_DOWNLOAD = 5


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import sys
from urllib import request

MODEL_URL = "https://github.com/onnx/models/raw/main/archive/vision/classification/shufflenet/model/shufflenet-v2-12.onnx"
MODEL_URL = "https://github.com/onnx/models/raw/main/validated/vision/classification/shufflenet/model/shufflenet-v2-12.onnx"
MAX_TIMES_RETRY_DOWNLOAD = 5


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import sys
from urllib import request

MODEL_URL = "https://github.com/onnx/models/raw/main/archive/vision/classification/squeezenet/model/squeezenet1.0-12.onnx"
MODEL_URL = "https://github.com/onnx/models/raw/main/validated/vision/classification/squeezenet/model/squeezenet1.0-12.onnx"
MAX_TIMES_RETRY_DOWNLOAD = 5


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import sys
from urllib import request

MODEL_URL = "https://github.com/onnx/models/raw/main/archive/vision/classification/vgg/model/vgg16-12.onnx"
MODEL_URL = "https://github.com/onnx/models/raw/main/validated/vision/classification/vgg/model/vgg16-12.onnx"
MAX_TIMES_RETRY_DOWNLOAD = 5


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import sys
from urllib import request

MODEL_URL = "https://github.com/onnx/models/raw/main/archive/vision/classification/zfnet-512/model/zfnet512-12.onnx"
MODEL_URL = "https://github.com/onnx/models/raw/main/validated/vision/classification/zfnet-512/model/zfnet512-12.onnx"
MAX_TIMES_RETRY_DOWNLOAD = 5


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import onnx
from onnx import version_converter

MODEL_URL = "https://github.com/onnx/models/raw/main/archive/text/machine_comprehension/bidirectional_attention_flow/model/bidaf-9.onnx"
MODEL_URL = "https://github.com/onnx/models/raw/main/validated/text/machine_comprehension/bidirectional_attention_flow/model/bidaf-9.onnx"
MAX_TIMES_RETRY_DOWNLOAD = 5


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"bert":
"https://storage.googleapis.com/bert_models/2018_10_18/uncased_L-12_H-768_A-12.zip",
"BERT-Squad":
"https://github.com/onnx/models/raw/main/archive/text/machine_comprehension/bert-squad/model/bertsquad-12.onnx",
"https://github.com/onnx/models/raw/main/validated/text/machine_comprehension/bert-squad/model/bertsquad-12.onnx",
}
MAX_TIMES_RETRY_DOWNLOAD = 5

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import sys
from urllib import request

MODEL_URL = "https://github.com/onnx/models/raw/main/archive/vision/object_detection_segmentation/duc/model/ResNet101-DUC-12.onnx"
MODEL_URL = "https://github.com/onnx/models/raw/main/validated/vision/object_detection_segmentation/duc/model/ResNet101-DUC-12.onnx"
MAX_TIMES_RETRY_DOWNLOAD = 5


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import sys
from urllib import request

MODEL_URL = "https://github.com/onnx/models/raw/main/archive/vision/object_detection_segmentation/faster-rcnn/model/FasterRCNN-12.onnx"
MODEL_URL = "https://github.com/onnx/models/raw/main/validated/vision/object_detection_segmentation/faster-rcnn/model/FasterRCNN-12.onnx"
MAX_TIMES_RETRY_DOWNLOAD = 5


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import sys
from urllib import request

MODEL_URL = "https://github.com/onnx/models/raw/main/archive/vision/object_detection_segmentation/mask-rcnn/model/MaskRCNN-12.onnx"
MODEL_URL = "https://github.com/onnx/models/raw/main/validated/vision/object_detection_segmentation/mask-rcnn/model/MaskRCNN-12.onnx"
MAX_TIMES_RETRY_DOWNLOAD = 5


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import sys
from urllib import request

MODEL_URL = "https://github.com/onnx/models/raw/main/archive/vision/object_detection_segmentation/ssd/model/ssd-12.onnx"
MODEL_URL = "https://github.com/onnx/models/raw/main/validated/vision/object_detection_segmentation/ssd/model/ssd-12.onnx"
MAX_TIMES_RETRY_DOWNLOAD = 5


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import onnx
from onnx import version_converter

MODEL_URL = "https://github.com/onnx/models/raw/main/archive/vision/object_detection_segmentation/ssd-mobilenetv1/model/ssd_mobilenet_v1_12.onnx"
MODEL_URL = "https://github.com/onnx/models/raw/main/validated/vision/object_detection_segmentation/ssd-mobilenetv1/model/ssd_mobilenet_v1_12.onnx"
MAX_TIMES_RETRY_DOWNLOAD = 5


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import sys
from urllib import request

MODEL_URL = "https://github.com/onnx/models/raw/main/archive/vision/object_detection_segmentation/tiny-yolov3/model/tiny-yolov3-11.onnx"
MODEL_URL = "https://github.com/onnx/models/raw/main/validated/vision/object_detection_segmentation/tiny-yolov3/model/tiny-yolov3-11.onnx"
MAX_TIMES_RETRY_DOWNLOAD = 5


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import sys
from urllib import request

MODEL_URL = "https://github.com/onnx/models/raw/main/archive/vision/object_detection_segmentation/yolov3/model/yolov3-12.onnx"
MODEL_URL = "https://github.com/onnx/models/raw/main/validated/vision/object_detection_segmentation/yolov3/model/yolov3-12.onnx"
MAX_TIMES_RETRY_DOWNLOAD = 5


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import sys
from urllib import request

MODEL_URL = "https://github.com/onnx/models/raw/main/archive/vision/object_detection_segmentation/yolov4/model/yolov4.onnx"
MODEL_URL = "https://github.com/onnx/models/raw/main/validated/vision/object_detection_segmentation/yolov4/model/yolov4.onnx"
MAX_TIMES_RETRY_DOWNLOAD = 5


Expand Down

0 comments on commit c88d765

Please sign in to comment.