Comments (5)
~/.cache is the cache path, after the translator download all the file. cioy the file to the offline same location can reload it.
Hope this may be helpful.
from seamless_communication.
Hi - I filed a similar issue on fairseq2 facebookresearch/fairseq2#6, looks like the issue is that I was specifying an absolute path with a leading slash (e.g. checkpoint: 'file:///foo/bar/model.pth') but was asked to just use two slashes (checkpoint: 'file://foo/bar/model.pth') and that worked.
from seamless_communication.
Hey @jgwinnup - Good call, for now you could override path in asset cards e.g. https://github.com/facebookresearch/seamless_communication/blob/main/src/seamless_communication/assets/cards/seamlessM4T_large.yaml#L10, with a prefix "file://" to indicate local path.
Also paths are cached so you should only need to download it once anyway.
from seamless_communication.
Thanks for the pointer - when I specify a file:// URI I get the following error:
fairseq2.assets.card.AssetCardError: The value of the field 'checkpoint' of the asset card 'seamlessM4T_large' must be a valid URI, but is 'file:///foo/bar/seamless-m4t-large/multitask_unity_large.pt' instead.
I can work around this by starting up a python http.server and serve the file locally, but it would be nice to have proper file:// URI support.
from seamless_communication.
Hey @jgwinnup double checking the logic here it should work https://github.com/facebookresearch/fairseq2/blob/main/src/fairseq2/assets/download_manager.py#L132. Could you print out pathname here and see if it's expected?
from seamless_communication.
Related Issues (20)
- Why the extract_alignment function does not return times?
- After downloading the seamless-m4t-large model file, not able to inference from local files.
- Sequential Execution of translator.predict() in Multithreaded Environment
- Incorrect output for T2TT between English and Japanese on MPS backend. HOT 1
- M4T V2 --- Do you know how to teach the TEXT_TO_SPEECH ?? Does that mean no one has done it or you don't want to give me a guide? Thankful
- Any plans to release finetuning script for Seamless Streaming?
- text to text not showing even as an option m4t_predict: error: argument --task: invalid choice: 'T2TT' (choose from 'ASR', 'S2ST', 'S2TT') HOT 2
- Is there a person in this desert who can answer me? HOT 2
- I can't run bash script for generate dataset for fine-tuning m4t model!
- Deployment of Seamless M4T Model - Exporting text.decoder to ONNX or Using torch.jit.trace
- How to find out speaker id for certain languages? Is there any reference?
- Have anyone face this problem when finetune
- Reproduciblity/seed
- seamless-streaming inference error
- Obtain the speech embedding
- S2S aligned metadata "extension" is a subset of prior metadata release?
- pip dependency conflict when installing
- RuntimeError: torchaudio_sox::save_audio_file() Expected a value of type 'str' for argument '_0' but instead found type 'PosixPath'.
- Cast error details: Unable to cast Python instance of type <class 'pathlib.PosixPath'> to C++ type '?' (#define PYBIND11_DETAILED_ERROR_MESSAGES or compile in debug mode for details)
- Bug in fine-tuning
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from seamless_communication.