yaohungt / Multimodal-Transformer

[ACL'19] [PyTorch] Multimodal Transformer
MIT License
827 stars 152 forks source link

KeyError: 'bytes104' #10

Closed xiaoliqiangxxqzz closed 5 years ago

xiaoliqiangxxqzz commented 5 years ago

Start loading the data....

yaohungt commented 5 years ago

I don't remember I have faced this issue. It seem like the problem happens in dataset.py.

What is the version of PyTorch you're using? Also, can you check if the loading of X/Y/META are correct in lines 51-53 in

https://github.com/yaohungt/Multimodal-Transformer/blob/master/src/dataset.py

xiaoliqiangxxqzz commented 5 years ago

我不记得我遇到过这个问题。看来问题出在dataset.py中。

您使用的PyTorch是什么版本?另外,您可以检查X / Y / META的加载在第51-53行中是否正确

https://github.com/yaohungt/Multimodal-Transformer/blob/master/src/dataset.py

The version of PyTorch is 1.2.0. And when i use mosei_senti_data_noalign.pkl, error occurred:"_pickle.UnpicklingError: pickle data was truncated".So,i use mosi_data_noalign.pkl,but that's what happened.

yaohungt commented 5 years ago

Do you like to re-download the data from the dropbox? I never faced the issues you have, but I will examine it more tomorrow.

xiaoliqiangxxqzz commented 5 years ago

Do you like to re-download the data from the dropbox? I never faced the issues you have, but I will examine it more tomorrow.

Ok,I will re-download the data and try again

yaohungt commented 5 years ago

我不记得我遇到过这个问题。看来问题出在dataset.py中。 您使用的PyTorch是什么版本?另外,您可以检查X / Y / META的加载在第51-53行中是否正确 https://github.com/yaohungt/Multimodal-Transformer/blob/master/src/dataset.py

The version of PyTorch is 1.2.0. And when i use mosei_senti_data_noalign.pkl, error occurred:"_pickle.UnpicklingError: pickle data was truncated".So,i use mosi_data_noalign.pkl,but that's what happened.

By the way, it surprises me that GitHub has an automatic translation function....

yaohungt commented 5 years ago

I guess maybe you do not set the datapath correctly? If this is the case, it will have your above issues.

xiaoliqiangxxqzz commented 5 years ago

我不记得我遇到过这个问题。看来问题出在dataset.py中。 您使用的PyTorch是什么版本?另外,您可以检查X / Y / META的加载在第51-53行中是否正确 https://github.com/yaohungt/Multimodal-Transformer/blob/master/src/dataset.py

The version of PyTorch is 1.2.0. And when i use mosei_senti_data_noalign.pkl, error occurred:"_pickle.UnpicklingError: pickle data was truncated".So,i use mosi_data_noalign.pkl,but that's what happened.

By the way, it surprises me that GitHub has an automatic translation function....

hahaha,chrome has that function not Github

xiaoliqiangxxqzz commented 5 years ago

I guess maybe you do not set the datapath correctly? If this is the case, it will have your above issues.

yes, it works now.But it seems like there is some problems with mosei_senti_data_noalign.pkl.