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 0728632
Show file tree
Hide file tree
Showing 4 changed files with 1,030 additions and 0 deletions.
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 0728632

Please sign in to comment.