Comments (3)
Hi, thanks for using nn-Meter! In command line, the file format need to be specified before the file name. You can try ... --onnx mobilenetv3small_0.onnx
instead of ... --tensorflow mobilenetv3small_0.onnx
. The whole command line should be nn-meter predict --predictor cortexA76cpu_tflite21 --predictor-version 1.0 --onnx mobilenetv3small_0.onnx
. Similarly, the prediction of json file should be nn-meter predict --predictor cortexA76cpu_tflite21 --nn-meter-ir mobilenetv3small_0.json
.
We have noticed that the example command in README is wrong. We're sorry for that. The README command will be fixed soon.
from nn-meter.
It does.
And I have another question: the json model and the pb model have the same latency, but the onnx model seems to have different latency from the json and pb model of the same hardware. How can this be explained?
from nn-meter.
Thanks for raising this question! It's a bug in onnx model parser and we have fixed the bug in PR #60. Now the onnx model latency is 11.842ms. The slight gap between onnx model and json & pb model is caused by the different implementation of onnx model and pb model.
from nn-meter.
Related Issues (20)
- Why removed nodes are not removed from inbound
- can nn-meter be used for pytorch/tensorflow on the server device? HOT 2
- Comparing string to list
- Can you explain why stride[::3] has to be [1, 1]?
- Do we need self._fetch_connections(kernels)?
- Why used [kernel_extent_w, kernel_extent_h] as k_size?
- Why set output_shape to 0?
- Used get_h to calculate outw...Is this a typo HOT 1
- self.tmp_dir not found HOT 1
- How did you measure FLOPS of different CPU and GPU in the baseline comparison experiment? HOT 1
- Using NNI with nn-Meter HOT 4
- how to predict model generated from keras model.save()? HOT 2
- Can you provide the specific time and accuracy of each epoch of tflite_cpu training the conv-bn-relu kernel? HOT 3
- Question on Padding Calculation for Building PyTorch Networks HOT 3
- KeyError in graph_tool
- Error in Prediction of certain Model Families HOT 2
- in the next two rounds, the accuracy rate drops HOT 3
- How can I get the models in datasets.zip?
- NotImplementedError
- How to use PyTorch or TensorFlow to check the predicted value HOT 1
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 nn-meter.