Comments (5)
Yes. We used V100 GPUs to get all reported FPS numbers with a native ckpt model not tflite model.
If you use tflite converted models (we call it tflite model here), it will use only CPU and it sometimes shows slower inference time than mobile devices even it’s on a high-performance CPU (Xeon something) because TFLITE OP Kernels are optimized for ARM processors.
We highly recommend to use tflite models for mobile devices.
There are also the native ckpt models in this repository.
Btw, is ssd mobilenet v3 also a tflite converted one?
from mlsd.
Hi,
Yes, I am using your provided tflite model (thx!), I'll surely test it on my Android.
As for the SSD, yes, I converted it to tflite, the project I am using is this, you can find there the tflite model.
If I remember correctly I took the model from here
Thanks again.
from mlsd.
@geonm
So I tested on Android, using the M-LSD_320_tiny_fp16
model, on my Pixel 4A 5G I get ~250ms per detection.
On the same device using ssd_mobilenet_v1 I get ~50ms per detection.
If you're interested you can run the code from my repo: https://github.com/ValYouW/tflite-crossplatform (clone repo and open the android
folder in Android Studio)
Thx.
P.S.
I also tried using the nnapi delegate but there was no real difference...
from mlsd.
Thank you for reporting valuable numbers.
Honestly, our mlsd model has to be slower than ssd_mobilenet_v1.
We adopt the slightly modified mobilenet as a backbone but we designed a decoder part like U-Net which requires more computational cost than SSD and also we employed a larger input image (320x320).
Unlike object detection, the evaluation metric of line segment detection (especially wireframe dataset) mostly depends on how well a model could detect adjacent line segments.
If we adopt SSD as a decoder, the performance would drastically drop.
from mlsd.
Thank you for the explanation, really nice work!
from mlsd.
Related Issues (20)
- Flask HOT 2
- Convert to tensorflowjs HOT 13
- 我记得之前readme文件中有个电路图,可否再发一下
- How to convert tflite model into onnx format? HOT 1
- center_scores in pred_square seems to scalar values. HOT 4
- Android app demo HOT 1
- Parameter documentation HOT 2
- Meta files of saved models HOT 1
- int8 quantization HOT 2
- Project dependencies may have API risk issues
- input shape HOT 2
- low fps HOT 1
- Negative number of test results HOT 3
- It runs very slow on the CPU
- What tools should I use to label my own training set
- GPU:
- post-processing of box detector HOT 7
- how can deploy like official HOT 1
- Center score in post-processing
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 mlsd.