This file contains 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
# tensorflow: loading model | |
sess = tf.Session() | |
sess.run(tf.global_variables_initializer()) | |
saver = tf.train.Saver() | |
results_folder = model + '/' | |
saver.restore(sess, results_folder) | |
gd = sess.graph.as_graph_def() |
This file contains 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
from pathlib import Path | |
import essentia.standard as es | |
import numpy as np | |
from essentia import Pool | |
class MelSpectrogramOpenL3: | |
def __init__(self, hop_time): | |
self.hop_time = hop_time |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
import numpy as np | |
import matplotlib.pyplot as plt | |
import essentia.pytools.spectral as sp | |
from essentia.standard import MonoLoader, MonoWriter | |
from essentia import lin2db | |
PARAMS = { | |
'frameSize': 2 ** 14, | |
'sampleRate': 44100, |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.