Skip to content

[Bug] PermissionError: [WinError 32] The process cannot access the file trainer_0_log.txt #483

Description

@P3p1d

Describe the bug

trainer_0_log.txt
Hi!
I am running the ljspeech recipe for xtts2 on a custom dataset (fine-tuning with about 45 minutes of audio and metadata).
After running for one epoch, multiple errors seem to rise up. I have tried different batch sizes and settings but it still occurs. The NotImplemented Error should be internally handled well, but I do not know what to do with the other ones. The log file is not opened during training so this should be an error on the coqui side.
Thank you in advance for your time

To Reproduce

I was running the train_gpt_xtts.py from Windows command line with admin rights. This is code provided in the source under recipes, ljspeech and xtts_v2.

train_gpt_xtts.py

The dataset is custom.

Expected behavior

I think a checkpoint should be created after completing all the steps.

Logs

Environment

coqui-tts 0.27.0
coquit-tts-trainer 0.3.1
torch 2.8.0+cu129
torchaudio 2.8.0
GPU is GTX 1650
python 3.11

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedLooking for outside contributionsquestionFurther information is requested

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions