Import/Analyse Processing Infinitely & fills up appdata/temp #220

Closed
opened 2023-04-29 02:03:58 +00:00 by Acephalia · 2 comments

There seems to be something up with the analyse import voice tab in the latest commit or I'm stupid and can no longer use it to import a voice. Even with one wav file the import gets stuck in an infinity processing loop which seems to eventually fill up my user/appdata/temp folder. I only realised when my c: drive ran out of space. screen recording of issue.

ERROR:    Exception in ASGI application
Traceback (most recent call last):
  File "S:\ai-voice-cloning\venv\lib\site-packages\uvicorn\protocols\websockets\websockets_impl.py", line 254, in run_asgi
    result = await self.app(self.scope, self.asgi_receive, self.asgi_send)
  File "S:\ai-voice-cloning\venv\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 78, in __call__
    return await self.app(scope, receive, send)
  File "S:\ai-voice-cloning\venv\lib\site-packages\fastapi\applications.py", line 276, in __call__
    await super().__call__(scope, receive, send)
  File "S:\ai-voice-cloning\venv\lib\site-packages\starlette\applications.py", line 122, in __call__
    await self.middleware_stack(scope, receive, send)
  File "S:\ai-voice-cloning\venv\lib\site-packages\starlette\middleware\errors.py", line 149, in __call__
    await self.app(scope, receive, send)
  File "S:\ai-voice-cloning\venv\lib\site-packages\starlette\middleware\cors.py", line 76, in __call__
    await self.app(scope, receive, send)
  File "S:\ai-voice-cloning\venv\lib\site-packages\starlette\middleware\exceptions.py", line 79, in __call__
    raise exc
  File "S:\ai-voice-cloning\venv\lib\site-packages\starlette\middleware\exceptions.py", line 68, in __call__
    await self.app(scope, receive, sender)
  File "S:\ai-voice-cloning\venv\lib\site-packages\fastapi\middleware\asyncexitstack.py", line 21, in __call__
    raise e
  File "S:\ai-voice-cloning\venv\lib\site-packages\fastapi\middleware\asyncexitstack.py", line 18, in __call__
    await self.app(scope, receive, send)
  File "S:\ai-voice-cloning\venv\lib\site-packages\starlette\routing.py", line 718, in __call__
    await route.handle(scope, receive, send)
  File "S:\ai-voice-cloning\venv\lib\site-packages\starlette\routing.py", line 341, in handle
    await self.app(scope, receive, send)
  File "S:\ai-voice-cloning\venv\lib\site-packages\starlette\routing.py", line 82, in app
    await func(session)
  File "S:\ai-voice-cloning\venv\lib\site-packages\fastapi\routing.py", line 289, in app
    await dependant.call(**values)
  File "S:\ai-voice-cloning\venv\lib\site-packages\gradio\routes.py", line 509, in join_queue
    session_info = await asyncio.wait_for(
  File "C:\Users\aceph\AppData\Local\Programs\Python\Python310\lib\asyncio\tasks.py", line 445, in wait_for
    return fut.result()
  File "S:\ai-voice-cloning\venv\lib\site-packages\starlette\websockets.py", line 133, in receive_json
    self._raise_on_disconnect(message)
  File "S:\ai-voice-cloning\venv\lib\site-packages\starlette\websockets.py", line 105, in _raise_on_disconnect
    raise WebSocketDisconnect(message["code"])
starlette.websockets.WebSocketDisconnect: 1001

I've currently resorted to just making a folder with the samples manually. Not sure if this will have any impact on cloning quality.

There seems to be something up with the analyse import voice tab in the latest commit or I'm stupid and can no longer use it to import a voice. Even with one wav file the import gets stuck in an infinity processing loop which seems to eventually fill up my user/appdata/temp folder. I only realised when my c: drive ran out of space. [screen recording of issue](https://imgur.com/a/KJkXiOl?s=wa). ``` ERROR: Exception in ASGI application Traceback (most recent call last): File "S:\ai-voice-cloning\venv\lib\site-packages\uvicorn\protocols\websockets\websockets_impl.py", line 254, in run_asgi result = await self.app(self.scope, self.asgi_receive, self.asgi_send) File "S:\ai-voice-cloning\venv\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 78, in __call__ return await self.app(scope, receive, send) File "S:\ai-voice-cloning\venv\lib\site-packages\fastapi\applications.py", line 276, in __call__ await super().__call__(scope, receive, send) File "S:\ai-voice-cloning\venv\lib\site-packages\starlette\applications.py", line 122, in __call__ await self.middleware_stack(scope, receive, send) File "S:\ai-voice-cloning\venv\lib\site-packages\starlette\middleware\errors.py", line 149, in __call__ await self.app(scope, receive, send) File "S:\ai-voice-cloning\venv\lib\site-packages\starlette\middleware\cors.py", line 76, in __call__ await self.app(scope, receive, send) File "S:\ai-voice-cloning\venv\lib\site-packages\starlette\middleware\exceptions.py", line 79, in __call__ raise exc File "S:\ai-voice-cloning\venv\lib\site-packages\starlette\middleware\exceptions.py", line 68, in __call__ await self.app(scope, receive, sender) File "S:\ai-voice-cloning\venv\lib\site-packages\fastapi\middleware\asyncexitstack.py", line 21, in __call__ raise e File "S:\ai-voice-cloning\venv\lib\site-packages\fastapi\middleware\asyncexitstack.py", line 18, in __call__ await self.app(scope, receive, send) File "S:\ai-voice-cloning\venv\lib\site-packages\starlette\routing.py", line 718, in __call__ await route.handle(scope, receive, send) File "S:\ai-voice-cloning\venv\lib\site-packages\starlette\routing.py", line 341, in handle await self.app(scope, receive, send) File "S:\ai-voice-cloning\venv\lib\site-packages\starlette\routing.py", line 82, in app await func(session) File "S:\ai-voice-cloning\venv\lib\site-packages\fastapi\routing.py", line 289, in app await dependant.call(**values) File "S:\ai-voice-cloning\venv\lib\site-packages\gradio\routes.py", line 509, in join_queue session_info = await asyncio.wait_for( File "C:\Users\aceph\AppData\Local\Programs\Python\Python310\lib\asyncio\tasks.py", line 445, in wait_for return fut.result() File "S:\ai-voice-cloning\venv\lib\site-packages\starlette\websockets.py", line 133, in receive_json self._raise_on_disconnect(message) File "S:\ai-voice-cloning\venv\lib\site-packages\starlette\websockets.py", line 105, in _raise_on_disconnect raise WebSocketDisconnect(message["code"]) starlette.websockets.WebSocketDisconnect: 1001 ``` I've currently resorted to just making a folder with the samples manually. Not sure if this will have any impact on cloning quality.
Owner

I've currently resorted to just making a folder with the samples manually.

You're suppose to add voices that way. The import via the web UI is a terrible way and is only in there for people that are strictly using this in a notebook and are deathly afraid of manually uploading files, for whatever reason.

The tab's main intention is to rip latents embedded from generated results.

> I've currently resorted to just making a folder with the samples manually. You're suppose to add voices [that way](https://git.ecker.tech/mrq/ai-voice-cloning/wiki/Collecting-Samples#preparing). The import via the web UI is a terrible way and is only in there for people that are strictly using this in a notebook and are deathly afraid of manually uploading files, for whatever reason. The tab's main intention is to rip latents embedded from generated results.
Author

When I first installed it I swear I imported the voices like that and it worked fine, but I'm clearly stupid haha. Thank you!

When I first installed it I swear I imported the voices like that and it worked fine, but I'm clearly stupid haha. Thank you!
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: mrq/ai-voice-cloning#220
No description provided.