Fixes #8

Merged
s444409 merged 9 commits from flipping into pretty-results 2023-02-01 22:14:44 +01:00
Showing only changes of commit 37925c25fb - Show all commits

View File

@ -104,7 +104,7 @@ def main():
source = load_source('test_set/Ayanokouji, Kiyotaka.jpg') source = load_source('test_set/Ayanokouji, Kiyotaka.jpg')
results = similarity_to_anime(source, anime_faces_set) results = similarity_to_anime(source, anime_faces_set)
method = 'structural-similarity' method = 'correlation'
top_results = get_top_results(results, count=4, metric=method) top_results = get_top_results(results, count=4, metric=method)
print(top_results) print(top_results)
plot_results(source, transfer_to_anime(source), top_results, anime_faces_set, method) plot_results(source, transfer_to_anime(source), top_results, anime_faces_set, method)