Giter Site home page Giter Site logo

Comments (8)

FlorentGuinier avatar FlorentGuinier commented on June 27, 2024

Hi h-nakae, Barracuda 0.6.1 was just published. Along with it a performance regression was fixed. Could you give it a try please?

from barracuda-release.

h-nakae avatar h-nakae commented on June 27, 2024

Hi FlorentGuinier ,
Thank you for your replying.
I have just tried the new version, but it seems that the speed is still slow unfortunately...

Here, I put the screen shot.
The left one is version0.4, the second is 0.6.
The speed is as follwing.

v0.4 ⇒ 29.0 FPS
v0.61 ⇒ 15.7FPS

barracuda_compare

Thank you for your helping.

from barracuda-release.

yukihiko avatar yukihiko commented on June 27, 2024

Hi,
In the model I am using, the model layer was 145 layers in Ver0.4, 405 layers in Ver0.6.1, and there was a difference after loading the onnx model.
The layer added in Ver0.6.1. was of Type.Load.
This may be one of the reasons.
I do not understand what the data of Type.Load, but I tried put this code at the top of the loop in the ExecuteAsync method in GenericWorker.cs

if (l.type == Layer.Type.Load) continue;

The processing was improved from 23fps to 43fps.
(It is about 55fps in ver0.4)
At Type.Load, I don't know if PrepareStorage method is not needed.

from barracuda-release.

mantasp avatar mantasp commented on June 27, 2024

@yukihiko we managed to reproduce issue, we expect to ship fix in 0.6.2.
Thanks for reporting!

from barracuda-release.

yukihiko avatar yukihiko commented on June 27, 2024

Thank you! I'm hoping for the next release.

from barracuda-release.

mantasp avatar mantasp commented on June 27, 2024

@yukihiko we just shipped 0.6.2, could you please check if your use case performance is back?

from barracuda-release.

yukihiko avatar yukihiko commented on June 27, 2024

I tried ver.0.6.2.
It's a great job!
It became almost the same speed as ver.0.4.(I think ver.0.4 is about 1fps faster)
Thank you!

from barracuda-release.

h-nakae avatar h-nakae commented on June 27, 2024

@mantasp , @FlorentGuinier

Thank you for the updating.
That is nice of you.

I'm satisfied with that so I will close this issue.
Thanks

from barracuda-release.

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.