/tools

Primary LanguagePythonApache License 2.0Apache-2.0

EN|CH

tools

introduce

Ascend tools
Please go to the corresponding folder to get the tool according to your needs, or click the link below to select the tool you need to use.

explain

  1. msame

    Model reasoning tool:Input. Om model and model required input bin file, output model output data file.

  2. img2bin

    Bin file generation tool : Generates input data required for model reasoning, saved in.bin format.

  3. makesd

    makesd tool:makesd tools package,Provide card making function under ubuntu.

  4. configure_usb_ethernet
    configure_usb_ethernet:configuring the IP address of the USB NIC.

  5. pt2pb

    pytorch model transform to tensorflow pb model tool:input pytorch weights parameters model,transform to onnx file,then transform to pb model.

  6. dnmetis

    Test tool for NPU inference precision and performance:Using Python to encapsulate the C++ interface of ACL, inputting om model and original dataset images and tags, we can execute model inference and give out precision and performance of the om model.

  7. msquickcmp

    One-button precision comparison tool for the whole process:The tool works with TensorFlow and OnNX models, input the original model and the corresponding offline OM model and output precision comparison results.

  8. dockerimages
    precision problem analysis tools:The toolkit provides common features of precision comparison. Currently, the tool is mainly suitable for TensorFlow training scenarios and provides interactive query and operation entry for Dump data/graph information.

  9. cann-benchmark_infer_scripts
    model preprocess and postprocess scripts for cann-benchamrk inference tool: The tool contains cann-benchamrk inference tool model processing scripts, including result analysis script, preprocess and postprocess scripts, etc.These scripts need to be used according to the cann-benchmark insturction manual.

  10. tfdbg_ascend
    Tensorflow2.x dump tool:The tool provides Tensorflow 2.x runtime data dump capability on the CPU/GPU platform.