scutcsq / DWFormer

DWFormer: Dynamic Window Transformer for Speech Emotion Recognition(ICASSP 2023 Oral)
50 stars 3 forks source link

question,help #14

Open 520040428 opened 6 months ago

520040428 commented 6 months ago

label = np.frombuffer(self.txn.get(key_label.encode()),dtype = np.int64) A error:ValueError: buffer size must be a multiple of element size,how to solute,thank you for answering.

scutcsq commented 6 months ago

Hello, I guess it is the problem of the lmdbDataset class? You can check if the lengths of the lmdb dataset matches the number