Skip to content

Instantly share code, notes, and snippets.

View TanUkkii007's full-sized avatar

Yusuke Yasuda TanUkkii007

View GitHub Profile
@carlthome
carlthome / Signal reconstruction from spectrograms.ipynb
Created May 31, 2018 13:53
Try to recover audio from filtered magnitudes when phase information has been lost.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@DarinM223
DarinM223 / typeclassses.md
Last active March 31, 2023 03:35
Typeclasses in Haskell, Scala, and Rust

Type classes

Type classes have some advantages over Java style interfaces. One advantage is the ability to implement functions that do not need to take in an instance of the interface.

For example, (FromString v) takes in a String and returns v, and it doesn't have to take v as a parameter.

@hayasshi
hayasshi / release.md
Last active February 13, 2018 09:05
Release sbt projects using Sonatype.

つかったもの

  • sbt-pgp
  • sbt-sonatype
  • sbt-release

手順

  • Sonatype設定
  • SBTのマニュアルに従って、SonatypeのプロジェクトJIRAにアカウントを作成する。
@yamachu
yamachu / Label_format
Last active December 28, 2023 11:31
OpenJTalkのラベルをちょっとだけ簡単にまとめた(?)やつ
探したら正解があった
HTS-demo_NIT-ATR503-M001のlab_format.pdfを見ましょう
最初の数字2つ
0 3100000 => nsで表した全体の中でのその音素の位置
次の5つのまとまり
xx^xx-sil+ch=i => 先々行^先行-現在+後続=後々続 の音素列
/A:
@tam17aki
tam17aki / ZoneoutLSTMCell.py
Last active May 14, 2023 22:53
An implementation of zoneout regularizer on LSTM-RNN in Tensorflow
# Copyright (C) 2017 by Akira TAMAMORI
#
# This program is free software; you can redistribute it and/or modify it under
# the terms of the GNU General Public License as published by the Free Software
# Foundation, either version 3 of the License, or (at your option) any later
# version.
#
# This program is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
package streams
import akka.actor.ActorSystem
import akka.stream._
import akka.stream.scaladsl._
import com.typesafe.config.ConfigFactory
object StreamDispatchers extends App {
implicit val system = ActorSystem("dispatchers", ConfigFactory.parseString(
@karpathy
karpathy / min-char-rnn.py
Last active November 16, 2024 23:10
Minimal character-level language model with a Vanilla Recurrent Neural Network, in Python/numpy
"""
Minimal character-level Vanilla RNN model. Written by Andrej Karpathy (@karpathy)
BSD License
"""
import numpy as np
# data I/O
data = open('input.txt', 'r').read() # should be simple plain text file
chars = list(set(data))
data_size, vocab_size = len(data), len(chars)
@gakuzzzz
gakuzzzz / slide.md
Last active August 10, 2021 08:50
Free-ScalikeJDBC から見る合成可能なDSLの作り方

Free-ScalikeJDBC から見る合成可能なDSLの作り方

2015/07/24 関数型Scalaの集い

自己紹介