Before running the commands, we must make sure the model weights are organized.
If you followed the previous training steps, the model weights will be located in the specified output_dir of the YAML. They will already be in the correct format, so you can directly run the commands at the bottom of the page.
If you are using other pre-trained weights, find the folder/directory in which they are stored and follow the steps below.
The folder (e.g. home/data/MODEL_WEIGHTS) should include files like: