GithubHelp home page GithubHelp logo

Comments (3)

alexrodi avatar alexrodi commented on June 15, 2024 1

Turns out this was a good-old "too high a learn-rate" problem...
I was using default optimizer settings for lr, betas, eps and weight_decay
Using the base configuration on audio-diffusion-pytorch-trainer solved this issue:

self.optimizer = torch.optim.AdamW(
    params = list(self.model.parameters()),
    lr = 1e-4,
    betas= (0.95, 0.999),
    eps= 1e-6,
    weight_decay= 1e-3)

from audio-diffusion-pytorch.

flavioschneider avatar flavioschneider commented on June 15, 2024

I didn't thoroughly test vk diffusion (usually I go with v) but also never had exploding problems. Check that your dataset is distributed equally, i.e. if there are suddenly in a batch multiple silent samples that can mess up the model. For that, you might want to use the WAVDataset in https://github.com/archinetai/audio-data-pytorch with the check_silence set to true, or do some similar checks.

from audio-diffusion-pytorch.

alexrodi avatar alexrodi commented on June 15, 2024

I am actually, using WAVDataset with check_silence set to True - which is the default, also, the datasets I'm using are taken from one-shot sound packs and another was a set of wavetables, so that's not the problem apparently...
Thanks for the help btw! :)

from audio-diffusion-pytorch.

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.