(self)
return y_pred, y_true
featch predictions
featch predictions
featch predictions
def run(self):
    ''' featch predictions '''
    features, y_true = self.sess.run(self.next_element)
    inputs = features["inputs"]
    pred = self.sess.run(self.pred_valid, feed_dict={self.audio_ph: inputs})
    y_pred = self.postproc(pred, features=features)
    return y_pred, y_true
def run ( self ) : features , y_true = self . sess . run ( self . next_element ) inputs = features [ "inputs" ] pred = self . sess . run ( self . pred_valid , feed_dict = { self . audio_ph : inputs } ) y_pred = self . postproc ( pred , features = features ) return y_pred , y_true