GithubHelp home page GithubHelp logo

Comments (10)

ywlife avatar ywlife commented on July 24, 2024

不正常,图像的宽高分别是多少?

from centerface.

zhanglaplace avatar zhanglaplace commented on July 24, 2024

@ywlife 摄像头默认读取的是720*1280的。后续测试输入了512X288的图片测试时间是 100ms。
640X480的时间是 200ms ,这个时间正常吗~
image

from centerface.

ywlife avatar ywlife commented on July 24, 2024

晚回复是因为等机器跑测试数据。机器有限,cpu又一直在生成数据。之前测试:[email protected]/VGA视频可以30fps。下面是一直数据:(cpu还是有在生成数据,所以慢了点)
cpu times = 0:00:00.064898
cpu times = 0:00:00.061804
cpu times = 0:00:00.062592
cpu times = 0:00:00.075271
cpu times = 0:00:00.059055
cpu times = 0:00:00.069160
cpu times = 0:00:00.065846
cpu times = 0:00:00.067331
cpu times = 0:00:00.065196

另外,nms是python的,换成C++的才会好用。

from centerface.

jiagh2010 avatar jiagh2010 commented on July 24, 2024

There are two questions: first, I also calculate the average time of different resolution pictures is more than 100 milliseconds; second, how to use GPU acceleration? @ywlife

from centerface.

ywlife avatar ywlife commented on July 24, 2024
  1. May be difference from test computer.
  2. You can use caffe2 or other frameworks to load the onnx, and then run on GPU.

from centerface.

jiagh2010 avatar jiagh2010 commented on July 24, 2024

Other frameworks can also call the onnx model???@ywlife

from centerface.

zhanglaplace avatar zhanglaplace commented on July 24, 2024

Other frameworks can also call the onnx model???@ywlife

@jiagh2010 Onnx to caffe2 . https://github.com/qfgaohao/pytorch-ssd/blob/master/convert_to_caffe2_models.py

from centerface.

jiagh2010 avatar jiagh2010 commented on July 24, 2024

@jiagh2010 Onnx to caffe2 . https://github.com/qfgaohao/pytorch-ssd/blob/master/convert_to_caffe2_models.py I will convert the model to the Pb format of caffe2, but I will not call it. Can you give me an example?@ywlife @zhanglaplace

from centerface.

zhanglaplace avatar zhanglaplace commented on July 24, 2024

@jiagh2010 Onnx to caffe2 . https://github.com/qfgaohao/pytorch-ssd/blob/master/convert_to_caffe2_models.py I will convert the model to the Pb format of caffe2, but I will not call it. Can you give me an example?@ywlife @zhanglaplace
try it :
https://github.com/qfgaohao/pytorch-ssd/blob/master/convert_to_caffe2_models.py .

from centerface.

lufi1 avatar lufi1 commented on July 24, 2024

Hi,

Im facing the same issue. Any idea about how I could deal with it ?
I m on macos and trying to reproduce your results

from centerface.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.