Skip to content
This repository was archived by the owner on Sep 10, 2024. It is now read-only.

Commit fc1e7b7

Browse files
authored
Merge pull request #10 from rearley516/patch-2
define the s3 client
2 parents 58aac11 + 6af451d commit fc1e7b7

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Tutorials/Get_Started.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ If you transferred LADI into your own AWS S3 bucket and prefer to not store the
136136
bucket_name = 'bucket_name'
137137
#replace 'ladi_images_metadata.csv' with the path of the file that you want to read
138138
file_1_path = 'ladi_images_metadata.csv'
139+
client = boto3.client('s3')
139140
obj_1 = client.get_object(Bucket = bucket_name, Key = file_1_path)
140141
image_metadata = pd.read_csv(obj_1['Body'])
141142
#If you are loading tsv file
@@ -166,4 +167,4 @@ plt.imshow(im, cmap='Greys_r')
166167

167168
## Distribution Statement
168169

169-
[BSD -Clause License](https://github.com/LADI-Dataset/ladi-tutorial/blob/master/LICENSE)
170+
[BSD -Clause License](https://github.com/LADI-Dataset/ladi-tutorial/blob/master/LICENSE)

0 commit comments

Comments
 (0)