microsoft / onnxjs

ONNX.js: run ONNX models using JavaScript
Other
1.75k stars 130 forks source link

Support super resolution models and benchmarking #291

Open Tixxx opened 3 years ago

Tixxx commented 3 years ago

This PR adds the following support: depth to space kernel to run office super resolution model 6d tensor support in coordinate library to run model zoo super resolution a super resolution benchmarking tool that compares the performance of onnxjs to the latest tfjs with profiling info.

This pr also exposes a logger config(only contains a log level field) to the inference session so that logger's log level can be configured from onnxjs api.

***All the required changes are verified currently. This PR is for viewing diffs only. Changes are being migrated to the new ORT repo.