Uploading the model structure and weights