sanket kheni
commited on
Commit
·
2e5f44a
1
Parent(s):
7576d48
app.py
CHANGED
|
@@ -17,11 +17,11 @@ from options.swap_options import SwapOptions
|
|
| 17 |
|
| 18 |
opt = SwapOptions().parse()
|
| 19 |
|
| 20 |
-
retina_repo = Repository(local_dir="
|
| 21 |
|
| 22 |
from retina_model.models import *
|
| 23 |
|
| 24 |
-
RetinaFace = load_model("
|
| 25 |
custom_objects={"FPN": FPN,
|
| 26 |
"SSH": SSH,
|
| 27 |
"BboxHead": BboxHead,
|
|
|
|
| 17 |
|
| 18 |
opt = SwapOptions().parse()
|
| 19 |
|
| 20 |
+
retina_repo = Repository(local_dir="retina_models", clone_from="felixrosberg/RetinaFace")
|
| 21 |
|
| 22 |
from retina_model.models import *
|
| 23 |
|
| 24 |
+
RetinaFace = load_model("retina_models/RetinaFace-Res50.h5",
|
| 25 |
custom_objects={"FPN": FPN,
|
| 26 |
"SSH": SSH,
|
| 27 |
"BboxHead": BboxHead,
|