Giter Club home page Giter Club logo

Comments (14)

MirrorYuChen avatar MirrorYuChen commented on May 28, 2024

sorry, my fault. I build ncnn with vulkan, I'll try to test vulkan version.

from ncnn_example.

MirrorYuChen avatar MirrorYuChen commented on May 28, 2024

I have add the vulkan demo, you can test now.

from ncnn_example.

MirrorYuChen avatar MirrorYuChen commented on May 28, 2024

the detail you can refer to ncnn wiki:
https://github.com/Tencent/ncnn/wiki/FAQ-ncnn-vulkan

from ncnn_example.

zhuyu-cs avatar zhuyu-cs commented on May 28, 2024

Oh,thansks, I have worked out , but while I using GPU for inference, 0 faces detected, the cpu was ok, very strange.
And I tested your code , the same probolem come up.

from ncnn_example.

MirrorYuChen avatar MirrorYuChen commented on May 28, 2024

Have you verified whether you have compiled vulkan ncnn successed?

from ncnn_example.

zhuyu-cs avatar zhuyu-cs commented on May 28, 2024

Have you verified whether you have compiled vulkan ncnn successed?

Yeah,I am sure I have compiled vulkan ncnn succeed.

from ncnn_example.

MirrorYuChen avatar MirrorYuChen commented on May 28, 2024

perhaps, there are some diffence between jetson nano and tx2, you need to replace your libncnn.a in the folder lib

from ncnn_example.

zhuyu-cs avatar zhuyu-cs commented on May 28, 2024

perhaps, there are some diffence between jetson nano and tx2, you need to replace your libncnn.a in the folder lib

I did it,but there was no effect.

from ncnn_example.

MirrorYuChen avatar MirrorYuChen commented on May 28, 2024

can you provide your print informations?

from ncnn_example.

zhuyu-cs avatar zhuyu-cs commented on May 28, 2024

can you provide your print informations?
[0 NVIDIA Tegra X2 (nvgpu)] queueC=0[16] queueT=0[16] memU=2 memDL=2 memHV=2
[0 NVIDIA Tegra X2 (nvgpu)] fp16p=1 fp16s=1 fp16a=0 int8s=0 int8a=0
start face detect.
0 faces detected.

from ncnn_example.

MirrorYuChen avatar MirrorYuChen commented on May 28, 2024

here is my print information:
‘{19-07-27 12:28}mirror:~/workspace/ncnn_106landmarks/build@master✗✗✗✗✗✗ mirror% ./main
[0 NVIDIA Tegra X1 (nvgpu)] queueC=0[16] queueT=0[16] memU=2 memDL=2 memHV=2
[0 NVIDIA Tegra X1 (nvgpu)] fp16p=1 fp16s=1 fp16a=0 int8s=1 int8a=0
start face detect.
4 faces detected.
start extract feature.
extract feature end.
start extract feature.
extract feature end.
similarity is: 0.358641’
I have no tx2, it's too expensive for me, I think you need to test other vulkan ncnn example to check whether it works.

from ncnn_example.

MirrorYuChen avatar MirrorYuChen commented on May 28, 2024

my ncnn is the newest master branch, you can try to replace the newest ncnn version.

from ncnn_example.

zhuyu-cs avatar zhuyu-cs commented on May 28, 2024

OK,thank you very much!

from ncnn_example.

MirrorYuChen avatar MirrorYuChen commented on May 28, 2024

Good Luck~

from ncnn_example.

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.