Pinokio
FeedAppsRemoteCreate
Download Pinokio
Sign inCreate accountJoin
Sign inCreate accountJoin

Post

Conversation
@akos2·15h

another error druing learning a singing voice here the termnal content :
████
██ Starting Shell 15781086-605c-4a2d-ad81-588c274d2a79

The default interactive shell is now zsh.
To update your account to use zsh, please run chsh -s /bin/zsh.
For more details, please visit https://support.apple.com/kb/HT208050.
<<PINOKIO_SHELL>>eval "$(conda shell.bash hook)" ; conda deactivate ; conda deactivate ; conda deactivate ; conda activate base ; source /Users/akos/pinokio/api/os-studio.beta.git/app/env/bin/activate /Users/akos/pinokio/api/os-studio.beta.git/app/env && python -X utf8 app.py --no-browser --port 42003

██ Detached from Shell 15781086-605c-4a2d-ad81-588c274d2a79

OS Studio -> http://127.0.0.1:42003
Keep this window open. Close it to quit.

===================================================

input.event

[
"http://127.0.0.1:42003",
"http://127.0.0.1:42003"
]

===================================================

local variables

{
"url": "http://127.0.0.1:42003"
}

[studio] engine ready
[studio] macOS system: Apple M5 Max (MPS) · 128.0 GB RAM · 107.5 GB GPU budget · PyTorch 2.10.0
[stage] Waking up the lyrics writer
[studio] VRAM free before lyrics: 107.5 GiB
Loading checkpoint shards: 100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 2/2 [00:00<00:00, 37.89it/s]
[studio] lyrics writer 'qwen4b' loaded on mps (8.3 GiB)
[stage] Writing lyrics
[studio] song shape: intro verse pre-chorus chorus verse pre-chorus chorus bridge chorus outro · [0, 4, 2, 4, 4, 2, 4, 4, 4, 4] lines · estimated 132.8 s (approximate)
[stage] Writing the style
[studio] style for yue2: Lovers’ Whisper — English, French/English, bossa nova, soft female vocals, acoustic guitar, light percussion, intimate, 84 BPM
[stage] Listening to your clip
[stage] Learning the voice 'ice cream 1'
[studio] VRAM free before voice: 99.3 GiB
[SongVoice] downloading Plachta/Seed-VC/DiT_seed_v2_uvit_whisper_base_f0_44k_bigvgan_pruned_ft_ema_v2.pth
[SongVoice] downloading Plachta/Seed-VC/config_dit_mel_seed_uvit_whisper_base_f0_44k.yml
[SongVoice] downloading lj1995/VoiceConversionWebUI/rmvpe.pt
[SongVoice] downloading funasr/campplus/campplus_cn_common.bin
[SongVoice] downloading nvidia/bigvgan_v2_44khz_128band_512x/config.json
[SongVoice] downloading nvidia/bigvgan_v2_44khz_128band_512x/bigvgan_generator.pt
[SongVoice] downloading openai/whisper-small/config.json
[SongVoice] downloading openai/whisper-small/model.safetensors
[SongVoice] downloading openai/whisper-small/preprocessor_config.json
/Users/akos/pinokio/api/os-studio.beta.git/app/env/lib/python3.12/site-packages/torch/nn/utils/weight_norm.py:144: FutureWarning: torch.nn.utils.weight_norm is deprecated in favor of torch.nn.utils.parametrizations.weight_norm.
WeightNorm.apply(module, name, dim)
Warning: Skipped loading some keys due to shape mismatch: {'estimator.t_embedder2.mlp.2.bias', 'estimator.input_pos', 'estimator.conv2.weight', 'estimator.t_embedder2.mlp.2.weight', 'estimator.conv1.weight', 'estimator.t_embedder2.mlp.0.weight', 'estimator.conv1.bias', 'estimator.res_projection.weight', 'estimator.res_projection.bias', 'estimator.conv2.bias', 'estimator.t_embedder2.mlp.0.bias'}
cfm loaded
length_regulator loaded
Loading config.json from local directory
Loading weights from local directory
Removing weight norm...
torch_dtype is deprecated! Use dtype instead!
[SongVoice] training 'ice cream 1' on 31s of voice (4 pieces), 300 steps
[SongVoice] downloading myshell-ai/OpenVoiceV2/converter/config.json
[SongVoice] downloading myshell-ai/OpenVoiceV2/converter/checkpoint.pth
[SongVoice] downloading Plachta/Seed-VC/se_db.pt
[SongVoice] downloading Seed-VC example reference/azuma_0.wav
[SongVoice] downloading Seed-VC example reference/dingzhen_0.wav
[SongVoice] downloading Seed-VC example reference/s1p1.wav
[SongVoice] downloading Seed-VC example reference/s1p2.wav
[SongVoice] downloading Seed-VC example reference/s2p1.wav
[SongVoice] downloading Seed-VC example reference/s2p2.wav
[SongVoice] downloading Seed-VC example reference/s3p1.wav
[SongVoice] downloading Seed-VC example reference/s3p2.wav
[SongVoice] downloading Seed-VC example reference/s4p1.wav
[SongVoice] downloading Seed-VC example reference/s4p2.wav
[SongVoice] downloading Seed-VC example reference/teio_0.wav
[SongVoice] downloading Seed-VC example reference/trump_0.wav
[SongVoice] downloading Seed-VC example source/TECHNOPOLIS - 2085 [vocals][cut_14sec].wav
[SongVoice] downloading Seed-VC example source/Wiz Khalifa,Charlie Puth - See You Again [vocals]
[cut_28sec].wav
[SongVoice] downloading Seed-VC example source/glados_0.wav
[SongVoice] downloading Seed-VC example source/jay_0.wav
[SongVoice] downloading Seed-VC example source/source_s1.wav
[SongVoice] downloading Seed-VC example source/source_s2.wav
[SongVoice] downloading Seed-VC example source/source_s3.wav
[SongVoice] downloading Seed-VC example source/source_s4.wav
[SongVoice] downloading Seed-VC example source/yae_0.wav
/Users/akos/pinokio/api/os-studio.beta.git/app/env/lib/python3.12/site-packages/torch/nn/utils/weight_norm.py:144: FutureWarning: torch.nn.utils.weight_norm is deprecated in favor of torch.nn.utils.parametrizations.weight_norm.
WeightNorm.apply(module, name, dim)
Warning: Skipped loading some keys due to shape mismatch: {'estimator.t_embedder2.mlp.2.bias', 'estimator.input_pos', 'estimator.conv2.weight', 'estimator.t_embedder2.mlp.2.weight', 'estimator.conv1.weight', 'estimator.t_embedder2.mlp.0.weight', 'estimator.conv1.bias', 'estimator.res_projection.weight', 'estimator.res_projection.bias', 'estimator.conv2.bias', 'estimator.t_embedder2.mlp.0.bias'}
cfm loaded
length_regulator loaded
Loaded checkpoint '/Users/akos/pinokio/api/os-studio.beta.git/app/models/seed_vc/openvoice/converter/checkpoint.pth'
missing/unexpected keys: [] []
/Users/akos/pinokio/api/os-studio.beta.git/app/env/lib/python3.12/site-packages/torch/functional.py:681: UserWarning: An output with one or more elements was resized since it had shape [], which does not match the required output shape [1, 681, 1025]. This behavior is deprecated, and in a future PyTorch release outputs will not be resized unless they have zero elements. You can explicitly reuse an out tensor t by resizing it, inplace, to zero elements with t.resize_(0). (Triggered internally at /Users/runner/work/pytorch/pytorch/pytorch/aten/src/ATen/native/Resize.cpp:38.)
return VF.stft( # type: ignore[attr-defined]
/Users/akos/pinokio/api/os-studio.beta.git/app/env/lib/python3.12/site-packages/torch/functional.py:681: UserWarning: An output with one or more elements was resized since it had shape [], which does not match the required output shape [1, 623, 1025]. This behavior is deprecated, and in a future PyTorch release outputs will not be resized unless they have zero elements. You can explicitly reuse an out tensor t by resizing it, inplace, to zero elements with t.resize
(0). (Triggered internally at /Users/runner/work/pytorch/pytorch/pytorch/aten/src/ATen/native/Resize.cpp:38.)
return _VF.stft( # type: ignore[attr-defined]
/Users/akos/pinokio/api/os-studio.beta.git/app/env/lib/python3.12/site-packages/torch/functional.py:681: UserWarning: stft with return_complex=False is deprecated. In a future pytorch release, stft will return complex tensors for all inputs, and return_complex=False will raise an error.
Note: you can still call torch.view_as_real on the complex output to recover the old return format. (Triggered internally at /Users/runner/work/pytorch/pytorch/pytorch/aten/src/ATen/native/SpectralOps.cpp:879.)
return VF.stft( # type: ignore[attr-defined]
/Users/akos/pinokio/api/os-studio.beta.git/app/env/lib/python3.12/site-packages/torch/functional.py:681: UserWarning: An output with one or more elements was resized since it had shape [], which does not match the required output shape [1, 681, 513]. This behavior is deprecated, and in a future PyTorch release outputs will not be resized unless they have zero elements. You can explicitly reuse an out tensor t by resizing it, inplace, to zero elements with t.resize
(0). (Triggered internally at /Users/runner/work/pytorch/pytorch/pytorch/aten/src/ATen/native/Resize.cpp:38.)
return VF.stft( # type: ignore[attr-defined]
/Users/akos/pinokio/api/os-studio.beta.git/app/env/lib/python3.12/site-packages/torch/functional.py:681: UserWarning: An output with one or more elements was resized since it had shape [], which does not match the required output shape [1, 623, 513]. This behavior is deprecated, and in a future PyTorch release outputs will not be resized unless they have zero elements. You can explicitly reuse an out tensor t by resizing it, inplace, to zero elements with t.resize
(0). (Triggered internally at /Users/runner/work/pytorch/pytorch/pytorch/aten/src/ATen/native/Resize.cpp:38.)
return VF.stft( # type: ignore[attr-defined]
/Users/akos/pinokio/api/os-studio.beta.git/app/env/lib/python3.12/site-packages/torch/functional.py:681: UserWarning: An output with one or more elements was resized since it had shape [], which does not match the required output shape [2, 681, 513]. This behavior is deprecated, and in a future PyTorch release outputs will not be resized unless they have zero elements. You can explicitly reuse an out tensor t by resizing it, inplace, to zero elements with t.resize
(0). (Triggered internally at /Users/runner/work/pytorch/pytorch/pytorch/aten/src/ATen/native/Resize.cpp:38.)
return VF.stft( # type: ignore[attr-defined]
/Users/akos/pinokio/api/os-studio.beta.git/app/env/lib/python3.12/site-packages/torch/functional.py:681: UserWarning: An output with one or more elements was resized since it had shape [], which does not match the required output shape [2, 792, 513]. This behavior is deprecated, and in a future PyTorch release outputs will not be resized unless they have zero elements. You can explicitly reuse an out tensor t by resizing it, inplace, to zero elements with t.resize
(0). (Triggered internally at /Users/runner/work/pytorch/pytorch/pytorch/aten/src/ATen/native/Resize.cpp:38.)
return _VF.stft( # type: ignore[attr-defined]
Traceback (most recent call last):
File "/Users/akos/pinokio/api/os-studio.beta.git/app/service.py", line 1937, in train_voice
(voice,) = SongVoiceTrain().train(
^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/akos/pinokio/api/os-studio.beta.git/app/engine/song_voice/song_voice_node.py", line 922, in train
trainer.train(train_pieces, training_steps, batch_size=2, on_step=on_step,
File "/Users/akos/pinokio/api/os-studio.beta.git/app/engine/song_voice/voice_trainer.py", line 157, in train
loss = self.step(*self._batch(pieces, batch_size, replay))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/akos/pinokio/api/os-studio.beta.git/app/engine/song_voice/voice_trainer.py", line 114, in step
f0 = self.svc.rmvpe.infer_from_audio_batch(w16).float().to(self.device)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/akos/pinokio/api/os-studio.beta.git/app/engine/song_voice/seed-vc/modules/rmvpe.py", line 607, in infer_from_audio_batch
f0s = torch.from_numpy(f0s).to(self.device)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: Cannot convert a MPS Tensor to float64 dtype as the MPS framework doesn't support float64. Please use float32 instead.
[studio] voice failed: TypeError: Cannot convert a MPS Tensor to float64 dtype as the MPS framework doesn't support float64. Please use float32 instead.

Loading conversation…

Replies

Post context

App used

OS StudioTheAwaken1/os-studioView app

Published by

@akos215h ago
Pinokio
PrivacyTerms
FeedAppsCreateRemote

Post context

App used

OS StudioTheAwaken1/os-studioView app

Published by

@akos215h ago

Related posts

Overworld: RuntimeError: PassManager::run failed@mesutmamuk · 3mo agoOverworld: RuntimeError: PassManager::run failed@mesutmamuk · 3mo agoHi, Thank you for the fast fixes! Stem is perfect now,.... and OS Stu...@akos2 · 8h ago