Code Monkey home page Code Monkey logo

Comments (4)

zhangshengoo avatar zhangshengoo commented on August 29, 2024

I get overfitting results during training. The training loss is decreasing but the test loss is almost unchanged. I adopt the same model parameters and the same size of dataset mentioned in the article. Have you encountered this problem?Sorry to bother you.

from cone-of-silence.

hust-cxl avatar hust-cxl commented on August 29, 2024

I get overfitting results during training. The training loss is decreasing but the test loss is almost unchanged. I adopt the same model parameters and the same size of dataset mentioned in the article. Have you encountered this problem?Sorry to bother you.

I don't know whether your test set is "real test set", I mean if you did not change any code of this project, the log output like "Done with training, going to testing, Test set: Average Loss: XXXX" you see is not real test set loss, it is validation loss instead. It depends on your data division:
i) data set for validation was generated from your training data(part of your training set)
ii) data in your validation set has not been seen in training set
if your data division was same as i), maybe you ara facing overfitting, but if your strategy was same as ii), maybe you should consider the training set itself.

from cone-of-silence.

vivjay30 avatar vivjay30 commented on August 29, 2024

In synthetic_dataset.py get_mixture_and_gt() funtion, about in line 161
image

shifted_gt, _ = utils.shift_mixture(np.stack(gt_waveforms), target_pos, self.mic_radius, self.sr)
should be in the outside of the loop like this:
image

Thanks for the fix! Indeed this should only be calculated once at the end

from cone-of-silence.

vivjay30 avatar vivjay30 commented on August 29, 2024

Regarding the overfitting problem: If you are training with purely synthetically rendered data, then you can generate arbitrarily many samples. Consider grabbing more types of noises, or even using other voice examples like Librispeech etc. When training with real data, it is time consuming to gather this data. Therefore it is very easy to overfit. However it is important to train with real data because a network trained on purely synthetic data will not generalize to real data

from cone-of-silence.

Related Issues (13)

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.