This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ python3 stt.py --file /home/squiba/ba-dls-deepspeech/LibriSpeech/dev-clean/2086/149220/2086-149220-0007.flac | |
INFO:root:Using checkpoint trained_models/acoustic_model/english | |
INFO:root:No hyper parameter changed detected, using old checkpoint... | |
INFO:root:Building model... (this takes a while) | |
INFO:root:Reading model parameters from trained_models/acoustic_model/english/acousticmodel.ckpt | |
W tensorflow/core/framework/op_kernel.cc:975] Out of range: Read less bytes than requested | |
W tensorflow/core/framework/op_kernel.cc:975] Out of range: Read less bytes than requested | |
W tensorflow/core/framework/op_kernel.cc:975] Out of range: Read less bytes than requested | |
W tensorflow/core/framework/op_kernel.cc:975] Out of range: Read less bytes than requested | |
W tensorflow/core/framework/op_kernel.cc:975] Out of range: Read less bytes than requested |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
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) |