KeyError: 'accuracies' #176

Closed
opened 2023-03-26 07:21:52 +00:00 by sampleuser1 · 1 comment

Getting following error when starting to train, I've another issue open with an utf-8 error, however when the utf-8 error isn't appearing this is.

  File "C:\Users\Dominik\ai-voice-cloning\src\utils.py", line 1103, in run_training
    result, percent, message = training_state.parse( line=line, verbose=verbose, keep_x_past_checkpoints=keep_x_past_checkpoints, progress=progress )
  File "C:\Users\Dominik\ai-voice-cloning\src\utils.py", line 1048, in parse
    self.parse_metrics( data )
  File "C:\Users\Dominik\ai-voice-cloning\src\utils.py", line 807, in parse_metrics
    for k in keys['accuracies']:
KeyError: 'accuracies'
Getting following error when starting to train, I've another issue open with an utf-8 error, however when the utf-8 error isn't appearing this is. ``` File "C:\Users\Dominik\ai-voice-cloning\src\utils.py", line 1103, in run_training result, percent, message = training_state.parse( line=line, verbose=verbose, keep_x_past_checkpoints=keep_x_past_checkpoints, progress=progress ) File "C:\Users\Dominik\ai-voice-cloning\src\utils.py", line 1048, in parse self.parse_metrics( data ) File "C:\Users\Dominik\ai-voice-cloning\src\utils.py", line 807, in parse_metrics for k in keys['accuracies']: KeyError: 'accuracies' ```

Got the same error message as well trying to start a training session.

  File "C:\Users\---\OneDrive\Desktop\AI Voice\ai-voice-cloning\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 937, in run_sync_in_worker_thread
    return await future
  File "C:\Users\---\OneDrive\Desktop\AI Voice\ai-voice-cloning\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 867, in run
    result = context.run(func, *args)
  File "C:\Users\---\OneDrive\Desktop\AI Voice\ai-voice-cloning\venv\lib\site-packages\gradio\utils.py", line 448, in async_iteration
    return next(iterator)
  File "C:\Users\---\OneDrive\Desktop\AI Voice\ai-voice-cloning\src\utils.py", line 1103, in run_training
    result, percent, message = training_state.parse( line=line, verbose=verbose, keep_x_past_checkpoints=keep_x_past_checkpoints, progress=progress )
  File "C:\Users\---\OneDrive\Desktop\AI Voice\ai-voice-cloning\src\utils.py", line 1048, in parse
    self.parse_metrics( data )
  File "C:\Users\---\OneDrive\Desktop\AI Voice\ai-voice-cloning\src\utils.py", line 807, in parse_metrics
    for k in keys['accuracies']:
KeyError: 'accuracies'
Got the same error message as well trying to start a training session. ``` File "C:\Users\---\OneDrive\Desktop\AI Voice\ai-voice-cloning\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 937, in run_sync_in_worker_thread return await future File "C:\Users\---\OneDrive\Desktop\AI Voice\ai-voice-cloning\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 867, in run result = context.run(func, *args) File "C:\Users\---\OneDrive\Desktop\AI Voice\ai-voice-cloning\venv\lib\site-packages\gradio\utils.py", line 448, in async_iteration return next(iterator) File "C:\Users\---\OneDrive\Desktop\AI Voice\ai-voice-cloning\src\utils.py", line 1103, in run_training result, percent, message = training_state.parse( line=line, verbose=verbose, keep_x_past_checkpoints=keep_x_past_checkpoints, progress=progress ) File "C:\Users\---\OneDrive\Desktop\AI Voice\ai-voice-cloning\src\utils.py", line 1048, in parse self.parse_metrics( data ) File "C:\Users\---\OneDrive\Desktop\AI Voice\ai-voice-cloning\src\utils.py", line 807, in parse_metrics for k in keys['accuracies']: KeyError: 'accuracies' ```
mrq referenced this issue from a commit 2023-03-26 11:05:54 +00:00
mrq closed this issue 2023-03-26 11:05:54 +00:00
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#176
No description provided.