Skip to content

Commit

Permalink
add more details in FRD
Browse files Browse the repository at this point in the history
  • Loading branch information
Ha0Tang authored Aug 26, 2020
1 parent e4c50e7 commit 86e0460
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/evaluation/FRD/calculate_FRD.m
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@

generated_image_path = fullfile( fake_image_folder, Image( o ).name);
generated_image=imread(generated_image_path);
% generated_image=imresize(generated_image, [sz(1), sz(2)]); % for other resolutions such as 64*64
% generated_image=imresize(generated_image, [sz(1), sz(2)]); % uncomment this line for other resolutions such as 64*64, 512*512
ground_image_path=fullfile( real_image_folder, Image( o ).name);
ground_truth_image=imread(ground_image_path);
% ground_truth_image=imresize(ground_truth_image, [sz(1), sz(2)]); % for other resolutions such as 64*64
% ground_truth_image=imresize(ground_truth_image, [sz(1), sz(2)]); % uncomment this line for other resolutions such as 64*64, 512*512

ground_truth_feature = activations(net, ground_truth_image, layer);
generated_feature = activations(net, generated_image, layer);
Expand Down

0 comments on commit 86e0460

Please sign in to comment.