Comments (4)
Does your model have multiple input nodes? Or you want to validate the model with different input data? You can paste the yaml file if it helps to clarify.
from mace-models.
Thank you for your reply very much. Here is my yaml, I just want to test multi input with the same input format. If I only put one input like "validation_inputs_data: - /home/ypw/speech/kaldi-onnx-master/mace_input.npy", It works.
library_name: aishell2
target_abis: [aarch64-linux-gnu]
model_graph_format: file
model_data_format: file
models:
aishell2:
platform: onnx
model_file_path: /home/ypw/speech/kaldi-onnx-master/text.onnx
model_sha256_checksum: 8d60e44c128523a82c82f9d592912fa9fe8923ad81443b66c9932f92d0d1dc3f
subgraphs:
- input_tensors:
- input
input_shapes: - 1,52,40
output_tensors:
#- output.affine
#- output-xent.log-softmax - output.linear
output_shapes: - 1,7,4408
backend: kaldi
input_data_formats: NONE
output_data_formats: NONE
validation_inputs_data: - [/home/ypw/speech/kaldi-onnx-master/mace_input.npy,/home/ypw/speech/kaldi-onnx-master/test_input.npy]
validation_outputs_data: - [/home/ypw/speech/kaldi-onnx-master/mace_output.npy,/home/ypw/speech/kaldi-onnx-master/test_output.npy]
runtime: cpu
limit_opencl_kernel_time: 0
nnlib_graph_mode: 0
obfuscate: 0
from mace-models.
MACE only supports validation for one group of inputs (for models with multiple input nodes), you can't specify multiple groups of input data. You can validate it multiple times with different groups of input data or write your own codes to do it.
from mace-models.
I got it. Thank you very much!
from mace-models.
Related Issues (20)
- detection_output.cc is missing HOT 2
- sre_16, Exception: Unexpected fc input ndim. HOT 1
- deploy Yolov3 with mace HOT 4
- configure output for yolov3 model HOT 1
- Support object detection models HOT 2
- how to set input data, after kaldi convert to onnx model, HOT 1
- YOLOV3模型裁剪三个输出 HOT 1
- yolo v3的fps HOT 1
- How to make model: caffe ssd-mobilenet-v1 support hexagon dsp . HOT 1
- Is there any description on how the input for each model should be preprocessed? HOT 1
- Please provide training scripts (or at least more details) for realtime-style-transfer model. HOT 1
- run on PC HOT 5
- .yml中只有input和output的placeholder? HOT 6
- fast-style-transfer模型的计算用时 HOT 5
- Nnet3 with input & i-vector
- Is there any plan to add EfficientDet into this repo? HOT 1
- changing the input size of yolov3 HOT 3
- Support for tf.keras models(models from micro-models) HOT 1
- MobileAI Compute
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mace-models.