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
Hi,
We are using TIMIT corpus to run SincNet. While generating TIMIT_labels.npy file, we are getting errors
Traceback (most recent call last):
File "test.py", line 11, in
a=open("labels.txt" ,'r') # labels.txt contains labels of form sentence id:speaker id ( {'TRAIN/DR5/FJXM0/SX311.WAV': 267,....}
np.save("TIMIT_labels",a)
File "/home/iiit_admin/.local/lib/python3.6/site-packages/numpy/lib/npyio.py", line 536, in save
pickle_kwargs=pickle_kwargs)
File "/home/iiit_admin/.local/lib/python3.6/site-packages/numpy/lib/format.py", line 629, in write_array
pickle.dump(array, fp, protocol=2, **pickle_kwargs) TypeError: cannot serialize '_io.TextIOWrapper' object
Please let us know how to resolve this issue.
The text was updated successfully, but these errors were encountered:
Hi,
We are using TIMIT corpus to run SincNet. While generating TIMIT_labels.npy file, we are getting errors
Traceback (most recent call last):
File "test.py", line 11, in
a=open("labels.txt" ,'r') # labels.txt contains labels of form sentence id:speaker id ( {'TRAIN/DR5/FJXM0/SX311.WAV': 267,....}
np.save("TIMIT_labels",a)
File "/home/iiit_admin/.local/lib/python3.6/site-packages/numpy/lib/npyio.py", line 536, in save
pickle_kwargs=pickle_kwargs)
File "/home/iiit_admin/.local/lib/python3.6/site-packages/numpy/lib/format.py", line 629, in write_array
pickle.dump(array, fp, protocol=2, **pickle_kwargs)
TypeError: cannot serialize '_io.TextIOWrapper' object
Please let us know how to resolve this issue.
The text was updated successfully, but these errors were encountered: