Skip to content

How to evaluate distribution based metrics after the training is finished? #319

Answered by snk4tr
Ghaleb-alnakhlani asked this question in Q&A
Discussion options

You must be logged in to vote

Hi, @Ghaleb-alnakhlani.

Your first question is not quite clear to me. DB metrics are used to compute the distance between two distributions of data. In your case, these two distributions are presumably defined by two sets of images: generated and real ones. To compute some DB metric score (e.g. FID), you first need to compute features from these images either using your own feature extractor or one of the extractors that are provided in the library. For the latter, each DB metric has the compute_feats methods designed to help you to do that. After that, you can pass these features to the metric class to get the resulting score as shown in the example script. This can be done regardless of…

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@snk4tr
Comment options

@Ghaleb-alnakhlani
Comment options

@Ghaleb-alnakhlani
Comment options

@snk4tr
Comment options

@Ghaleb-alnakhlani
Comment options

Answer selected by Ghaleb-alnakhlani
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants