-
Notifications
You must be signed in to change notification settings - Fork 32
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
diversity ratio code #16
Comments
The main code can be shown by
where labels_target denotes the ground truth of labels, and outputs_target denotes the prediction outputs. Details can be refer to train_image.py |
In unsupervised domain adaptation,the "labels_target" is usually unknown, how do you get the "labels_target"? Where should this line of code be placed in the train_image.py? Can you explain it in detail? Thank you very much. |
Then we can add the calculation diversity before line 173 Finally, we can print the diversity to see the variation. |
Hello, the diversity ratio is measured by the mean predicted category number dividing the mean ground-truth category number. Is there a code to calculate the diversity ratio? Thanks.
The text was updated successfully, but these errors were encountered: