Skip to content

A test environment running yolov9-wholebody15 on onnxruntime-web.

License

Notifications You must be signed in to change notification settings

PINTO0309/yolov9-wholebody15-onnxruntime-web-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

yolov9-wholebody15-onnxruntime-web-test

A test environment running yolov9-wholebody15 on onnxruntime-web.

model: https://github.com/PINTO0309/PINTO_model_zoo/tree/main/456_YOLOv9-Wholebody15

CPU (Wasm)

  • optimization

    python \
    -m onnxruntime.tools.convert_onnx_models_to_ort \
    yolov9_s_wholebody15_post_0145_1x3x480x640.onnx
  • Starting the inference web server

    python -m http.server
    
  • Displaying a web page (with Wasm)

    http://localhost:8000/test.html

  • Results

    • YOLOv9-S

      image

    • YOLOv9-T

      image

    • YOLOv9-N

      image

WebGPU

  • ONNX WebGPU optimization

    ./convert_script.sh
  • Starting the inference web server

    python -m http.server
    
  • Displaying a web page (with WebGPU)

    http://localhost:8000/test-webgpu.html

  • Results

    • Image

      image

    • yolov9_s_wholebody15_post_0145_1x3x480x640_webgpu.with_runtime_opt.ort

      image

TensorFlow.js

pip install -U onnx2tf

pip install -U --no-deps \
tensorflowjs \
tensorflow_decision_forests \
ydf \
tensorflow_hub

onnx2tf -i yolov9_n_wholebody15_post_0145_1x3x480x640.onnx -cotof -dgc

tensorflowjs_converter \
--input_format tf_saved_model \
--output_format tfjs_graph_model \
saved_model \
tfjs_model

image image

About

A test environment running yolov9-wholebody15 on onnxruntime-web.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published