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
Hello Alan, I have downloaded Emodb and used the code. Please help me with below error.
PS D:\GitHub\alanwuha\torchemotion> python D:\GitHub\alanwuha\torchemotion\datasets\1.py
C:\Users\mshiv\miniconda3\lib\site-packages\torchaudio\extension\extension.py:14: UserWarning: torchaudio C++ extension is not available.
warnings.warn('torchaudio C++ extension is not available.')
C:\Users\mshiv\miniconda3\lib\site-packages\torchaudio\backend\utils.py:63: UserWarning: The interface of "soundfile" backend is planned to change in 0.8.0 to match
that of "sox_io" backend and the current interface will be removed in 0.9.0. To use the new interface, do torchaudio.USE_SOUNDFILE_LEGACY_INTERFACE = False before
setting the backend to "soundfile". Please refer to pytorch/audio#903 for the detail.
warnings.warn(
Traceback (most recent call last):
File "C:\Users\mshiv\miniconda3\lib\site-packages\pandas\core\indexes\base.py", line 3080, in get_loc
return self._engine.get_loc(casted_key)
File "pandas_libs\index.pyx", line 70, in pandas._libs.index.IndexEngine.get_loc
File "pandas_libs\index.pyx", line 101, in pandas._libs.index.IndexEngine.get_loc
File "pandas_libs\hashtable_class_helper.pxi", line 4554, in pandas._libs.hashtable.PyObjectHashTable.get_item
File "pandas_libs\hashtable_class_helper.pxi", line 4562, in pandas._libs.hashtable.PyObjectHashTable.get_item
KeyError: 0
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "D:\GitHub\alanwuha\torchemotion\datasets\1.py", line 7, in
for index, sample in enumerate(emodb_data):
File "D:\GitHub\alanwuha\torchemotion\datasets\EmodbDataset.py", line 47, in getitem
audio_name = os.path.join(self.root, self.df.loc[idx, 'file'])
File "C:\Users\mshiv\miniconda3\lib\site-packages\pandas\core\indexing.py", line 889, in getitem
return self._getitem_tuple(key)
File "C:\Users\mshiv\miniconda3\lib\site-packages\pandas\core\indexing.py", line 1060, in _getitem_tuple
return self._getitem_lowerdim(tup)
File "C:\Users\mshiv\miniconda3\lib\site-packages\pandas\core\indexing.py", line 807, in _getitem_lowerdim
section = self._getitem_axis(key, axis=i)
File "C:\Users\mshiv\miniconda3\lib\site-packages\pandas\core\indexing.py", line 1124, in _getitem_axis
return self._get_label(key, axis=axis)
File "C:\Users\mshiv\miniconda3\lib\site-packages\pandas\core\indexing.py", line 1073, in _get_label
return self.obj.xs(label, axis=axis)
File "C:\Users\mshiv\miniconda3\lib\site-packages\pandas\core\generic.py", line 3738, in xs
loc = index.get_loc(key)
File "C:\Users\mshiv\miniconda3\lib\site-packages\pandas\core\indexes\base.py", line 3082, in get_loc
raise KeyError(key) from err
KeyError: 0
The text was updated successfully, but these errors were encountered:
Hello Alan, I have downloaded Emodb and used the code. Please help me with below error.
PS D:\GitHub\alanwuha\torchemotion> python D:\GitHub\alanwuha\torchemotion\datasets\1.py
C:\Users\mshiv\miniconda3\lib\site-packages\torchaudio\extension\extension.py:14: UserWarning: torchaudio C++ extension is not available.
warnings.warn('torchaudio C++ extension is not available.')
C:\Users\mshiv\miniconda3\lib\site-packages\torchaudio\backend\utils.py:63: UserWarning: The interface of "soundfile" backend is planned to change in 0.8.0 to match
that of "sox_io" backend and the current interface will be removed in 0.9.0. To use the new interface, do
torchaudio.USE_SOUNDFILE_LEGACY_INTERFACE = False
beforesetting the backend to "soundfile". Please refer to pytorch/audio#903 for the detail.
warnings.warn(
Traceback (most recent call last):
File "C:\Users\mshiv\miniconda3\lib\site-packages\pandas\core\indexes\base.py", line 3080, in get_loc
return self._engine.get_loc(casted_key)
File "pandas_libs\index.pyx", line 70, in pandas._libs.index.IndexEngine.get_loc
File "pandas_libs\index.pyx", line 101, in pandas._libs.index.IndexEngine.get_loc
File "pandas_libs\hashtable_class_helper.pxi", line 4554, in pandas._libs.hashtable.PyObjectHashTable.get_item
File "pandas_libs\hashtable_class_helper.pxi", line 4562, in pandas._libs.hashtable.PyObjectHashTable.get_item
KeyError: 0
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "D:\GitHub\alanwuha\torchemotion\datasets\1.py", line 7, in
for index, sample in enumerate(emodb_data):
File "D:\GitHub\alanwuha\torchemotion\datasets\EmodbDataset.py", line 47, in getitem
audio_name = os.path.join(self.root, self.df.loc[idx, 'file'])
File "C:\Users\mshiv\miniconda3\lib\site-packages\pandas\core\indexing.py", line 889, in getitem
return self._getitem_tuple(key)
File "C:\Users\mshiv\miniconda3\lib\site-packages\pandas\core\indexing.py", line 1060, in _getitem_tuple
return self._getitem_lowerdim(tup)
File "C:\Users\mshiv\miniconda3\lib\site-packages\pandas\core\indexing.py", line 807, in _getitem_lowerdim
section = self._getitem_axis(key, axis=i)
File "C:\Users\mshiv\miniconda3\lib\site-packages\pandas\core\indexing.py", line 1124, in _getitem_axis
return self._get_label(key, axis=axis)
File "C:\Users\mshiv\miniconda3\lib\site-packages\pandas\core\indexing.py", line 1073, in _get_label
return self.obj.xs(label, axis=axis)
File "C:\Users\mshiv\miniconda3\lib\site-packages\pandas\core\generic.py", line 3738, in xs
loc = index.get_loc(key)
File "C:\Users\mshiv\miniconda3\lib\site-packages\pandas\core\indexes\base.py", line 3082, in get_loc
raise KeyError(key) from err
KeyError: 0
The text was updated successfully, but these errors were encountered: