Closed SongDI911 closed 6 months ago
I guess the issue you are experiencing might be due to a configuration mismatch. I suggest referring to the demo_page_databaker.py
file for possible solutions.
Thank you very much for your prompt response to my question, I found the solution from demo_page_databaker.py
Traceback (most recent call last): File "/data1/gxs/conda/envs/EmotiVoice/lib/python3.10/site-packages/streamlit/runtime/caching/cache_utils.py", line 264, in _get_or_create_cached_value cached_result = cache.read_result(value_key) File "/data1/gxs/conda/envs/EmotiVoice/lib/python3.10/site-packages/streamlit/runtime/caching/cache_resource_api.py", line 500, in read_result raise CacheKeyNotFoundError() streamlit.runtime.caching.cache_errors.CacheKeyNotFoundError
size mismatch for am.spk_tokenizer.weight: copying a param with shape torch.Size([2015, 384]) from checkpoint, the shape in current model is torch.Size([2014, 384])
使用样例的训练集训练出来的模型,使用inference_am_vocoder_exp.py是可以推理的,当我修改demo_page.py的am_checkpoint_path地址时报错了