• Stars
    star
    107
  • Rank 312,226 (Top 7 %)
  • Language
    Python
  • Created over 6 years ago
  • Updated 9 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Yet another WaveNet implementation in PyTorch.

WaveNet

Yet another WaveNet implementation in PyTorch.

The purpose of this implementation is Well-structured, reusable and easily understandable.

Prerequisites

  • System

    • Linux or macOS
    • CPU or (NVIDIA GPU + CUDA CuDNN)
      • It can run on Single CPU/GPU or Multi GPUs.
    • Python 3
  • Libraries

    • PyTorch >= 0.3.0
    • librosa >= 0.5.1

Training

python train.py \
    --data_dir=./test/data \
    --output_dir=./outputs

Use python train.py --help to see more options.

Generating

It's just for testing. You need to modify for real world.

python generate.py \
    --model=./outputs/model \
    --seed=./test/data/helloworld.wav \
    --out=./output/helloworld.wav

Use python generate.py --help to see more options.

File structures

networks.py and model.py is main implementations.

  • wavenet
    • config.py : Training options
    • networks.py : The neural network architecture of WaveNet
    • model.py : Calculate loss and optimizing
    • utils
      • data.py : Utilities for loading data
    • test
      • Some tests for check if it's correct model like casual, dilated..
  • train.py : A script for WaveNet training
  • generate.py : A script for generating with pre-trained model

TODO

  • Add some nice samples
  • Global conditions
  • Local conditions
  • Faster generating
  • Parallel WaveNet
  • General Generator

References

More Repositories

1

TensorFlow-Tutorials

ํ…์„œํ”Œ๋กœ์šฐ๋ฅผ ๊ธฐ์ดˆ๋ถ€ํ„ฐ ์‘์šฉ๊นŒ์ง€ ๋‹จ๊ณ„๋ณ„๋กœ ์—ฐ์Šตํ•  ์ˆ˜ ์žˆ๋Š” ์†Œ์Šค ์ฝ”๋“œ๋ฅผ ์ œ๊ณตํ•ฉ๋‹ˆ๋‹ค
Python
2,123
star
2

git-commander

A git tool with an easy terminal interface.
JavaScript
1,104
star
3

TensorFlow-ML-Exercises

Learning Machine Learning with TensorFlow
Python
260
star
4

node-mecab-ya

Yet another mecab wrapper for nodejs
JavaScript
99
star
5

g-coin

A simple implementation of Blockchain for understanding easily
Python
92
star
6

TensorFlow-Multi-GPUs

Samples for Multi GPUs in TensorFlow
Python
83
star
7

7-rules-for-better-code

7 rules for better code
68
star
8

line-notify

A Simple Wrapper for LINE Messenger Notify
Python
51
star
9

TensorFlow-MNIST

MNIST with TensorFlow
Python
36
star
10

imvectordb

Super simple in-memory vector DB for Node.js
TypeScript
36
star
11

CycleGAN

Yet another Cycle GAN implementation in PyTorch
Python
25
star
12

llm-chunk

A super simple text splitter for LLM
TypeScript
20
star
13

chatgpt-nextjs

Next.js๋ฅผ ์ด์šฉํ•œ ChatGPT ์‘์šฉ ์ƒ˜ํ”Œ
TypeScript
11
star
14

learning-html5

Learning HTML5
8
star
15

candle-songs-by-ilsang

์œค์ผ์ƒ ์ž‘๊ณก๊ฐ€๊ฐ€ ๋งŒ๋“  ์„ธ์›”ํ˜ธ์™€ ์ด›๋ถˆ์„ ์œ„ํ•œ ๋…ธ๋ž˜ ๋ชจ์Œ
8
star
16

chatpdf-webapp

ChatPDF Simple Clone
TypeScript
6
star
17

Coding-For-Everyone

์ทจ๋ฏธ๋‚˜ ์ผ์„ ๋” ์‰ฝ๊ณ  ์žฌ๋ฐŒ๊ฒŒ ํ•  ์ˆ˜ ์žˆ๋Š” ์ฝ”๋”ฉ ๋ฐฐ์šฐ๊ธฐ!
5
star
18

chatpdf-vectorsearch

Vector Search for ChatPDF
Python
5
star
19

println

Easy console.log for lazy programmers
JavaScript
4
star
20

hubot-lunch-today

์ ์‹ฌ์„ ์ถ”์ฒœํ•ด์ฃผ๋Š” Hubot script
JavaScript
4
star
21

hubot-maxim

Hubot Maxim(๋ช…์–ธ/๊ฒฉ์–ธ) Script
JavaScript
4
star
22

chatgpt-faq-bot

Embedding ์„ ํ™œ์šฉํ•œ ChatGPT Plugin ๊ณผ Slack Bot ๊ตฌํ˜„
Python
4
star
23

file-walker-server

An Web Based File Browser
CSS
3
star
24

emacs.d

Emacs Lisp
2
star
25

webstorm-color-scheme

WebStorm(IntelliJ) Color Scheme
2
star
26

aws-lambda-nouns

aws lambda function to extract nouns with mecab-ya
JavaScript
2
star
27

node-mecab-ya-example

A mecab-ya example
JavaScript
1
star
28

kaldi-docker

Dockerfile of Kaldi on Ubuntu 16.04
1
star