Skip to content
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

麥克風沒反應 #38

Open
kokjij opened this issue Nov 17, 2024 · 2 comments
Open

麥克風沒反應 #38

kokjij opened this issue Nov 17, 2024 · 2 comments

Comments

@kokjij
Copy link

kokjij commented Nov 17, 2024

image

(open-llm-vtuber) PS D:\download\1117\Open-LLM-VTuber> python server.py
INFO: Started server process [5988]
INFO: Waiting for application startup.
INFO: Application startup complete.
INFO: Uvicorn running on http://localhost:12393 (Press CTRL+C to quit)
INFO: ::1:3001 - "GET / HTTP/1.1" 304 Not Modified
INFO: ::1:3001 - "GET /libs/live2dcubismcore.min.js HTTP/1.1" 304 Not Modified
INFO: ::1:3002 - "GET /libs/live2d.min.js HTTP/1.1" 304 Not Modified
INFO: ::1:3003 - "GET /index.css HTTP/1.1" 304 Not Modified
INFO: ::1:3005 - "GET /libs/index.min.js HTTP/1.1" 304 Not Modified
INFO: ::1:3006 - "GET /TaskQueue.js HTTP/1.1" 304 Not Modified
INFO: ::1:3004 - "GET /libs/pixi.min.js HTTP/1.1" 304 Not Modified
INFO: ::1:3001 - "GET /libs/ort.js HTTP/1.1" 304 Not Modified
INFO: ::1:3003 - "GET /live2d.js HTTP/1.1" 304 Not Modified
INFO: ::1:3002 - "GET /libs/bundle.min.js HTTP/1.1" 304 Not Modified
INFO: ('::1', 3007) - "WebSocket /client-ws" [accepted]
INFO: connection open
Connection established
Model Information Loaded.
2024-11-18 02:00:50.484 | INFO | main:init:52 - t41372/Open-LLM-VTuber, version 0.3.1
Model Information Loaded.
Key Conformer already exists in model_classes, re-register
:65: SyntaxWarning: invalid escape sequence '['
:124: SyntaxWarning: invalid escape sequence '['
:135: SyntaxWarning: invalid escape sequence '['
:256: SyntaxWarning: invalid escape sequence '['
:277: SyntaxWarning: invalid escape sequence '['
:300: SyntaxWarning: invalid escape sequence '['
Key Linear already exists in adaptor_classes, re-register
Key TransformerDecoder already exists in decoder_classes, re-register
Key LightweightConvolutionTransformerDecoder already exists in decoder_classes, re-register
Key LightweightConvolution2DTransformerDecoder already exists in decoder_classes, re-register
Key DynamicConvolutionTransformerDecoder already exists in decoder_classes, re-register
Key DynamicConvolution2DTransformerDecoder already exists in decoder_classes, re-register
funasr version: 1.1.14.
Check update of funasr, and it would cost few times. You may disable it by set disable_update=True in AutoModel
You are using the latest version of funasr-1.1.14
Downloading Model to directory: C:\Users\kokji.cache\modelscope\hub\iic/speech_seaco_paraformer_large_asr_nat-zh-cn-16k-common-vocab8404-pytorch
2024-11-18 02:01:02,644 - modelscope - WARNING - Using branch: master as version is unstable, use with caution
D:\download\1117\Open-LLM-VTuber\open-llm-vtuber\Lib\site-packages\funasr\train_utils\load_pretrained_model.py:39: 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.
ori_state = torch.load(path, map_location=map_location)
Downloading Model to directory: C:\Users\kokji.cache\modelscope\hub\iic/speech_fsmn_vad_zh-cn-16k-common-pytorch
2024-11-18 02:01:07,667 - modelscope - WARNING - Using branch: master as version is unstable, use with caution
Downloading Model to directory: C:\Users\kokji.cache\modelscope\hub\iic/punc_ct-transformer_cn-en-common-vocab471067-large
2024-11-18 02:01:08,538 - modelscope - WARNING - Using branch: master as version is unstable, use with caution
Building prefix dict from the default dictionary ...
DEBUG:jieba:Building prefix dict from the default dictionary ...
Loading model from cache C:\Users\kokji\AppData\Local\Temp\jieba.cache
DEBUG:jieba:Loading model from cache C:\Users\kokji\AppData\Local\Temp\jieba.cache
Loading model cost 0.837 seconds.
DEBUG:jieba:Loading model cost 0.837 seconds.
Prefix dict has been built successfully.
DEBUG:jieba:Prefix dict has been built successfully.
Model set

image

CHROM
image

輸入
image

麥克風
image

@AnnabelGENG
Copy link

I have the same problem

@AnnabelGENG
Copy link

Try this:
一些可能的解决方式包括换浏览器,用无痕浏览器开,用 https://www.vad.ricky0123.com/ 检查你的麦克风,或是尝试更新vad 模块: 找到 "static" 目录下的 "index.html" 文件,找到 "", 把它下面的几行导入换成 <script src="https://cdn.jsdelivr.net/npm/onnxruntime-web@1.19.2/dist/ort.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@ricky0123/vad-web@0.0.19/dist/bundle.min.js"></script>

B60E7FB4DB8C35307DB1FB1C7E4F0D73

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants