results_save

class aitoolbox.cloud.GoogleCloud.results_save.BaseResultsGoogleStorageSaver(bucket_name='model-result', cloud_dir_prefix='')[source]

Bases: aitoolbox.cloud.GoogleCloud.data_access.BaseGoogleStorageDataSaver

Base experiment results saving to Google Cloud Storage functionality

Parameters
  • bucket_name (str) – Google Cloud Storage bucket into which the files will be saved

  • cloud_dir_prefix (str) – destination folder path inside selected bucket

class aitoolbox.cloud.GoogleCloud.results_save.GoogleStorageResultsSaver(bucket_name='model-result', cloud_dir_prefix='', local_model_result_folder_path='~/project/model_result')[source]

Bases: aitoolbox.cloud.GoogleCloud.results_save.BaseResultsGoogleStorageSaver, aitoolbox.cloud.AWS.results_save.S3ResultsSaver

Google Cloud Storage results saver

It first saves the results files to local drive and then uploads them to GCS.

Parameters
  • bucket_name (str) – name of the bucket in the Google Cloud Storage to which the results files will be saved

  • cloud_dir_prefix (str) – destination folder path inside selected bucket

  • local_model_result_folder_path (str) – root local path where project folder will be created