TitleStylist icon indicating copy to clipboard operation
TitleStylist copied to clipboard

can't generate headlines

Open zzqziv opened this issue 4 years ago • 3 comments

when i use the command'./evaluate_mix_CNN_NYT_X.sh --style YOUR_TARGET_STYLE --model_dir MODEL_STORED_DIRCTORY' ,there is a problem'TypeError: init() takes 1 positional argument but 6 were given',is it a code wrong or else?

zzqziv avatar Aug 06 '21 02:08 zzqziv

Could you provide the full error log so that I can know which line caused this error? Thanks!

jind11 avatar Aug 06 '21 06:08 jind11

The question is due to your fairseq version, your version is 1.0+, however, 0.9.0 is used in this project.

Imposingapple avatar Aug 10 '21 02:08 Imposingapple

Thank you for helping debug! @Imposingapple

jind11 avatar Aug 10 '21 06:08 jind11