Training won't start with: 'Unable to open object (free block size is zero?)'

If training is failing to start, and you are not receiving an error message telling you what to do, tell us about it here


Forum rules

Read the FAQs and search the forum before posting a new topic.

This forum is for reporting errors with the Training process. If you want to get tips, or better understand the Training process, then you should look in the Training Discussion forum.

Please mark any answers that fixed your problems so others can find the solutions.

Locked
User avatar
Ming
Posts: 21
Joined: Fri Aug 19, 2022 9:49 am
Has thanked: 11 times
Been thanked: 1 time

Training won't start with: 'Unable to open object (free block size is zero?)'

Post by Ming »

torzdf wrote: Tue Aug 23, 2022 7:16 am

Not seen that error before, so can't help I'm afraid.

However you do not have a GPU, so using S3FD and FAN are unlikely to work for you.

Try MTCNN as the detector.

Hello, I have some problems again recently. It may be that the blue screen of my computer crashes due to too many applications opened in the background. I turn on the computer again, go back to the last training and it says this error, you know what happened?

Code: Select all


Loading...
Setting Faceswap backend to CPU
09/01/2022 18:58:09 INFO     Log level set to: INFO
09/01/2022 18:58:12 INFO     Model A Directory: 'D:\face\0' (393 images)
09/01/2022 18:58:12 INFO     Model B Directory: 'D:\face\1' (346 images)
09/01/2022 18:58:12 INFO     Training data directory: D:\face\Model
09/01/2022 18:58:12 INFO     ===================================================
09/01/2022 18:58:12 INFO       Starting
09/01/2022 18:58:12 INFO     ===================================================
09/01/2022 18:58:12 INFO     Loading data, this may take a while...
09/01/2022 18:58:12 INFO     Loading Model from Original plugin...
09/01/2022 18:58:13 INFO     Using configuration saved in state file
09/01/2022 18:58:14 CRITICAL Error caught! Exiting...
09/01/2022 18:58:14 ERROR    Caught exception in thread: '_training_0'
09/01/2022 18:58:14 ERROR    Unable to load the model from 'D:\face\Model\original.h5'. This may be a temporary error but most likely means that your model has corrupted.
09/01/2022 18:58:14 ERROR    You can try to load the model again but if the problem persists you should use the Restore Tool to restore your model from backup.
09/01/2022 18:58:14 ERROR    Original error: 'Unable to open object (free block size is zero?)'
Process exited.

User avatar
torzdf
Posts: 2651
Joined: Fri Jul 12, 2019 12:53 am
Answers: 159
Has thanked: 129 times
Been thanked: 622 times

Re: Training won't start with: 'Unable to open object (free block size is zero?)'

Post by torzdf »

Model file has corrupted. See here:
viewtopic.php?p=7110&hilit=restore#p7110

My word is final

Locked