Skip to content

Commit

Permalink
Merge pull request #10 from yongbinfeng/mlpf
Browse files Browse the repository at this point in the history
minor fix on the MLPF onnx model and upate the MLPF tensorflow model
  • Loading branch information
jmduarte authored Nov 10, 2021
2 parents b30d828 + 9877cfa commit e957909
Show file tree
Hide file tree
Showing 6 changed files with 54 additions and 143 deletions.
9 changes: 4 additions & 5 deletions models/mlpf_acat2021/config.pbtxt
Original file line number Diff line number Diff line change
@@ -1,21 +1,20 @@
name: "mlpf_acat2021"
platform: "onnxruntime_onnx"
max_batch_size : 16
max_batch_size : 200
dynamic_batching {
preferred_batch_size: [ 8 ]
}
input [
{
name: "x"
name: "x:0"
data_type: TYPE_FP32
dims: [ -1, 25 ]
}
]
output [
{
name: "Identity"
name: "Identity:0"
data_type: TYPE_FP32
dims: [ -1, 14 ]
label_filename: "mlpf_labels.txt"
}
]
]
50 changes: 50 additions & 0 deletions models/mlpf_acat2021_tf/config.pbtxt
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: "mlpf_acat2021_tf",
platform: "tensorflow_savedmodel",
backend: "tensorflow",
max_batch_size : 200
dynamic_batching {
}
input: [
{
name: "input_1",
data_type: TYPE_FP32,
dims: [ -1, 25 ]
}
]
output: [
{
name: "cls",
data_type: TYPE_FP32,
dims: [ -1, 8 ]
},
{
name: "sin_phi",
data_type: TYPE_FP32,
dims: [ -1, 1 ]
},
{
name: "energy",
data_type: TYPE_FP32,
dims: [ -1, 1 ]
},
{
name: "pt",
data_type: TYPE_FP32,
dims: [ -1, 1 ]
},
{
name: "eta",
data_type: TYPE_FP32,
dims: [ -1, 1 ]
},
{
name: "charge",
data_type: TYPE_FP32,
dims: [ -1, 1 ]
},
{
name: "cos_phi",
data_type: TYPE_FP32,
dims: [ -1, 1 ]
}
]
Loading

0 comments on commit e957909

Please sign in to comment.