seamless_communication icon indicating copy to clipboard operation
seamless_communication copied to clipboard

typo & error in expressivity_predict example

Open martinshkreli opened this issue 1 year ago • 0 comments

from the readme:

expressivity_predict <path_to_input_audio> --tgt_lang <tgt_lang> --model_name seamless_expressivity --vocoder_name vocoder_pretssel --output--path <path_to_save_audio>

the correct flag is --output_path, not --output--path

running this also results in:

(wslenv) martin@Desktop:/mnt/c/users/shkre/code/seamless/seamless_communication$ expressivity_predict 7.wav --tgt_lang spa --model_name seamless_expressivity --vocoder_name vocoder_pretssel --output_path . 2023-12-10 16:12:24,290 INFO -- seamless_communication.cli.expressivity.predict.predict: Running inference on device=device(type='cuda', index=0) with dtype=torch.float16. Traceback (most recent call last): File "/mnt/c/users/shkre/code/seamless/wslenv/bin/expressivity_predict", line 8, in sys.exit(main()) File "/mnt/c/users/shkre/code/seamless/wslenv/lib/python3.8/site-packages/seamless_communication/cli/expressivity/predict/predict.py", line 87, in main translator = Translator( File "/mnt/c/users/shkre/code/seamless/wslenv/lib/python3.8/site-packages/seamless_communication/inference/translator.py", line 113, in init self.model = load_unity_model(model_name_or_card, device=device, dtype=dtype) File "/mnt/c/users/shkre/code/seamless/wslenv/lib/python3.8/site-packages/fairseq2-0.2.0-py3.8.egg/fairseq2/models/utils/generic_loaders.py", line 225, in call path = self.download_manager.download_checkpoint( File "/mnt/c/users/shkre/code/seamless/wslenv/lib/python3.8/site-packages/fairseq2-0.2.0-py3.8.egg/fairseq2/assets/download_manager.py", line 131, in download_checkpoint return op.run() File "/mnt/c/users/shkre/code/seamless/wslenv/lib/python3.8/site-packages/fairseq2-0.2.0-py3.8.egg/fairseq2/assets/download_manager.py", line 200, in run self._check_if_gated_asset() File "/mnt/c/users/shkre/code/seamless/wslenv/lib/python3.8/site-packages/fairseq2-0.2.0-py3.8.egg/fairseq2/assets/download_manager.py", line 272, in _check_if_gated_asset raise AssetError( fairseq2.assets.error.AssetError: The checkpoint of seamless_expressivity is gated. Please visit https://github.com/facebookresearch/seamless_communication to learn how to get access. (wslenv) martin@Desktop:/mnt/c/users/shkre/code/seamless/seamless_communication$

despite being logged in and having access to the gated model.

martinshkreli avatar Dec 10 '23 21:12 martinshkreli