Hi all,
I understand that there is a tenpy.resume_from_checkpoint() function, but how do I include it in the yaml file?
Best,
Yixuan Huang
How to add the resume from checkpoint in yaml file
Re: How to add the resume from checkpoint in yaml file
At the moment, you need to directly call the tenpy.resume_from_checkpoint function with the filename from where you want to resume the simulation.
You can do this from the command line e.g. with
See Issue #269 for ToDo / progress of enhancing this. I'll make sure we include this into the next TeNPy version!
You can do this from the command line e.g. with
python -c 'import tenpy; tenpy.resume_from_run("path_to_file.h5")'
.See Issue #269 for ToDo / progress of enhancing this. I'll make sure we include this into the next TeNPy version!
Re: How to add the resume from checkpoint in yaml file
Hi Johannes,
Thank you very much for the explanation.
Yixuan
Thank you very much for the explanation.
Yixuan