GithubHelp home page GithubHelp logo

Comments (7)

fatchord avatar fatchord commented on August 16, 2024

@hdmjdp I haven't trained with pruning yet. I'm still writing the code/reading papers.

from wavernn.

hdmjdp avatar hdmjdp commented on August 16, 2024

@fatchord Thanks for replying. Another question: in the paper, S=200k, total training step is 500k. After 200k step, weight is not pruning. So in the end of training, how to implement the weight sparsity?

from wavernn.

fatchord avatar fatchord commented on August 16, 2024

I reckon just keep applying the mask calculated at 200k steps for the rest of training - at least that's what I'm getting from the paper.

from wavernn.

hdmjdp avatar hdmjdp commented on August 16, 2024

@fatchord thanks, I think as same as you. I think in the "model" class of Pruning - Scratchpad.ipynb: you do not need to add self.prune() in "forward " function.

from wavernn.

bjtommychen avatar bjtommychen commented on August 16, 2024

@fatchord @hdmjdp FYI. I did pruning on well-trained original model weeks ago. with loss increased 1% from the smallest value, the prune ratio stop at 93% for the top5 matrix, ~ 92% of total parameters.

from wavernn.

hdmjdp avatar hdmjdp commented on August 16, 2024

@bjtommychen how about the generate wav? and which layer you pruning? if rnn, dou you only prune "weight_hh_l0"? what about "weight_ih_l0"?

from wavernn.

bjtommychen avatar bjtommychen commented on August 16, 2024

@hdmjdp I only pruned the original model. the original model's output wave is not good quality one, but almost same as the pruned one. I think the Alternative model's output is better.
('R.weight', 0.93),
('O1.weight', 0.93),
('O3.weight', 0.93),
('I_coarse.weight', 0.93),
('I_fine.weight', 0.93),

from wavernn.

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.