Skip to content

Multiprocessor Training Resulted in Corrupted best_model.zip #19

@winthropharvey

Description

@winthropharvey

I left a model training overnight with

docker-compose exec app mpirun -np 8 python3 train.py -e connect4

But after just an hour or so it crashed with error:

A load persistent id instruction was encountered, but no persistent_load function was specified.

Subsequently, I could not restart training, as whenever the program attempted to load best_model.zip it produced the same error. Investigation revealed that the best_model.zip file had somehow become malformed/corrupted. I had to replace it with a prior saved model in order to resume training.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions