Skip to content

Commit

Permalink
feat: add densenet_onnx model
Browse files Browse the repository at this point in the history
Signed-off-by: Gaius <[email protected]>
  • Loading branch information
gaius-qi committed Mar 29, 2024
1 parent 443779f commit a808654
Show file tree
Hide file tree
Showing 5 changed files with 1,032 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/check-size.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ on:
pull_request:
branches: [ main, release-* ]

env:
JAVA_VERSION: 8

jobs:
check_size:
name: Check Size
Expand All @@ -25,7 +22,6 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
filesizelimit: "524288"
filesizelimit: "1048576"
exclusionPatterns: |
deploy/helm-charts
manager/console
examples/model_repository/densenet_onnx
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Prerequisites
*.d
.idea
.DS_Store

# Compiled Object files
*.slo
Expand Down
Binary file not shown.
29 changes: 29 additions & 0 deletions examples/model_repository/densenet_onnx/config.pbtxt
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: "densenet_onnx"
platform: "onnxruntime_onnx"
max_batch_size : 0
input [
{
name: "data_0"
data_type: TYPE_FP32
format: FORMAT_NCHW
dims: [ 3, 224, 224 ]
reshape { shape: [ 1, 3, 224, 224 ] }
}
]
output [
{
name: "fc6_1"
data_type: TYPE_FP32
dims: [ 1000 ]
reshape { shape: [ 1, 1000, 1, 1 ] }
label_filename: "densenet_labels.txt"
}
]
model_repository_agents
{
agents [
{
name: "dragonfly",
}
]
}
Loading

0 comments on commit a808654

Please sign in to comment.