Closed 9ayhub closed 4 years ago
Hey, The way I see it, your issue is fairly unrelated to our repository as your error occurs at the import stage already. Given that we import only standard packages, I don’t see how this is related to our specific code. Therefore, I don’t think this is the right place to ask your question.
Googling your error, the first few links suggest that your issue is related to installation of PyTorch through conda in conjunction with importing some libraries like sklearn (as suggested also by your above error). The way I understood it, by taking a brief look at some of these links, is that for some reason import order seems to matter, as a library named “libglob” needs to be imported early on and conda doesn’t guarantee this by itself somehow.
I suggest you take a look at: https://github.com/pytorch/pytorch/issues/2575 And follow some of the suggestions there to get a fully functioning pytorch installation. The most common suggestion, as is also the recommendation for our installation instructions, is to install pytorch via pip instead of conda. Other than that, it seems you can play around with import ordering as a nasty work-around. Me and my colleagues are unable to reproduce your issue on multiple machines. If it persists for you, I suggest debugging your PyTorch installation with a post in the PyTorch forum or issue in their GitHub.
It seems that the main problem is the use of librosa and pytorch, I can't use both libraries at the same time, even if just executing the imports of main.py and datasets.py in order.