(cfg) == 1: # this is hit if config object is nested in directory that is named after model type model_type = next(iter(cfg)) if model_type in MODEL_DATACLASS_REGISTRY: cfg = cfg[model_type] else: raise Exception( "Could not infer model type from directory. Please add _name ...
return TASK_REGISTRY[args.task].setup_task(args, **kwargs) File "/cephfs/home/arij/structured-uncertainty/fairseq/tasks/translation.py", line 174, in setup_task raise Exception('Could not infer language pair, please provide it explicitly') Exception: Could not infer language pair, please pro...
arg_overrides)w2v_args=state["args"]else:state=Nonew2v_args=args.w2v_argsassertargs.normalize==w2v_args.normalize,'Fine-tuning works best when data normalization is the same'w2v_args.data=args.datatask=Wav2vec2PretrainingTask.setup_task(w2v_args)model=task.build_model(...
Then I run " python /data/lby/task/fairseq/examples/speech_recognition/infer.py /data/lby/task/fairseq/examples/wav2vec/fine --task audio_finetuning --nbest 1 --path /data/lby/task/fairseq/outputs/2023-05-23/09-57-25/checkpoints/checkpoint_best.pt --gen-subset $subset --results-path...
We read every piece of feedback, and take your input very seriously. Include my email address so I can be contacted Cancel Submit feedback Saved searches Use saved searches to filter your results more quickly Cancel Create saved search Sign in Sign up {{ message }} utter...
File "infer_multi.py", line 238, in main state=model_state, File "/root/fairseq/fairseq/checkpoint_utils.py", line 269, in load_model_ensemble state, File "/root/fairseq/fairseq/checkpoint_utils.py", line 318, in load_model_ensemble_and_task ...