Seamless M4T HF çalışmıyor

Katılım
10 Ocak 2025
Mesajlar
321
Beğeniler
92
Merhaba arkadaşlar,

Google Colab üzerinde Seamless M4T HF projesini çalıştırmaya çalışırken aşağıdaki hatayla karşılaştım:

Benim hedefim, İngilizce sesleri Türkçe seslere çevirip videolara montajlamak ve Türkçe dublajlı içerik oluşturmak. Buradaki “Seamless” ismi, sistemin ses çevirisini ve montajı tek bir akışta, kesintisiz ve otomatik olarak yapabilme yeteneğini vurguluyor. Yani dil modeli ve ses işleme adımları arasında insan müdahalesi olmadan bir “akış” sağlanıyor.



Kod:
  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.0/61.0 kB 5.8 MB/s eta 0:00:00
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 51.8/51.8 kB 5.4 MB/s eta 0:00:00
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 162.3/162.3 kB 15.1 MB/s eta 0:00:00
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 20.0/20.0 MB 60.6 MB/s eta 0:00:00
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.3/2.3 MB 26.0 MB/s eta 0:00:00
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 619.9/619.9 MB 2.3 MB/s eta 0:00:00
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 317.1/317.1 MB 5.4 MB/s eta 0:00:00
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 11.8/11.8 MB 62.8 MB/s eta 0:00:00
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 21.0/21.0 MB 31.1 MB/s eta 0:00:00
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 849.3/849.3 kB 10.2 MB/s eta 0:00:00
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 557.1/557.1 MB 3.1 MB/s eta 0:00:00
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 168.4/168.4 MB 7.5 MB/s eta 0:00:00
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 54.6/54.6 MB 12.9 MB/s eta 0:00:00
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 102.6/102.6 MB 8.4 MB/s eta 0:00:00
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 173.2/173.2 MB 6.5 MB/s eta 0:00:00
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 177.1/177.1 MB 8.7 MB/s eta 0:00:00
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 98.6/98.6 kB 10.4 MB/s eta 0:00:00
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.0/4.0 MB 80.3 MB/s eta 0:00:00
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 63.3/63.3 MB 12.6 MB/s eta 0:00:00
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 84.5/84.5 kB 10.0 MB/s eta 0:00:00
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 50.5/50.5 kB 4.4 MB/s eta 0:00:00
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 18.3/18.3 MB 68.6 MB/s eta 0:00:00
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 53.0/53.0 kB 5.4 MB/s eta 0:00:00
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.5/4.5 MB 21.0 MB/s eta 0:00:00
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 104.1/104.1 kB 11.2 MB/s eta 0:00:00
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 179.2/179.2 kB 18.3 MB/s eta 0:00:00
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 130.6/130.6 kB 14.8 MB/s eta 0:00:00
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.1/3.1 MB 105.8 MB/s eta 0:00:00
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 96.4/96.4 kB 10.8 MB/s eta 0:00:00
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
google-genai 1.29.0 requires websockets<15.1.0,>=13.0.0, but you have websockets 11.0.3 which is incompatible.
yfinance 0.2.65 requires websockets>=13.0, but you have websockets 11.0.3 which is incompatible.
torchaudio 2.6.0+cu124 requires torch==2.6.0, but you have torch 2.0.1 which is incompatible.
thinc 8.3.6 requires numpy<3.0.0,>=2.0.0, but you have numpy 1.26.4 which is incompatible.
opencv-python-headless 4.12.0.88 requires numpy<2.3.0,>=2; python_version >= "3.9", but you have numpy 1.26.4 which is incompatible.
db-dtypes 1.4.3 requires packaging>=24.2.0, but you have packaging 23.2 which is incompatible.
opencv-contrib-python 4.12.0.88 requires numpy<2.3.0,>=2; python_version >= "3.9", but you have numpy 1.26.4 which is incompatible.
xarray 2025.7.1 requires packaging>=24.1, but you have packaging 23.2 which is incompatible.
opencv-python 4.12.0.88 requires numpy<2.3.0,>=2; python_version >= "3.9", but you have numpy 1.26.4 which is incompatible.
torchvision 0.21.0+cu124 requires torch==2.6.0, but you have torch 2.0.1 which is incompatible.
dataproc-spark-connect 0.8.3 requires websockets>=14.0, but you have websockets 11.0.3 which is incompatible.
google-cloud-bigquery 3.35.1 requires packaging>=24.2.0, but you have packaging 23.2 which is incompatible.
mkl 2025.2.0 requires tbb==2022.*, but you have tbb 2021.8.0 which is incompatible.
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 803.2/803.2 kB 36.2 MB/s eta 0:00:00
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
  Preparing metadata (setup.py) ... done
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 57.3/57.3 kB 5.8 MB/s eta 0:00:00
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 102.8/102.8 kB 10.2 MB/s eta 0:00:00
  Preparing metadata (setup.py) ... done
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 175.5/175.5 kB 16.7 MB/s eta 0:00:00
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 191.8/191.8 kB 18.1 MB/s eta 0:00:00
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.3/2.3 MB 64.2 MB/s eta 0:00:00
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 755.6/755.6 MB 2.1 MB/s eta 0:00:00
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 410.6/410.6 MB 4.4 MB/s eta 0:00:00
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 14.1/14.1 MB 80.2 MB/s eta 0:00:00
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 23.7/23.7 MB 65.3 MB/s eta 0:00:00
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 823.6/823.6 kB 52.3 MB/s eta 0:00:00
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 731.7/731.7 MB 2.2 MB/s eta 0:00:00
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 121.6/121.6 MB 7.6 MB/s eta 0:00:00
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 56.5/56.5 MB 13.1 MB/s eta 0:00:00
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 124.2/124.2 MB 7.8 MB/s eta 0:00:00
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 196.0/196.0 MB 6.7 MB/s eta 0:00:00
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 166.0/166.0 MB 6.5 MB/s eta 0:00:00
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 99.1/99.1 kB 11.0 MB/s eta 0:00:00
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 167.9/167.9 MB 7.6 MB/s eta 0:00:00
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 47.3/47.3 kB 5.2 MB/s eta 0:00:00
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 78.5/78.5 kB 9.3 MB/s eta 0:00:00
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 542.1/542.1 kB 24.1 MB/s eta 0:00:00
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 115.9/115.9 kB 14.0 MB/s eta 0:00:00
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.3/3.3 MB 81.2 MB/s eta 0:00:00
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 172.0/172.0 kB 19.4 MB/s eta 0:00:00
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.3/3.3 MB 82.9 MB/s eta 0:00:00
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 249.2/249.2 kB 27.2 MB/s eta 0:00:00
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 57.9/57.9 kB 6.8 MB/s eta 0:00:00
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 63.6/63.6 kB 7.3 MB/s eta 0:00:00
  Building wheel for seamless-communication (pyproject.toml) ... done
  Building wheel for bitarray (setup.py) ... done
  Building wheel for openai-whisper (pyproject.toml) ... done
  Building wheel for textgrid (setup.py) ... done
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
gcsfs 2025.3.0 requires fsspec==2025.3.0, but you have fsspec 2024.3.1 which is incompatible.
torchvision 0.21.0+cu124 requires torch==2.6.0, but you have torch 2.2.2 which is incompatible.
dataproc-spark-connect 0.8.3 requires tqdm>=4.67, but you have tqdm 4.64.1 which is incompatible.
dataproc-spark-connect 0.8.3 requires websockets>=14.0, but you have websockets 11.0.3 which is incompatible.
/content
Cloning into 'seamless_m4t-hf'...
remote: Enumerating objects: 45, done.
remote: Counting objects: 100% (45/45), done.
remote: Compressing objects: 100% (29/29), done.
remote: Total 45 (delta 19), reused 37 (delta 15), pack-reused 0 (from 0)
Receiving objects: 100% (45/45), 11.44 KiB | 11.44 MiB/s, done.
Resolving deltas: 100% (19/19), done.
Downloading assets/sample_input.mp3 (10 KB)
Error downloading object: assets/sample_input.mp3 (9823696): Smudge error: Error downloading assets/sample_input.mp3 (982369687f05bf8fcd6923c4ffcccda0fcce92f44eceae5a9d00a431f07ea87b): [982369687f05bf8fcd6923c4ffcccda0fcce92f44eceae5a9d00a431f07ea87b] Object does not exist on the server: [404] Object does not exist on the server

