GithubHelp home page GithubHelp logo

sound-rnn's People

Contributors

a11ce avatar jfsantos avatar johnglover 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  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  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  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

sound-rnn's Issues

NaNs in loss function

I am currently trying to find the reason for the NaNs in the loss function. I found the guilty already, which are zero values in the norm variable inside the function pdf, which then causes divisions by zero. A no-brainer workaround would be to simply add a small value to both the variances and the norms, but maybe you have a better idea?

I'm getting these NaNs really soon (around the 500th iteration) in training when using the GPU (which might be due to the float16 representation) and mini-batches of 64 samples. I don't get them when using the fix I proposed, so it might be worth adding it to the repository. I can submit a PR if you think this fix is acceptable.

opencl support?

Hey, do you know if anyone has got this working with opencl/amd cards?

I managed to get char-rnn/word-rnn working by changing a single line that gets the program to use the proper tensor type. Do you think a similar fix might be possible?

I'm wondering if you could give me any insight to how and where CUDA is being used here and if you know of any way I might be able to replace it with opencl. I am a RNN/ML noob, so anything helps!

Thanks.

Generating samples from GPU-trained model

After running the sine example described in the README with -gpu_id 0 (so running with CUDA), attempts to generate samples with that model generates the error unknown Torch class <torch.CudaTensor>.

I tried adding require 'cunn' and require 'cutorch' to sample.lua, but that generates another error about invalid arguments to addmm.

Running Arch Linux 4.9.11-1 on x64 laptop. GPU is GTX 1060.

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.