Skip to content

Commit

Permalink
update the default branch to main (onnx#497)
Browse files Browse the repository at this point in the history
* update the default branch to main

Signed-off-by: Wenbing Li <wenbingl@outlook.com>

* Revert "update the default branch to main"

This reverts commit 492d3b1.

Signed-off-by: Wenbing Li <wenbingl@outlook.com>

* only keep renaming for onnx/onnx onnx/models

Signed-off-by: Wenbing Li <wenbingl@outlook.com>

* update the branch in ci

Signed-off-by: Wenbing Li <wenbingl@outlook.com>
  • Loading branch information
wenbingl authored Feb 10, 2022
1 parent 4498f84 commit 87d452a
Show file tree
Hide file tree
Showing 19 changed files with 24 additions and 24 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/model_request.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ Why is this model an improvement upon current ONNX model zoo offerings?
### Notes
Any additional information, code snippets

The ONNX team strongly encourages community members to submit a PR for models they want to use in the ONNX model zoo, and always welcomes new contributors. To get started, look at the [ONNX Model Zoo contribution page](https://github.com/onnx/models/blob/master/contribute.md).
The ONNX team strongly encourages community members to submit a PR for models they want to use in the ONNX model zoo, and always welcomes new contributors. To get started, look at the [ONNX Model Zoo contribution page](https://github.com/onnx/models/blob/main/contribute.md).
6 changes: 3 additions & 3 deletions .github/workflows/linux_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@

name: Linux CI

# Triggers the workflow on push or pull request events but only for the master branch
# Triggers the workflow on push or pull request events but only for the main branch
on:
push:
branches: [ master ]
branches: [ main ]
pull_request:
branches: [ master ]
branches: [ main ]

jobs:
# This workflow contains a single job called "build"
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/windows_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@

name: Windows CI

# Triggers the workflow on push or pull request events but only for the master branch
# Triggers the workflow on push or pull request events but only for the main branch
on:
push:
branches: [ master ]
branches: [ main ]
pull_request:
branches: [ master ]
branches: [ main ]

jobs:
# This workflow contains a single job called "build"
Expand Down
2 changes: 1 addition & 1 deletion text/machine_comprehension/bert-squad/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ onnxruntime: 1.8.0

### Prepare model
```shell
wget https://github.com/onnx/models/raw/master/text/machine_comprehension/bert-squad/model/bertsquad-12.onnx
wget https://github.com/onnx/models/raw/main/text/machine_comprehension/bert-squad/model/bertsquad-12.onnx
```

### Model quantize
Expand Down
2 changes: 1 addition & 1 deletion vision/classification/alexnet/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ onnxruntime: 1.8.0

### Prepare model
```shell
wget https://github.com/onnx/models/blob/master/vision/classification/alexnet/model/bvlcalexnet-12.onnx
wget https://github.com/onnx/models/blob/main/vision/classification/alexnet/model/bvlcalexnet-12.onnx
```

### Model quantize
Expand Down
2 changes: 1 addition & 1 deletion vision/classification/caffenet/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ onnxruntime: 1.8.0

### Prepare model
```shell
wget https://github.com/onnx/models/blob/master/vision/classification/caffenet/model/caffenet-12.onnx
wget https://github.com/onnx/models/blob/main/vision/classification/caffenet/model/caffenet-12.onnx
```

### Model quantize
Expand Down
2 changes: 1 addition & 1 deletion vision/classification/efficientnet-lite4/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ onnxruntime: 1.8.0

### Prepare model
```shell
wget https://github.com/onnx/models/raw/master/vision/classification/efficientnet-lite4/model/efficientnet-lite4-11.onnx
wget https://github.com/onnx/models/raw/main/vision/classification/efficientnet-lite4/model/efficientnet-lite4-11.onnx
```

### Model quantize
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ onnxruntime: 1.8.0

### Prepare model
```shell
wget https://github.com/onnx/models/blob/master/vision/classification/inception_and_googlenet/googlenet/model/googlenet-12.onnx
wget https://github.com/onnx/models/blob/main/vision/classification/inception_and_googlenet/googlenet/model/googlenet-12.onnx
```

### Model quantize
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ onnxruntime: 1.8.0

### Prepare model
```shell
wget https://github.com/onnx/models/blob/master/vision/classification/inception_and_googlenet/inception_v1/model/inception-v1-12.onnx
wget https://github.com/onnx/models/blob/main/vision/classification/inception_and_googlenet/inception_v1/model/inception-v1-12.onnx
```

### Model quantize
Expand Down
2 changes: 1 addition & 1 deletion vision/classification/resnet/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ onnxruntime: 1.6.0+

### Prepare model
```shell
wget https://github.com/onnx/models/tree/master/vision/classification/resnet/model/resnet50-v1-12.onnx
wget https://github.com/onnx/models/tree/main/vision/classification/resnet/model/resnet50-v1-12.onnx
```

### Model quantize
Expand Down
2 changes: 1 addition & 1 deletion vision/classification/shufflenet/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ onnxruntime: 1.8.0

### Prepare model
```shell
wget https://github.com/onnx/models/tree/master/vision/classification/shufflenet/model/shufflenet-v2-12.onnx
wget https://github.com/onnx/models/tree/main/vision/classification/shufflenet/model/shufflenet-v2-12.onnx
```

### Model quantize
Expand Down
2 changes: 1 addition & 1 deletion vision/classification/squeezenet/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ onnxruntime: 1.8.0

### Prepare model
```shell
wget https://github.com/onnx/models/blob/master/vision/classification/squeezenet/model/squeezenet1.0-12.onnx
wget https://github.com/onnx/models/blob/main/vision/classification/squeezenet/model/squeezenet1.0-12.onnx
```

### Model quantize
Expand Down
2 changes: 1 addition & 1 deletion vision/classification/vgg/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ onnxruntime: 1.8.0

### Prepare model
```shell
wget https://github.com/onnx/models/tree/master/vision/classification/vgg/model/vgg16-12.onnx
wget https://github.com/onnx/models/tree/main/vision/classification/vgg/model/vgg16-12.onnx
```

### Model quantize
Expand Down
2 changes: 1 addition & 1 deletion vision/classification/zfnet-512/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ onnxruntime: 1.8.0

### Prepare model
```shell
wget https://github.com/onnx/models/blob/master/vision/classification/zfnet-512/model/zfnet512-12.onnx
wget https://github.com/onnx/models/blob/main/vision/classification/zfnet-512/model/zfnet512-12.onnx
```

### Model quantize
Expand Down
2 changes: 1 addition & 1 deletion vision/object_detection_segmentation/fcn/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ onnxruntime: 1.8.0

### Prepare model
```shell
wget https://github.com/onnx/models/raw/master/vision/object_detection_segmentation/fcn/model/fcn-resnet50-12.onnx
wget https://github.com/onnx/models/raw/main/vision/object_detection_segmentation/fcn/model/fcn-resnet50-12.onnx
```

### Model quantize
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -204,8 +204,8 @@
],
"source": [
"data_dir = 'test_data_set_0'\n",
"url, filename = (\"https://github.com/onnx/models/raw/master/vision/object_detection_segmentation/fcn/dependencies/000000017968.jpg\", \"000000017968.jpg\")\n",
"#url, filename = (\"https://github.com/onnx/models/raw/master/vision/object_detection_segmentation/fcn/dependencies/000000025205.jpg\", \"000000025205.jpg\")\n",
"url, filename = (\"https://github.com/onnx/models/raw/main/vision/object_detection_segmentation/fcn/dependencies/000000017968.jpg\", \"000000017968.jpg\")\n",
"#url, filename = (\"https://github.com/onnx/models/raw/main/vision/object_detection_segmentation/fcn/dependencies/000000025205.jpg\", \"000000025205.jpg\")\n",
"#urllib.request.urlretrieve(url, filename)\n",
"\n",
"input_image = Image.open(filename)\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
import urllib

data_dir = 'test_data_set_0'
url, filename = ("https://github.com/onnx/models/raw/master/vision/object_detection_segmentation/retinanet/dependencies/demo.jpg", "demo.jpg")
url, filename = ("https://github.com/onnx/models/raw/main/vision/object_detection_segmentation/retinanet/dependencies/demo.jpg", "demo.jpg")
urllib.request.urlretrieve(url, filename)


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ onnxruntime: 1.8.0

### Prepare model
```shell
wget https://github.com/onnx/models/raw/master/vision/object_detection_segmentation/ssd-mobilenetv1/model/ssd_mobilenet_v1_12.onnx
wget https://github.com/onnx/models/raw/main/vision/object_detection_segmentation/ssd-mobilenetv1/model/ssd_mobilenet_v1_12.onnx
```

### Model quantize
Expand Down
2 changes: 1 addition & 1 deletion vision/object_detection_segmentation/ssd/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ onnxruntime: 1.8.0

### Prepare model
```shell
wget https://github.com/onnx/models/blob/master/vision/object_detection_segmentation/ssd/model/ssd-12.onnx
wget https://github.com/onnx/models/blob/main/vision/object_detection_segmentation/ssd/model/ssd-12.onnx
```

### Model quantize
Expand Down

0 comments on commit 87d452a

Please sign in to comment.