find captions.csv in two dir only
Browse files
app.py
CHANGED
@@ -16,8 +16,8 @@ data_source = 'flickr8k.zip'
|
|
16 |
|
17 |
with zipfile.ZipFile(data_source, 'r') as zip_ref:
|
18 |
zip_ref.extractall('.')
|
19 |
-
os.system("find / -name captions.csv")
|
20 |
-
|
21 |
|
22 |
_, valid_df = make_train_valid_dfs()
|
23 |
model, image_embeddings = get_image_embeddings(valid_df, "best.pt")
|
|
|
16 |
|
17 |
with zipfile.ZipFile(data_source, 'r') as zip_ref:
|
18 |
zip_ref.extractall('.')
|
19 |
+
os.system("find /home/user/ -name captions.csv")
|
20 |
+
os.system("find /usr/ -name captions.csv")
|
21 |
|
22 |
_, valid_df = make_train_valid_dfs()
|
23 |
model, image_embeddings = get_image_embeddings(valid_df, "best.pt")
|