Skip to content

Commit

Permalink
update PATH to compute fid
Browse files Browse the repository at this point in the history
  • Loading branch information
kilianFatras committed Jan 16, 2024
1 parent 952bdec commit f7db0ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/images/cifar10/compute_fid.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@


# Load the model
PATH = f"{FLAGS.input_dir}/{FLAGS.model}/cifar10_weights_step_{FLAGS.step}.pt"
PATH = f"{FLAGS.input_dir}/{FLAGS.model}/{FLAGS.model}_cifar10_weights_step_{FLAGS.step}.pt"
print("path: ", PATH)
checkpoint = torch.load(PATH)
state_dict = checkpoint["ema_model"]
Expand Down

0 comments on commit f7db0ef

Please sign in to comment.