-
Notifications
You must be signed in to change notification settings - Fork 8
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
Problem on calculating the entropy #2
Comments
I think you're right. When I run -- dynamic, the effect is even worse than the fixed fusion method. |
Hi @hubaak, yeah, it seems we may have some mistakes on entropy calculation, we will do some carefully check on it and make some correction. In addition, thank you for your kind suggestion for the eq.8. In this eq, we want to use "m" to represent modality, however I think you are right, it looks a bit ambiguous, I will discuss this will my Prof and make any essential correction in the camera-ready paper. |
Hi @LittlePoolSpirit, I think decreasing the eval batch szie may make some effect (e.g. --batch_size 1).
We have: Accuracy: 0.7768817204301075, accuracy_a: 0.5981182795698925, accuracy_v: 0.668010752688172 --dyanmic (with the modification by @hubaak )
We have: Accuracy: 0.7876344086021505, accuracy_a: 0.5981182795698925, accuracy_v: 0.668010752688172 |
Good idea, I met the same problem, too. |
Thanks for your exciting work in dealing with the problem of multimodal imbalance. However, I met some troubles when running the code.
In
main.py
, the code for calculating entropy is shown below:The size of the output is [B, N] (B for batch and N for the numbers of categories).
According to the Equation (8) in the paper, the correct code to get entropy should be:
What makes a difference here is entropy should be calculated for each sample, but not be summed up in a batch.
Oh! By the way, I think Equation (8) looks a little bit odd as 'm' shows up on the left side of the equation and serves as indices of the 'max' operation.
The text was updated successfully, but these errors were encountered: