GithubHelp home page GithubHelp logo

Comments (4)

lee-bin avatar lee-bin commented on June 24, 2024

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.

peiwenYe avatar peiwenYe commented on June 24, 2024

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.

lee-bin avatar lee-bin commented on June 24, 2024

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.

peiwenYe avatar peiwenYe commented on June 24, 2024

I got it. Thank you very much!

from mace-models.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.