Generative Image ModelsMedium
Frechet Inception Distance
~15 mincode completion
Implement fid(mu_r, sigma_r, mu_g, sigma_g) returning FID as a float.
Where this shows up
~15 min
••••••••••••••••
8 employers weight this skill
4 autonomy companies, 1 enterprise vendor, 1 defense company, 1 health and bio company, 1 AI product company. Top match scores 85.
Python
import numpy as np
def fid(mu_r, sigma_r, mu_g, sigma_g):
"""
Frechet distance between two Gaussians.
Args:
mu_r, mu_g: feature means, shape (d,)
sigma_r, sigma_g: feature covariances, shape (d, d), symmetric positive definite
Returns:
float
"""
# YOUR CODE HERE
pass