Giter VIP home page Giter VIP logo

obs-rvc's People

Contributors

wfjsw avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

assassindesign

obs-rvc's Issues

Benchmark with Python, Documentation, and License Inquiry

I believe that adding a Python benchmark would be very useful, as one of the main benefits of using Rust is its speed.

Additionally, it would be helpful to include some documentation on how to run the code. While users can figure it out on their own, clear documentation would be greatly appreciated and improve the overall user experience.

Lastly, could you please clarify the license for the code? Is it under the MIT license or another one?

obs-rvc/src/rt_utils.rs get_sola_offset 中的卷积似乎引入了额外计算量

这两个地方似乎都只是想要做一维卷积,但是却都先转换到了三维再进行卷积,这样会引入额外的计算。

    let conv_input_size = buffer_frame_size + search_frame_size;
    let conv_input = input_buffer
        .slice(s![..conv_input_size])
        .into_shape((1, 1, conv_input_size))?;
    let sola_buffer_view = sola_buffer
        .into_shape((1, 1, buffer_frame_size))?;

    let cor_nom = conv_input.conv_fft(
        &sola_buffer_view, ndarray_conv::ConvMode::Valid, 
        ndarray_conv::PaddingMode::Zeros
    )?;

    let cor_den_filler = ndarray::Array3::<f32>::ones((1, 1, buffer_frame_size));
    let mut cor_den = conv_input.mapv(|x| x.powi(2)).conv_fft(
        &cor_den_filler, ndarray_conv::ConvMode::Valid, 
        ndarray_conv::PaddingMode::Zeros
    )?;

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.