Spaces:
Running
Running
Commit
Β·
f147cb6
1
Parent(s):
cbe24cf
Update app.py
Browse files
app.py
CHANGED
|
@@ -17,7 +17,7 @@ opt = SwapOptions().parse()
|
|
| 17 |
|
| 18 |
|
| 19 |
retina_repo = Repository(local_dir="retina_model", clone_from="felixrosberg/retinaface_resnet50",
|
| 20 |
-
private=True, use_auth_token="
|
| 21 |
RetinaFace = load_model("retina_model/retinaface_res50.h5",
|
| 22 |
custom_objects={"FPN": FPN,
|
| 23 |
"SSH": SSH,
|
|
@@ -26,11 +26,11 @@ RetinaFace = load_model("retina_model/retinaface_res50.h5",
|
|
| 26 |
"ClassHead": ClassHead})
|
| 27 |
|
| 28 |
arc_repo = Repository(local_dir="arcface_model", clone_from="felixrosberg/arcface_tf",
|
| 29 |
-
private=True, use_auth_token="
|
| 30 |
ArcFace = load_model("arcface_model/arc_res50.h5")
|
| 31 |
|
| 32 |
g_repo = Repository(local_dir="g_model", clone_from="felixrosberg/affa_f",
|
| 33 |
-
private=True, use_auth_token="
|
| 34 |
G = load_model("g_model/affa_f_demo.h5", custom_objects={"AdaIN": AdaIN,
|
| 35 |
"AdaptiveAttention": AdaptiveAttention,
|
| 36 |
"InstanceNormalization": InstanceNormalization})
|
|
|
|
| 17 |
|
| 18 |
|
| 19 |
retina_repo = Repository(local_dir="retina_model", clone_from="felixrosberg/retinaface_resnet50",
|
| 20 |
+
private=True, use_auth_token="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", git_user="felixrosberg")
|
| 21 |
RetinaFace = load_model("retina_model/retinaface_res50.h5",
|
| 22 |
custom_objects={"FPN": FPN,
|
| 23 |
"SSH": SSH,
|
|
|
|
| 26 |
"ClassHead": ClassHead})
|
| 27 |
|
| 28 |
arc_repo = Repository(local_dir="arcface_model", clone_from="felixrosberg/arcface_tf",
|
| 29 |
+
private=True, use_auth_token="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")
|
| 30 |
ArcFace = load_model("arcface_model/arc_res50.h5")
|
| 31 |
|
| 32 |
g_repo = Repository(local_dir="g_model", clone_from="felixrosberg/affa_f",
|
| 33 |
+
private=True, use_auth_token="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")
|
| 34 |
G = load_model("g_model/affa_f_demo.h5", custom_objects={"AdaIN": AdaIN,
|
| 35 |
"AdaptiveAttention": AdaptiveAttention,
|
| 36 |
"InstanceNormalization": InstanceNormalization})
|