njucckevin / ADS-Cap

A Framework for Accurate and Diverse Stylized Captioning with Unpaired Stylistic Corpora
9 stars 2 forks source link

evaluate_diy function missing #1

Open KillerGary opened 1 year ago

KillerGary commented 1 year ago

i cannot get the evaluate_diy function in eval_metrics_cvae.py. can u provide it for reference ?thanks!

njucckevin commented 1 year ago

Sorry, I mistakenly replied to this one only to find that it didn't work. The evaluate_diy is simply a function that allows custom formatted inputs to calculate pycoco. The evaluate_diy function is in the new added eval.py, you can just replace the eval.py in pycocoevalcap package by our eval.py.