mdeff / fma

FMA: A Dataset For Music Analysis
https://arxiv.org/abs/1612.01840
MIT License
2.24k stars 439 forks source link

Python 2.7 support #3

Closed keunwoochoi closed 7 years ago

keunwoochoi commented 7 years ago
 File "utils.py", line 304
    self.X = np.empty((self.batch_size, *loader.shape))
                                        ^
SyntaxError: invalid syntax

with python2.7 and linux. Does the code support python 2.7?

mdeff commented 7 years ago

I developed and tested with 3.6 only. It should run with older python 3.x but would need to be modified to run with 2.7.