Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Label indices do not match class weights or paper notation #51

Open
florianblume opened this issue Jul 17, 2024 · 3 comments
Open

Label indices do not match class weights or paper notation #51

florianblume opened this issue Jul 17, 2024 · 3 comments

Comments

@florianblume
Copy link

Hi,

first of all thanks for your great work and providing this dataset!

Unfortunately I just realized that the labeling indices that you provide in the annotation files, i.e. {'neutral': 0, 'surprise': 1, 'fear': 2, 'sadness': 3, 'joy': 4, 'disgust': 5, 'anger': 6}, do not match how you specify them in the paper and - more importantly - the order of the weights in the README.md: [4.0, 15.0, 15.0, 3.0, 1.0, 6.0, 3.0]. Given the occurrence counts, I'm assuming that the weight 1.0 belongs to neutral, which is index 0 in the annotation files but index 4 in the weights.

Could you correct the weights so that users won't accidentally use the wrong assignments if they don't compute the weights themselves (like me)?

The correct weights are [1.0, 3.0, 15.0, 6.0, 3.0, 15.0, 4.0].

Best,
Florian

@Triaill
Copy link

Triaill commented Oct 11, 2024

Hi, 你好,

first of all thanks for your great work and providing this dataset!首先感谢您的出色工作并提供此数据集!

Unfortunately I just realized that the labeling indices that you provide in the annotation files, i.e. {'neutral': 0, 'surprise': 1, 'fear': 2, 'sadness': 3, 'joy': 4, 'disgust': 5, 'anger': 6}, do not match how you specify them in the paper and - more importantly - the order of the weights in the README.md: [4.0, 15.0, 15.0, 3.0, 1.0, 6.0, 3.0]. Given the occurrence counts, I'm assuming that the weight 1.0 belongs to neutral, which is index 0 in the annotation files but index 4 in the weights.不幸的是,我刚刚意识到您在注释文件中提供的标签索引,即 {'neutral': 0, 'surprise': 1, 'fear': 2, 'sadness': 3, 'joy': 4, 'disgust': 5, 'anger': 6} ,与您在论文中指定的方式不匹配 - 更重要的是 - README.md 中权重的顺序: [4.0, 15.0, 15.0, 3.0, 1.0, 6.0, 3.0] 。考虑到出现次数,我假设权重1.0属于中性,即注释文件中的索引0但权重中的索引4

Could you correct the weights so that users won't accidentally use the wrong assignments if they don't compute the weights themselves (like me)?您能否更正权重,以便用户在不自己计算权重(像我一样)的情况下不会意外地使用错误的分配?

The correct weights are [1.0, 3.0, 15.0, 6.0, 3.0, 15.0, 4.0].正确的权重是 [1.0, 3.0, 15.0, 6.0, 3.0, 15.0, 4.0]

Best, 最好的, Florian 弗洛里安

Same for me!May I ask if you've solved it?

@florianblume
Copy link
Author

Hey,

I solved it by just using the corrected weights that I posted. I opened this issue so that other people would not take the wrong weights from here.

So just use the corrected weights!

@Triaill
Copy link

Triaill commented Nov 9, 2024

Hey,

I solved it by just using the corrected weights that I posted. I opened this issue so that other people would not take the wrong weights from here.

So just use the corrected weights!

Thank you very much for your guidance!I‘m not sure about how to set class weights,could you give me some advice?
Which files and code should I modify?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants