from tensorflow.python.lib.io import file_io

                                      validation_steps=ceil(val_dataset_size/batch_size),
                                      initial_epoch=initial_epoch)

        model_name = "vgg19BNReLUmodel.h5"
        model.save(model_name)
        with file_io.FileIO(model_name, mode='rb') as input_f:
            with file_io.FileIO("gs://deeplearningteam11/" + model_name, mode='w+') as output_f:
                output_f.write(input_f.read())
                