Errors logged to /content/seamless_m4t-hf/.git/lfs/logs/20250818T154806.559904315.log
Use `git lfs logs last` to view the log.
error: external filter 'git-lfs filter-process' failed
fatal: assets/sample_input.mp3: smudge filter lfs failed
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry with 'git restore --source=HEAD :/'

/content/seamless_m4t-hf
--2025-08-18 15:48:06--  https://huggingface.co/spaces/facebook/seamless_m4t/resolve/main/assets/sample_input.mp3
Resolving huggingface.co (huggingface.co)... 13.35.202.121, 13.35.202.40, 13.35.202.34, ...
Connecting to huggingface.co (huggingface.co)|13.35.202.121|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://cdn-lfs.hf.co/repos/22/29/2229e95dad104ed5fc3c0a7965fcbe2b47992d3f70e969a2631e9ddcbb32ad9e/982369687f05bf8fcd6923c4ffcccda0fcce92f44eceae5a9d00a431f07ea87b?response-content-disposition=inline%3B+filename*%3DUTF-8%27%27sample_input.mp3%3B+filename%3D%22sample_input.mp3%22%3B&response-content-type=audio%2Fmpeg&Expires=1755535686&Policy=eyJTdGF0ZW1lbnQiOlt7IkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTc1NTUzNTY4Nn19LCJSZXNvdXJjZSI6Imh0dHBzOi8vY2RuLWxmcy5oZi5jby9yZXBvcy8yMi8yOS8yMjI5ZTk1ZGFkMTA0ZWQ1ZmMzYzBhNzk2NWZjYmUyYjQ3OTkyZDNmNzBlOTY5YTI2MzFlOWRkY2JiMzJhZDllLzk4MjM2OTY4N2YwNWJmOGZjZDY5MjNjNGZmY2NjZGEwZmNjZTkyZjQ0ZWNlYWU1YTlkMDBhNDMxZjA3ZWE4N2I%7EcmVzcG9uc2UtY29udGVudC1kaXNwb3NpdGlvbj0qJnJlc3BvbnNlLWNvbnRlbnQtdHlwZT0qIn1dfQ__&Signature=OhYSFC9bzYevBzZ41WTTX6tztFGIlJ-x2JtPMkufDvSTb4MdEJKwCWL9kSG%7E-b5My2Ri4FLgiC0rE4d29VrqjiTyPld2whNSraX%7Ee57%7EIVePIWnnwnQ%7EqA-jliCU6RWQoeSiprVsbx2-kf0OuBAo6DkWcMhVhYiPpg-vt07p-vSQa%7EaJyTgPF-lwgfvVKoSr%7EPwsGeBJ63UhzI9%7ExK5royhkYZWZ2wPXvIConkCWjed1TWyk%7E-Fyy14L4l70dyKmqre%7ETg0YFArIWUyQ2ew%7EH2VD3ky3AU5ula9zVGMclT33IC9iXaa8fb-BOs57e2eQFExz-vHeGcq9MvxojoXl9g__&Key-Pair-Id=K3RPWS32NSSJCE [following]
--2025-08-18 15:48:06--  https://cdn-lfs.hf.co/repos/22/29/2229e95dad104ed5fc3c0a7965fcbe2b47992d3f70e969a2631e9ddcbb32ad9e/982369687f05bf8fcd6923c4ffcccda0fcce92f44eceae5a9d00a431f07ea87b?response-content-disposition=inline%3B+filename*%3DUTF-8%27%27sample_input.mp3%3B+filename%3D%22sample_input.mp3%22%3B&response-content-type=audio%2Fmpeg&Expires=1755535686&Policy=eyJTdGF0ZW1lbnQiOlt7IkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTc1NTUzNTY4Nn19LCJSZXNvdXJjZSI6Imh0dHBzOi8vY2RuLWxmcy5oZi5jby9yZXBvcy8yMi8yOS8yMjI5ZTk1ZGFkMTA0ZWQ1ZmMzYzBhNzk2NWZjYmUyYjQ3OTkyZDNmNzBlOTY5YTI2MzFlOWRkY2JiMzJhZDllLzk4MjM2OTY4N2YwNWJmOGZjZDY5MjNjNGZmY2NjZGEwZmNjZTkyZjQ0ZWNlYWU1YTlkMDBhNDMxZjA3ZWE4N2I%7EcmVzcG9uc2UtY29udGVudC1kaXNwb3NpdGlvbj0qJnJlc3BvbnNlLWNvbnRlbnQtdHlwZT0qIn1dfQ__&Signature=OhYSFC9bzYevBzZ41WTTX6tztFGIlJ-x2JtPMkufDvSTb4MdEJKwCWL9kSG%7E-b5My2Ri4FLgiC0rE4d29VrqjiTyPld2whNSraX%7Ee57%7EIVePIWnnwnQ%7EqA-jliCU6RWQoeSiprVsbx2-kf0OuBAo6DkWcMhVhYiPpg-vt07p-vSQa%7EaJyTgPF-lwgfvVKoSr%7EPwsGeBJ63UhzI9%7ExK5royhkYZWZ2wPXvIConkCWjed1TWyk%7E-Fyy14L4l70dyKmqre%7ETg0YFArIWUyQ2ew%7EH2VD3ky3AU5ula9zVGMclT33IC9iXaa8fb-BOs57e2eQFExz-vHeGcq9MvxojoXl9g__&Key-Pair-Id=K3RPWS32NSSJCE
Resolving cdn-lfs.hf.co (cdn-lfs.hf.co)... 3.170.229.125, 3.170.229.19, 3.170.229.28, ...
Connecting to cdn-lfs.hf.co (cdn-lfs.hf.co)|3.170.229.125|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 10272 (10K) [audio/mpeg]
Saving to: ‘/content/seamless_m4t-hf/assets/sample_input.mp3’

/content/seamless_m 100%[===================>]  10.03K  --.-KB/s    in 0s     

2025-08-18 15:48:06 (67.3 MB/s) - ‘/content/seamless_m4t-hf/assets/sample_input.mp3’ saved [10272/10272]

--2025-08-18 15:48:06--  https://huggingface.co/spaces/facebook/seamless_m4t/resolve/main/assets/sample_input_2.mp3
Resolving huggingface.co (huggingface.co)... 13.35.202.121, 13.35.202.40, 13.35.202.34, ...
Connecting to huggingface.co (huggingface.co)|13.35.202.121|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://cdn-lfs.hf.co/repos/22/29/2229e95dad104ed5fc3c0a7965fcbe2b47992d3f70e969a2631e9ddcbb32ad9e/6a505a4641e3f5f0ddec9508832793aa20e63d2545530b66bc04a9bd19a742e6?response-content-disposition=inline%3B+filename*%3DUTF-8%27%27sample_input_2.mp3%3B+filename%3D%22sample_input_2.mp3%22%3B&response-content-type=audio%2Fmpeg&Expires=1755535687&Policy=eyJTdGF0ZW1lbnQiOlt7IkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTc1NTUzNTY4N319LCJSZXNvdXJjZSI6Imh0dHBzOi8vY2RuLWxmcy5oZi5jby9yZXBvcy8yMi8yOS8yMjI5ZTk1ZGFkMTA0ZWQ1ZmMzYzBhNzk2NWZjYmUyYjQ3OTkyZDNmNzBlOTY5YTI2MzFlOWRkY2JiMzJhZDllLzZhNTA1YTQ2NDFlM2Y1ZjBkZGVjOTUwODgzMjc5M2FhMjBlNjNkMjU0NTUzMGI2NmJjMDRhOWJkMTlhNzQyZTY%7EcmVzcG9uc2UtY29udGVudC1kaXNwb3NpdGlvbj0qJnJlc3BvbnNlLWNvbnRlbnQtdHlwZT0qIn1dfQ__&Signature=qneeDKXyJqc10rnKU5SXdI7n343DA5MH8%7EH0wKi7B5GE0aav0rLfJd7zVVjtGUJrwZy%7EKZy5U3YkdlCbguuW30CHeCfTBTIEBEWKiCgeirRPujiiwMFpOlITYUF2gC3Wbiu9JKydM9fRZFHsNqWfqVERZPLafI8EwDZYuNQohne3BX8WU0HzmTfOZRHaJa7DYe1tpcImgjo2LKRHLrjJ%7EvHuMf3xV-zb7LOC1dlNbSJIhocBut13CA6W9WV5KTk97wxJPmpXDM3hglRKnpOCx9gbpAYYic7QVW7z1o94U2KIp9jhWKye%7EsbmYOBU8x4k5KObJyS7UpiVtjBi1q2TMA__&Key-Pair-Id=K3RPWS32NSSJCE [following]
--2025-08-18 15:48:07--  https://cdn-lfs.hf.co/repos/22/29/2229e95dad104ed5fc3c0a7965fcbe2b47992d3f70e969a2631e9ddcbb32ad9e/6a505a4641e3f5f0ddec9508832793aa20e63d2545530b66bc04a9bd19a742e6?response-content-disposition=inline%3B+filename*%3DUTF-8%27%27sample_input_2.mp3%3B+filename%3D%22sample_input_2.mp3%22%3B&response-content-type=audio%2Fmpeg&Expires=1755535687&Policy=eyJTdGF0ZW1lbnQiOlt7IkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTc1NTUzNTY4N319LCJSZXNvdXJjZSI6Imh0dHBzOi8vY2RuLWxmcy5oZi5jby9yZXBvcy8yMi8yOS8yMjI5ZTk1ZGFkMTA0ZWQ1ZmMzYzBhNzk2NWZjYmUyYjQ3OTkyZDNmNzBlOTY5YTI2MzFlOWRkY2JiMzJhZDllLzZhNTA1YTQ2NDFlM2Y1ZjBkZGVjOTUwODgzMjc5M2FhMjBlNjNkMjU0NTUzMGI2NmJjMDRhOWJkMTlhNzQyZTY%7EcmVzcG9uc2UtY29udGVudC1kaXNwb3NpdGlvbj0qJnJlc3BvbnNlLWNvbnRlbnQtdHlwZT0qIn1dfQ__&Signature=qneeDKXyJqc10rnKU5SXdI7n343DA5MH8%7EH0wKi7B5GE0aav0rLfJd7zVVjtGUJrwZy%7EKZy5U3YkdlCbguuW30CHeCfTBTIEBEWKiCgeirRPujiiwMFpOlITYUF2gC3Wbiu9JKydM9fRZFHsNqWfqVERZPLafI8EwDZYuNQohne3BX8WU0HzmTfOZRHaJa7DYe1tpcImgjo2LKRHLrjJ%7EvHuMf3xV-zb7LOC1dlNbSJIhocBut13CA6W9WV5KTk97wxJPmpXDM3hglRKnpOCx9gbpAYYic7QVW7z1o94U2KIp9jhWKye%7EsbmYOBU8x4k5KObJyS7UpiVtjBi1q2TMA__&Key-Pair-Id=K3RPWS32NSSJCE
Resolving cdn-lfs.hf.co (cdn-lfs.hf.co)... 3.170.229.125, 3.170.229.19, 3.170.229.28, ...
Connecting to cdn-lfs.hf.co (cdn-lfs.hf.co)|3.170.229.125|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 30624 (30K) [audio/mpeg]
Saving to: ‘/content/seamless_m4t-hf/assets/sample_input_2.mp3’

