davidADSP/GDL_code

Error : def load_music() in utils/loaders.py

t04925yy opened this issue · 0 comments

def load_music(data_name, filename, n_bars, n_steps_per_bar):
    file = os.path.join("./data", data_name, filename)

    with np.load(file, encoding='bytes', allow_pickle=True) as f:       #Fix this line.
        data = f['train']

You have to add "allow_pickle=True" to use this function.