import tensorflow as tf


# In[3]:


tf.reset_default_graph()
sess = tf.InteractiveSession()

size_layers = 128
learning_rate = 1e-3
num_layers = 2

model = Model(num_layers, size_layers, learning_rate)
sess.run(tf.global_variables_initializer())


# In[4]:


paths, lengths, texts, raw_texts = [], [], [], []
text_files = [f for f in os.listdir("mel") if f.endswith(".npy")]
for fpath in text_files:
    with open("%s/%s" % (path, fpath.replace("npy", "txt"))) as fopen:
        text = fopen.read()
    paths.append(fpath.replace(".npy", ""))
