Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

problem when I try to run train1.py #49

Closed
mindmapper15 opened this issue Jun 28, 2018 · 1 comment
Closed

problem when I try to run train1.py #49

mindmapper15 opened this issue Jun 28, 2018 · 1 comment

Comments

@mindmapper15
Copy link

I'm trying to run train1.py then I got this error

Traceback (most recent call last):
File "train1.py", line 17, in
from data_load import Net1DataFlow
File "/home/deep-voice-conversion/data_load.py", line 7, in
import librosa
File "/home/.local/lib/python2.7/site-packages/librosa/init.py", line 12, in
from . import core
File "/home/.local/lib/python2.7/site-packages/librosa/core/init.py", line 108, in
from .time_frequency import * # pylint: disable=wildcard-import
File "/home/.local/lib/python2.7/site-packages/librosa/core/time_frequency.py", line 10, in
from ..util.exceptions import ParameterError
File "/home/.local/lib/python2.7/site-packages/librosa/util/init.py", line 67, in
from .utils import * # pylint: disable=wildcard-import
File "/home/.local/lib/python2.7/site-packages/librosa/util/utils.py", line 103, in
def valid_audio(y, mono=True):
File "/home/.local/lib/python2.7/site-packages/librosa/cache.py", line 49, in wrapper
if self.cachedir is not None and self.level >= level:
File "/home/.local/lib/python2.7/site-packages/joblib/memory.py", line 847, in cachedir
DeprecationWarning, stacklevel=2)
TypeError: expected string or buffer

If I remove "import librosa" from every py files in your project, this message disappears but still can't run train1.py because python can't use functions in librosa package.

I'm currently using python2 with version 2.7.12
and tensorflow-gpu with version 1.4.0

@mindmapper15 mindmapper15 changed the title problem while try to run train1.py problem when try to run train1.py Jun 28, 2018
@mindmapper15 mindmapper15 changed the title problem when try to run train1.py problem when I try to run train1.py Jun 28, 2018
@mindmapper15
Copy link
Author

Okay.... so I found the solution.

librosa/librosa#729

It said, you have to downgrade the "joblib" package to 0.11.0
(probably its version is 0.12.0 when you installed librosa 0.5.1 version)

I tried this solution and it works!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant