What `demo.pkl` consists of ?
CYT823 opened this issue · 3 comments
CYT823 commented
Is anyone know how to make a file like demo.pkl
?
I've tried to print a data out, but I still have no idea. Below is my code and what I got:
demoData = pickle.load(open(os.path.join('assets', 'demo.pkl'), "rb"))
print(demoData[0][0])
print(demoData[0][1].shape)
print(demoData[0][2][0].shape)
print(demoData[0][2][1].shape)
print(demoData[0][2][2])
print(demoData[0][2][3])
result:
>> p226
>> (1, 82)
>> (135, 80)
>> (135,)
>> 135
>> 003002
I suppose it contains 3 things:
- speaker name
- speaker id
- ??? → Could anyone give me a hint about these things? and how can I make one by myself?
Thanks in advance
auspicious3000 commented
Instead of looking at demo.pkl, please look at how the demo uses demo.pkl. Then you can easily figure out what you need to construct a demo.pkl. It does NOT need to be the same format as my demo.pkl as long as it contains all necessary inputs for the demo code.
CYT823 commented
Thanks @auspicious3000. I'll go check this out.
oliver8459 commented
Thanks @auspicious3000. I'll go check this out.
hi, i have the same issue with you, did you figure this out?