MockingBird icon indicating copy to clipboard operation
MockingBird copied to clipboard

web,可以启动,但是报了一个参数找不到,急

Open yangxiongj opened this issue 2 years ago • 3 comments

023-02-21 21:11:04.315 INFO numexpr.utils: Note: NumExpr detected 12 cores but "NUMEXPR_MAX_THREADS" not set, so enforcing safe limit of 8. 2023-02-21 21:11:04.315 INFO numexpr.utils: NumExpr defaulting to 8 threads. You can now view your Streamlit app in your browser. Network URL: http://192.168.30.102:8090 External URL: http://218.74.20.181:8090 C:\Users\admin\anaconda3\envs\torch1.9\lib\site-packages\paramiko\transport.py:219: CryptographyDeprecationWarning: Blowfish has been deprecated "class": algorithms.Blowfish, 2023-02-21 21:11:09.685 Traceback (most recent call last): File "C:\Users\admin\anaconda3\envs\torch1.9\lib\site-packages\streamlit\scriptrunner\script_runner.py", line 443, in _run_script exec(code, module.dict) File "C:\Users\admin\AppData\Local\Temp\tmp9p7swpbm.py", line 13, in render_streamlit_ui() File "C:\Users\admin\PycharmProjects\MockingBird\control\mkgui\base\ui\streamlit_ui.py", line 879, in render_streamlit_ui opyrator = getOpyrator(mode) File "C:\Users\admin\PycharmProjects\MockingBird\control\mkgui\base\ui\streamlit_ui.py", line 860, in getOpyrator from control.mkgui.app import synthesize File "C:\Users\admin\PycharmProjects\MockingBird\control\mkgui\app.py", line 31, in synthesizers = Enum('synthesizers', list((file.name, file) for file in Path(SYN_MODELS_DIRT).glob("**/*.pt"))) File "C:\Users\admin\anaconda3\envs\torch1.9\lib\enum.py", line 341, in call return cls.create( File "C:\Users\admin\anaconda3\envs\torch1.9\lib\enum.py", line 464, in create classdict[member_name] = member_value File "C:\Users\admin\anaconda3\envs\torch1.9\lib\enum.py", line 112, in setitem raise TypeError('Attempted to reuse key: %r' % key) TypeError: Attempted to reuse key: 'pretrained.pt'

yangxiongj avatar Feb 21 '23 13:02 yangxiongj

同问,不知道是不是模型没放好,不知道放哪里

Stargazed-Dreamer avatar Mar 12 '23 01:03 Stargazed-Dreamer

模型是放在\MockingBird-main\data\ckpt\synthesizer下面的

MaoSheng-super avatar Jul 06 '23 06:07 MaoSheng-super

找到"\MockingBird-main\data\ckpt\encoder"新建一个"saved_models"文件夹,把.pt文件放进去

SoftCharacter avatar Jul 28 '23 03:07 SoftCharacter