-
Notifications
You must be signed in to change notification settings - Fork 8.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RuntimeError Corrupted. #1278
Comments
根据提交的问题描述,您在运行 解决方案
示例代码以下是在新的虚拟环境中重新设置项目的示例操作: # 创建新的虚拟环境
python -m venv rtvc-env
# 激活虚拟环境 (Windows)
rtvc-env\Scripts\activate
# 激活虚拟环境 (Unix/macOS)
source rtvc-env/bin/activate
# 在新的虚拟环境中安装依赖
pip install -r requirements.txt
# 重新下载模型文件到指定位置
# 注意替换下面的URL为模型文件实际的下载地址
wget -O path/to/model/file "model-download-url" 请按照项目文档指示的步骤下载模型文件,并将其放置在适当的路径下。如果项目提供了检查模型文件完整性的方法(如checksum),请确保验证模型文件。 希望这些方法能帮助您解决遇到的问题。如果问题依然存在,建议查看项目的 [注意] 该Comment由AI生成,仅供参考。 |
I try to implement the project by using "py demo_cli.py" command.
Testing your configuration with small inputs.
Testing the encoder...
Testing the synthesizer... (loading the model will output a lot of text)
Trainable Parameters: 30.870M
Traceback (most recent call last):
File "demo_cli.py", line 94, in
mels = synthesizer.synthesize_spectrograms(texts, embeds)
File "C:\Users\12-lsr\Music\Real-Time-Voice-Cloning-master\synthesizer\inference.py", line 86, in synthesize_spectrograms
self.load()
File "C:\Users\12-lsr\Music\Real-Time-Voice-Cloning-master\synthesizer\inference.py", line 64, in load
self._model.load(self.model_fpath)
File "C:\Users\12-lsr\Music\Real-Time-Voice-Cloning-master\synthesizer\models\tacotron.py", line 496, in load
checkpoint = torch.load(str(path), map_location=device)
File "C:\Users\12-lsr\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\serialization.py", line 1028, in load
return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args)
File "C:\Users\12-lsr\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\serialization.py", line 1264, in _legacy_load
typed_storage._untyped_storage._set_from_file(
RuntimeError: storage has wrong byte size: expected %ld got %ld04096
The text was updated successfully, but these errors were encountered: