●Raspberry Pi への Seed-VCインストール
動作環境としてRaspberry Piを用いる場合、かなり制約があります
Raspberry Pi4 Model B 8GB
ARMv8(aarch64)アーキテクチャを持つ機種・64bit OS
例えば、torchaudioはSeed-VC内の使用されますが、
ARMv7アーキテクチャのRaspberry Pi 3用 Python3.10系torchaudioパッケージが存在しません。
ARMv8(aarch64)アーキテクチャを持つRaspberry Pi 4 or 5 に64ビット版OSをインストールする必要があります。
$ wget https://www.python.org/ftp/python/3.10.15/Python-3.10.15.tar.xz $ tar xJf Python-3.10.15.tar.xz $ cd Python-3.10.15 $ ./configure $ make $ sudo make install
$ which python
/usr/bin/python $ ls -l /usr/bin/python
lrwxrwxrwx 1 root root 7 Mar 3 2021 /usr/bin/python -> python3 $ which python3
/usr/local/bin/python3 $ ls -l /usr/local/bin/python3
lrwxrwxrwx 1 root root 10 Nov 14 16:25 /usr/local/bin/python3 -> python3.10 $ sudo ln -sf /usr/local/bin/python3 /usr/bin/python $ python --version
Python 3.10.15
$ pip --version
pip 20.3.4 from /usr/lib/python3/dist-packages/pip (python 3.9) $ pip3 --version
pip 23.0.1 from /usr/local/lib/python3.10/site-packages/pip (python 3.10) $ which pip
/usr/bin/pip $ ls -l /usr/bin/pip
-rwxr-xr-x 1 root root 941 Jul 13 2022 /usr/bin/pip $ ls -l /usr/local/bin/pip3
-rwxr-xr-x 1 root root 230 Nov 14 16:25 /usr/local/bin/pip3 $ sudo pip3 install --upgrade pip
pip 24.3.1 from /usr/local/lib/python3.10/site-packages/pip (python 3.10)
Downloading (…)an_pruned_ft_ema.pth: 0%| | 0.00/821M [00:00<?, ?B/s
Downloading (…)an_pruned_ft_ema.pth: 1%|? | 10.5M/821M [00:02<03:28, 3.89MB/s
...
Downloading (…)an_pruned_ft_ema.pth: 100%|?????????????????????????????????????| 821M/821M [05:17<00:00, 2.87MB/s
Downloading (…)an_pruned_ft_ema.pth: 100%|?????????????????????????????????????| 821M/821M [05:17<00:00, 2.59MB/s]
Downloading (…)sper_base_f0_44k.yml: 0%| | 0.00/2.25k [00:00<?, ?B/s
Downloading (…)sper_base_f0_44k.yml: 100%|????????????????????????????????????| 2.25k/2.25k [00:00<00:00, 566kB/s]
(…)it_mel_seed_uvit_whisper_base_f0_44k.yml: 0%| | 0.00/2.25k [00:00<?, ?B/s
(…)it_mel_seed_uvit_whisper_base_f0_44k.yml: 100%|????????????????????????????????| 2.25k/2.25k [00:00<00:00, 3.44MB/s]
Downloading rmvpe.pt: 100%|????????????????????????????????????????????????????| 181M/181M [01:16<00:00, 2.38MB/s]
Warning: Skipped loading some keys due to shape mismatch: {'estimator.input_pos'}
cfm loaded
length_regulator loaded
campplus_cn_common.bin: 100%|?????????????????????????????????????????????????????| 28.0M/28.0M [00:12<00:00, 2.32MB/s]
config.json: 100%|????????????????????????????????????????????????????????????????| 1.40k/1.40k [00:00<00:00, 3.59MB/s]
Loading weights from nvidia/bigvgan_v2_44khz_128band_512x
bigvgan_generator.pt: 100%|?????????????????????????????????????????????????????????| 489M/489M [03:43<00:00, 2.19MB/s]
Removing weight norm...
The cache for model files in Transformers v4.22.0 has been updated. Migrating your old cache. This is a one-time only operation. You can interrupt this and resume the migration later on by calling `transformers.utils.move_cache()`.
0it [00:00, ?it/s]
config.json: 100%|????????????????????????????????????????????????????????????????| 1.97k/1.97k [00:00<00:00, 4.46MB/s]
model.safetensors: 100%|????????????????????????????????????????????????????????????| 967M/967M [05:52<00:00, 2.75MB/s]
preprocessor_config.json: 100%|?????????????????????????????????????????????????????| 185k/185k [00:00<00:00, 1.46MB/s]
It is strongly recommended to pass the `sampling_rate` argument to this function. Failing to do so can result in silent errors that might be hard to debug.
It is strongly recommended to pass the `sampling_rate` argument to this function. Failing to do so can result in silent errors that might be hard to debug.
100%|????????????????????????????????????????| 75/75 [2:30:12<00:00, 120.17s/it]
RTF: 1481.183848076629