GDL_code icon indicating copy to clipboard operation
GDL_code copied to clipboard

AttributeError: 'str' object has no attribute 'shape' in 07_04 Musegan notebook

Open buzem opened this issue 5 years ago • 0 comments

/content/drive/My Drive/mommy/GDL_code/utils/loaders.py in load_music(data_name, filename, n_bars, n_steps_per_bar) 269 counter += 4 270 --> 271 if n_bars * n_steps_per_bar < x.shape[0]: 272 data_ints.append(x[counter:(counter + (n_bars * n_steps_per_bar)),:]) 273

AttributeError: 'str' object has no attribute 'shape'

What can be the problem?I

buzem avatar Oct 18 '19 21:10 buzem