Skip to content

Commit

Permalink
Update fid_score.py | Move the sys path update before the import.
Browse files Browse the repository at this point in the history
Currently the sys path is meaningless and this change was done by the automated code formatting
  • Loading branch information
arjunsuresh authored Nov 4, 2024
1 parent c8c1e61 commit 843597f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions text_to_image/tools/fid/fid_score.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@
limitations under the License.
"""

sys.path.append(os.path.dirname(__file__))

from inception import InceptionV3
from torch.nn.functional import adaptive_avg_pool2d
from scipy import linalg
Expand All @@ -46,8 +48,6 @@
import os
import sys

sys.path.append(os.path.dirname(__file__))


try:
from tqdm import tqdm
Expand Down

0 comments on commit 843597f

Please sign in to comment.