Code Monkey home page Code Monkey logo

complex-sound-field's Introduction

Room transfer function reconstruction using complex-valued neural networks

Accompanying code to the paper Room transfer function reconstruction using complex-valued neural networks Networks [1].

Dependencies

  • Python, it has been tested with version 3.9.17
  • Numpy, scikit-image, scikit-learn,argparse, tqdm, matplotlib
  • Pytorch 2.0.1+cu118
  • complexPyTorch

Data generation

Data generation code is contained in the folder create_dataset and is partially taken from Lluis et al.[2]

Network training

The training of the network uses the parameters contained in config/config.jon and can be run using main.py, which takes the following arguments:

  • --config: String, path to the configuration file
  • --best_model_path: String, name of the best-performing model file

Results computation

By running test.py it is possible to compute the results contained in the paper. Specifically, the script computes the Normalized Mean Squared Error (NMSE) using the parameters and network model indicated by the selected configuration. The script takes the following arguments:

  • --config: String, path to the configuration file
  • --best_model_path: String, name of the best-performing model file

References

[1] Ronchini F., Comanducci L., Pezzoli M., Antonacci F. & Sarti A., Room transfer function reconstruction using complex-valued neural networks Networks, submitted to ICASSP 2024-2024 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP)

[2] Lluis, F., Martinez-Nuevo, P., Bo Møller, M., & Ewan Shepstone, S. (2020). Sound field reconstruction in rooms: Inpainting meets super-resolution. The Journal of the Acoustical Society of America, 148(2), 649-659.

complex-sound-field's People

Contributors

ronfrancesca avatar lucacoma avatar

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.