/content/seamless_m 100%[===================>]  29.91K  --.-KB/s    in 0s     

2025-08-18 15:48:07 (330 MB/s) - ‘/content/seamless_m4t-hf/assets/sample_input_2.mp3’ saved [30624/30624]

/usr/local/lib/python3.11/dist-packages/gradio_client/documentation.py:106: UserWarning: Could not get documentation group for <class 'gradio.mix.Parallel'>: No known documentation group for module 'gradio.mix'
  warnings.warn(f"Could not get documentation group for {cls}: {exc}")
/usr/local/lib/python3.11/dist-packages/gradio_client/documentation.py:106: UserWarning: Could not get documentation group for <class 'gradio.mix.Series'>: No known documentation group for module 'gradio.mix'
  warnings.warn(f"Could not get documentation group for {cls}: {exc}")
Traceback (most recent call last):
  File "/content/seamless_m4t-hf/app.py", line 8, in <module>
    from seamless_communication.models.inference.translator import Translator
ModuleNotFoundError: No module named 'seamless_communication.models.inference'

--

Sorum:

Projenin güncel versiyonunda modül yapısı değişti mi, yoksa bu bir kurulum hatası mı?
Benzer bir problemi yaşayan var mı?

Her türlü öneriye ve deneyime açığım.

Teşekkürler!
 
V2 tabanlı ise evet, artık seamless_communication.inference modülünü kullanmalısınız. .translator eki artık kullanılmıyor.
 
Kod:
 File "/content/seamless_m4t-hf/app.py", line 8, in <module>
    from seamless_communication.models.inference.translator import Translator
ModuleNotFoundError: No module named 'seamless_communication.models.inference'

Burada aldığınız uyarı, app.py dosyasında 8. satırda bulunan from seamless_communication.models.inference.translator import Translator modül artık yerini from seamless_communication.inference import Translator'a bıraktı. Kodu bu şekilde güncellerseniz sorunu muhtemelen çözmüş olursunuz diye düşünüyorum.
 
Bu kodu çalıştırmak için nereye ekleyeceğimi de anlamadım.
Chatgpt ile de çok şey denedim ve hangi kodu yenilesem de olmadı.
 
Bu siteyi kullanmak için çerezler gereklidir. Siteyi kullanmaya devam etmek için çerezleri kabul etmelisiniz. Daha Fazlasını Öğren.…