Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -21,13 +21,6 @@ with open('list_eval_partition.txt', 'r') as f:
|
|
21 |
img_name, dtype = line.rstrip().split(' ')
|
22 |
img_names.append(img_name)
|
23 |
|
24 |
-
# if dtype == '0':
|
25 |
-
# data['train'].append(img_name)
|
26 |
-
# elif dtype == '1':
|
27 |
-
# data['val'].append(img_name)
|
28 |
-
# else:
|
29 |
-
# data['test'].append(img_name)
|
30 |
-
|
31 |
|
32 |
# For a model pretrained on VGGFace2
|
33 |
print('Loading model weights ........')
|
|
|
21 |
img_name, dtype = line.rstrip().split(' ')
|
22 |
img_names.append(img_name)
|
23 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
24 |
|
25 |
# For a model pretrained on VGGFace2
|
26 |
print('Loading model weights ........')
|