GithubHelp home page GithubHelp logo

Add unit tests about tensorflow-wavenet HOT 5 CLOSED

ibab avatar ibab commented on May 4, 2024
Add unit tests

from tensorflow-wavenet.

Comments (5)

multivac61 avatar multivac61 commented on May 4, 2024

I have started implementing unit tests - https://github.com/multivac61/tensorflow-wavenet/blob/unittests/test.py

@lemonzi has suggested that code that is independent on hyperparameters (_preprocessing etc) be moved outside the WaveNet class. That makes testing on them easier and it leads to better code structure.

from tensorflow-wavenet.

lemonzi avatar lemonzi commented on May 4, 2024

Yep! I think we could move out _preprocess (which is actually encode), decode, dilated_conv, and maybe something more.

from tensorflow-wavenet.

ibab avatar ibab commented on May 4, 2024

Yeah, we can create a wavenet_ops.py or just ops.py file that we can move all independent functions to.

from tensorflow-wavenet.

ibab avatar ibab commented on May 4, 2024

I've added a first unit test at test/test_causal_conv.py.

from tensorflow-wavenet.

lemonzi avatar lemonzi commented on May 4, 2024

It seems we have decent unit tests for now. Pieces not covered yet should be listed in Projects or in the Wiki.

from tensorflow-wavenet.

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.