TideDancer / interspeech21_emotion

98 stars 20 forks source link

Model does not work on MELD dataset #12

Closed wenjun90 closed 1 year ago

wenjun90 commented 2 years ago

Dear @TideDancer,

Could I ask you 2 questions?

Thank you very much,

Best regards

TideDancer commented 2 years ago

Sorry for the late reply. I never tested MELD dataset so I am not sure how it works. Do you need to rewrite the data_process part in the code ?

Yes it should be OK to add another task, and add the loss from that task. Ideally, you need to change the data_collator part to add another cls_label, and add them together, e.g. https://github.com/TideDancer/interspeech21_emotion/blob/main/run_emotion.py#L307 . Accordingly, the loss computation part https://github.com/TideDancer/interspeech21_emotion/blob/main/model.py#L101 also need changes.

Hope this helps.