GDL_code icon indicating copy to clipboard operation
GDL_code copied to clipboard

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

Open t04925yy opened this issue 4 years ago • 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.

t04925yy avatar Sep 23 '20 17:09 t04925yy