muzic icon indicating copy to clipboard operation
muzic copied to clipboard

[meloform] start train met unrecognized arguments

Open ThinkInFuture opened this issue 2 years ago • 2 comments

fairseq-train: error: unrecognized arguments: ./data/train/processed/processed_para/ --label-smoothing 0

ThinkInFuture avatar Oct 17 '22 13:10 ThinkInFuture

maybe some parameter is missing before $data_dir . ?

fairseq-train --task ${task}
$data_dir
--user-dir ${user_dir} \

ThinkInFuture avatar Oct 17 '22 13:10 ThinkInFuture

I checked it, and it works for me. Did you edit this file? Because sometime this may occurs when you edit it on Windows, and run it on Linux, the EOL will be in the format of Windows. So I recommend you open it in Notepad++, go to Edit -> EOL Conversion -> Windows.

And sometime it is the fairseq version that matters, I suggest you use the versions before v0.12 like [v0.10.2].

Please let me know if you still have the issues.

peillu avatar Oct 18 '22 05:10 peillu