Skip to content

Commit

Permalink
Add evaluation with novel compositions
Browse files Browse the repository at this point in the history
  • Loading branch information
filippo-merlo committed Feb 10, 2024
1 parent 982f96d commit a28c99a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,7 @@ def my_clip_train(in_path, out_path, model_name, source, in_base,
memory = pickle.load(infile)
infile.close()

# new stuff
# evaluate with novel compositions
evaluations['mare_novel_comp'].append(memory_evaluation(args.in_path, 'novel_test/', memory,
bn_n_test, ['rgba'], dic_train, vocabs))
Expand Down

0 comments on commit a28c99a

Please sign in to comment.