Open jupiter1390 opened 3 months ago
directly cloned from git
Ubuntu 22.04 (Windows 10 docker)
RTX 3060 ti
11.6
No
MMVC
HParams object has no attribute data occurs everytime when starting virtual microphone
No response
2024-08-16 02:24:02 Traceback (most recent call last): 2024-08-16 02:24:02 File "/usr/local/lib/python3.10/dist-packages/socketio/asyncio_server.py", line 524, in _handle_event_internal 2024-08-16 02:24:02 r = await server._trigger_event(data[0], namespace, sid, data[1:]) 2024-08-16 02:24:02 File "/usr/local/lib/python3.10/dist-packages/socketio/asyncio_server.py", line 569, in _trigger_event 2024-08-16 02:24:02 return await self.namespace_handlers[namespace].trigger_event( 2024-08-16 02:24:02 File "/usr/local/lib/python3.10/dist-packages/socketio/asyncio_namespace.py", line 37, in trigger_event 2024-08-16 02:24:02 ret = await handler(args) 2024-08-16 02:24:02 File "/voice-changer/server/sio/MMVC_Namespace.py", line 31, in on_request_message 2024-08-16 02:24:02 audio1 = self.voiceChangerManager.changeVoice(unpackedData) 2024-08-16 02:24:02 File "/voice-changer/server/voice_changer/VoiceChangerManager.py", line 36, in changeVoice 2024-08-16 02:24:02 return self.voiceChanger.on_request(unpackedData) 2024-08-16 02:24:02 File "/voice-changer/server/voice_changer/VoiceChanger.py", line 300, in on_request 2024-08-16 02:24:02 data = self._generate_input(unpackedData, convertSize) 2024-08-16 02:24:02 File "/voice-changer/server/voice_changer/VoiceChanger.py", line 171, in _generate_input 2024-08-16 02:24:02 audio_norm = audio / self.hps.data.max_wav_value # normalize 2024-08-16 02:24:02 AttributeError: 'HParams' object has no attribute 'data'
Voice Changer Version
directly cloned from git
Operational System
Ubuntu 22.04 (Windows 10 docker)
GPU
RTX 3060 ti
CUDA Version
11.6
Read carefully and check the options
Does pre-installed model work?
No
Model Type
MMVC
Issue Description
HParams object has no attribute data occurs everytime when starting virtual microphone
Application Screenshot
No response
Logs on console
2024-08-16 02:24:02 Traceback (most recent call last): 2024-08-16 02:24:02 File "/usr/local/lib/python3.10/dist-packages/socketio/asyncio_server.py", line 524, in _handle_event_internal 2024-08-16 02:24:02 r = await server._trigger_event(data[0], namespace, sid, data[1:]) 2024-08-16 02:24:02 File "/usr/local/lib/python3.10/dist-packages/socketio/asyncio_server.py", line 569, in _trigger_event 2024-08-16 02:24:02 return await self.namespace_handlers[namespace].trigger_event( 2024-08-16 02:24:02 File "/usr/local/lib/python3.10/dist-packages/socketio/asyncio_namespace.py", line 37, in trigger_event 2024-08-16 02:24:02 ret = await handler(args) 2024-08-16 02:24:02 File "/voice-changer/server/sio/MMVC_Namespace.py", line 31, in on_request_message 2024-08-16 02:24:02 audio1 = self.voiceChangerManager.changeVoice(unpackedData) 2024-08-16 02:24:02 File "/voice-changer/server/voice_changer/VoiceChangerManager.py", line 36, in changeVoice 2024-08-16 02:24:02 return self.voiceChanger.on_request(unpackedData) 2024-08-16 02:24:02 File "/voice-changer/server/voice_changer/VoiceChanger.py", line 300, in on_request 2024-08-16 02:24:02 data = self._generate_input(unpackedData, convertSize) 2024-08-16 02:24:02 File "/voice-changer/server/voice_changer/VoiceChanger.py", line 171, in _generate_input 2024-08-16 02:24:02 audio_norm = audio / self.hps.data.max_wav_value # normalize 2024-08-16 02:24:02 AttributeError: 'HParams' object has no attribute 'data'