mdeff / fma

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

'Categories' Type error #45

Closed sh-biswas closed 4 years ago

sh-biswas commented 4 years ago

Hello, I am trying to work with this dataset for a personal project, but there seems to be an issue with utils.load. I keep getting this error even with the new code that uses CategoricalDtype:

Screen Shot 2020-07-25 at 8 23 34 AM

I went through the other closed issues and tried a new git clone, but it still does not work? Is there a way around this?

Edit: Was able to resolve. For some reason, even if I deleted the code where the old version was used, the error would still fall on the deleted line. I just had to copy-paste everything I needed into a new script and it worked.