From 894390d3aadf913126665c5c3273982ced15a824 Mon Sep 17 00:00:00 2001 From: Gareth Davidson Date: Mon, 19 Sep 2022 10:27:18 +0100 Subject: [PATCH] Fix fid_score.py The first line needs to specify the interpreter or it won't run as a program --- fid/fid_score.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fid/fid_score.py b/fid/fid_score.py index 91ae2b9..d58c3cd 100755 --- a/fid/fid_score.py +++ b/fid/fid_score.py @@ -1,7 +1,8 @@ +#!/usr/bin/env python3 + # Code adapted and modified from https://github.com/mseitzer/pytorch-fid. Licensing # and description duplicated below. -#!/usr/bin/env python3 """Calculates the Frechet Inception Distance (FID) to evalulate GANs The FID metric calculates the distance between two distributions of images.