thuiar / Self-MM

Codes for paper "Learning Modality-Specific Representations with Self-Supervised Multi-Task Learning for Multimodal Sentiment Analysis"
MIT License
176 stars 35 forks source link

The size of SIMS features.pkl #8

Closed leijue222 closed 3 years ago

leijue222 commented 3 years ago

I download you processed SIMS features unaligned_39.pkl is 1.2GB. I use DataPre.py to process it get features.pkl is 1.8GB. Why is the size of the two files so different?


The features.pkl processed by DataPre.py cannot be used directly in run.py because the format of the data is different. In unaligned_39.pkl: The data[self.mode][self.args.train_mode+'_labels'] is <class 'numpy.ndarray'>

In features.pkl: The data[self.mode][self.args.train_mode+'_labels'] is <class 'list'>


It seems that DataPre.py is for MOSI rather than SIMS... The data.keys() length is suitable for MOSI. I need more debug time...