Source features with translate.ua

Hello,

I’ve used -case_feature in tokenization and now I’ve got trained model. Now I’m trying to translate few files but have an error:

torch/install/bin/luajit: OpenNMT/onmt/utils/Features.lua:60: expected 1 source features, got 0

Should I use some option for translate.lua and point it to *.source_feature_1.dict somehow ?

Thanks.

Hi,

Did you tokenize the test files with -case_feature as well?

Thanks, forgot about that and now it works ! :slight_smile: