mirror of
https://github.com/jantic/DeOldify.git
synced 2026-08-28 09:34:19 +08:00
Fix fid_score.py
The first line needs to specify the interpreter or it won't run as a program
This commit is contained in:
+2
-1
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user