Spaces:
Sleeping
Sleeping
bug fix
Browse files
app.py
CHANGED
@@ -39,7 +39,7 @@ for d in domains:
|
|
39 |
with open(os.path.join(feat_dir, f'src_{d}_{shots}.pkl'), 'rb') as fp:
|
40 |
dest_data = pickle.load(fp)
|
41 |
dst_data_dict[d] = {cl: [] for cl in class_list}
|
42 |
-
for p in
|
43 |
cl = p.split('/')[-2]
|
44 |
dst_data_dict[d][cl].append(p)
|
45 |
for cl in class_list:
|
|
|
39 |
with open(os.path.join(feat_dir, f'src_{d}_{shots}.pkl'), 'rb') as fp:
|
40 |
dest_data = pickle.load(fp)
|
41 |
dst_data_dict[d] = {cl: [] for cl in class_list}
|
42 |
+
for p in dest_data[0]:
|
43 |
cl = p.split('/')[-2]
|
44 |
dst_data_dict[d][cl].append(p)
|
45 |
for cl in class_list:
|