File size: 188 Bytes
14d1720
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
import matplotlib.pyplot as plt
import numpy as np


def save_image(mel1, mel2, name):
    mel = np.concatenate([mel1, mel2], 1)
    plt.imshow(mel.T)
    plt.show()
    plt.savefig(name)