Page 1 of 1

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

Posted: Thu Sep 01, 2022 11:02 am
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.


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

Posted: Thu Sep 01, 2022 11:15 am
by torzdf

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