You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Exception in thread QueueRunnerThread-fifo_queue-fifo_queue_enqueue:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 754, in run
self.__target(*self.__args, **self.__kwargs)
File "load_audio_template.py", line 125, in _run
self.func(sess, enqueue_op) # call enqueue function
File "load_audio_template.py", line 72, in enqueue_func
data = func(sess.run(inputs))
File "load_audio_template.py", line 183, in get_audio_spectrograms
_spectrogram, _magnitude, _length = utils.get_spectrograms(_sound_file)
File "utils.py", line 40, in get_spectrograms
y, sr = librosa.load(sound_file, sr=hp.sr) # or set sr to hp.sr.
File "/home/elu/.local/lib/python2.7/site-packages/librosa/core/audio.py", line 107, in load
with audioread.audio_open(os.path.realpath(path)) as input_file:
File "/usr/lib/python2.7/posixpath.py", line 375, in realpath
path, ok = _joinrealpath('', filename, {})
File "/usr/lib/python2.7/posixpath.py", line 381, in _joinrealpath
if isabs(rest):
File "/usr/lib/python2.7/posixpath.py", line 54, in isabs
return s.startswith('/')
AttributeError: 'list' object has no attribute 'startswith'
I got this error when I run the load_data module.
Anyone knows how to solve this?
The text was updated successfully, but these errors were encountered:
Exception in thread QueueRunnerThread-fifo_queue-fifo_queue_enqueue:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 754, in run
self.__target(*self.__args, **self.__kwargs)
File "load_audio_template.py", line 125, in _run
self.func(sess, enqueue_op) # call enqueue function
File "load_audio_template.py", line 72, in enqueue_func
data = func(sess.run(inputs))
File "load_audio_template.py", line 183, in get_audio_spectrograms
_spectrogram, _magnitude, _length = utils.get_spectrograms(_sound_file)
File "utils.py", line 40, in get_spectrograms
y, sr = librosa.load(sound_file, sr=hp.sr) # or set sr to hp.sr.
File "/home/elu/.local/lib/python2.7/site-packages/librosa/core/audio.py", line 107, in load
with audioread.audio_open(os.path.realpath(path)) as input_file:
File "/usr/lib/python2.7/posixpath.py", line 375, in realpath
path, ok = _joinrealpath('', filename, {})
File "/usr/lib/python2.7/posixpath.py", line 381, in _joinrealpath
if isabs(rest):
File "/usr/lib/python2.7/posixpath.py", line 54, in isabs
return s.startswith('/')
AttributeError: 'list' object has no attribute 'startswith'
I got this error when I run the load_data module.
Anyone knows how to solve this?
The text was updated successfully, but these errors were encountered: