mirror of
https://github.com/gryf/coach.git
synced 2025-12-17 19:20:19 +01:00
Sync experiment dir, videos, gifs to S3. (#147)
This commit is contained in:
committed by
Ajay Deshpande
parent
5332013bd1
commit
13d2679af4
@@ -18,7 +18,10 @@ def construct_data_store_params(json: dict):
|
||||
if json['store_type'] == 'nfs':
|
||||
ds_params_instance = NFSDataStoreParameters(ds_params)
|
||||
elif json['store_type'] == 's3':
|
||||
ds_params_instance = S3DataStoreParameters(ds_params=ds_params, end_point=json['end_point'],
|
||||
bucket_name=json['bucket_name'], checkpoint_dir=json['checkpoint_dir'])
|
||||
ds_params_instance = S3DataStoreParameters(ds_params=ds_params,
|
||||
end_point=json['end_point'],
|
||||
bucket_name=json['bucket_name'],
|
||||
checkpoint_dir=json['checkpoint_dir'],
|
||||
expt_dir=json['expt_dir'])
|
||||
|
||||
return ds_params_instance
|
||||
|
||||
Reference in New Issue
Block a user