You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello. I am using the 3rd example of the notebooks.
I can run 1st and 2nd notebooks perfectly fine but I cannot get to the "Obtain Tone Color Embedding" part of the demo_part3.ipynb.
It gives this message in the VSCode:
The Kernel crashed while executing code in the current cell or a previous cell.
Please review the code in the cell(s) to identify a possible cause of the failure.
Click [here](https://aka.ms/vscodeJupyterKernelCrash) for more info.
View Jupyter [log](command:jupyter.viewOutput) for further details.
I've tried it in jupyter but it gave me the same result.
Also, I don't know if it's important or not, these are the messages I am getting in the Initialization section. It completes without error but gives warnings:
[d:\OpenVoice\.venv\lib\site-packages\torch\nn\utils\weight_norm.py:134](file:///D:/OpenVoice/.venv/lib/site-packages/torch/nn/utils/weight_norm.py:134): FutureWarning: `torch.nn.utils.weight_norm` is deprecated in favor of `torch.nn.utils.parametrizations.weight_norm`.
WeightNorm.apply(module, name, dim)
Loaded checkpoint 'checkpoints_v2/converter/checkpoint.pth'
missing/unexpected keys: [] []
[d:\OpenVoice\.venv\lib\site-packages\wavmark\__init__.py:16](file:///D:/OpenVoice/.venv/lib/site-packages/wavmark/__init__.py:16): FutureWarning: You are using `torch.load` with `weights_only=False` (the current default value), which uses the default pickle module implicitly. It is possible to construct malicious pickle data which will execute arbitrary code during unpickling (See https://github.com/pytorch/pytorch/blob/main/SECURITY.md#untrusted-models for more details). In a future release, the default value for `weights_only` will be flipped to `True`. This limits the functions that could be executed during unpickling. Arbitrary objects will no longer be allowed to be loaded via this mode unless they are explicitly allowlisted by the user via `torch.serialization.add_safe_globals`. We recommend you start setting `weights_only=True` for any use case where you don't have full control of the loaded file. Please open an issue on GitHub for any issues related to this experimental feature.
checkpoint = torch.load(resume_path, map_location=torch.device('cpu'))
[d:\OpenVoice\openvoice\api.py:36](file:///D:/OpenVoice/openvoice/api.py:36): FutureWarning: You are using `torch.load` with `weights_only=False` (the current default value), which uses the default pickle module implicitly. It is possible to construct malicious pickle data which will execute arbitrary code during unpickling (See https://github.com/pytorch/pytorch/blob/main/SECURITY.md#untrusted-models for more details). In a future release, the default value for `weights_only` will be flipped to `True`. This limits the functions that could be executed during unpickling. Arbitrary objects will no longer be allowed to be loaded via this mode unless they are explicitly allowlisted by the user via `torch.serialization.add_safe_globals`. We recommend you start setting `weights_only=True` for any use case where you don't have full control of the loaded file. Please open an issue on GitHub for any issues related to this experimental feature.
checkpoint_dict = torch.load(ckpt_path, map_location=torch.device(self.device))
I've installed both checkpoints 1 and 2 (checkpoints_v2_0417.zip). I am running these in my pip venv. Thanks.
The text was updated successfully, but these errors were encountered:
Hello, @gpercem! I'm here to help you with your coding issues and questions. If you need assistance, feel free to ask!
The AssertionError you're encountering is likely due to the specified device being a CUDA device ('cuda:0'), but CUDA is not available on your system. This is checked by the assertion:
if'cuda'indevice:
asserttorch.cuda.is_available()
To resolve this, ensure that your system has CUDA installed and that PyTorch is configured to use it. You can check CUDA availability with:
importtorchprint(torch.cuda.is_available())
If it returns False, you might need to install CUDA or update your PyTorch installation to a version that supports CUDA.
Additionally, regarding the warnings, they are related to deprecated features and security warnings in PyTorch. While they don't cause the kernel crash, you might want to address them by updating your code to use the recommended methods.
For the kernel dying issue, you might also want to check similar discussions or issues, such as the Kernel died issue, which suggests ensuring that PyTorch can find the bundled cuDNN library by setting the LD_LIBRARY_PATH appropriately [1].
Hello. I am using the 3rd example of the notebooks.
I can run 1st and 2nd notebooks perfectly fine but I cannot get to the "Obtain Tone Color Embedding" part of the demo_part3.ipynb.
It gives this message in the VSCode:
I've tried it in jupyter but it gave me the same result.
This is the log of the error:
Also, I don't know if it's important or not, these are the messages I am getting in the Initialization section. It completes without error but gives warnings:
I've installed both checkpoints 1 and 2 (checkpoints_v2_0417.zip). I am running these in my pip venv. Thanks.
The text was updated successfully, but these errors were encountered: