Commit
·
d3dc673
1
Parent(s):
6cb86d0
works?
Browse files
.insightface/models/my_model/1k3d68.onnx
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:df5c06b8a0c12e422b2ed8947b8869faa4105387f199c477af038aa01f9a45cc
|
3 |
-
size 143607619
|
|
|
|
|
|
|
|
.insightface/models/my_model/2d106det.onnx
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:f001b856447c413801ef5c42091ed0cd516fcd21f2d6b79635b1e733a7109dbf
|
3 |
-
size 5030888
|
|
|
|
|
|
|
|
.insightface/models/my_model/genderage.onnx
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:4fde69b1c810857b88c64a335084f1c3fe8f01246c9a191b48c7bb756d6652fb
|
3 |
-
size 1322532
|
|
|
|
|
|
|
|
.insightface/models/my_model/glintr100.onnx
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:4ab1d6435d639628a6f3e5008dd4f929edf4c4124b1a7169e1048f9fef534cdf
|
3 |
-
size 260665334
|
|
|
|
|
|
|
|
.insightface/models/my_model/scrfd_10g_bnkps.onnx
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:5838f7fe053675b1c7a08b633df49e7af5495cee0493c7dcf6697200b85b5b91
|
3 |
-
size 16923827
|
|
|
|
|
|
|
|
handler.py
CHANGED
@@ -11,7 +11,6 @@ import torch.nn.functional as F
|
|
11 |
from torchvision.transforms import Compose
|
12 |
from style_template import styles
|
13 |
|
14 |
-
import PIL
|
15 |
from PIL import Image
|
16 |
|
17 |
from depth_anything.dpt import DepthAnything
|
@@ -35,8 +34,6 @@ class EndpointHandler():
|
|
35 |
def __init__(self, model_dir):
|
36 |
|
37 |
print("Loading FaceAnalysis", model_dir)
|
38 |
-
# self.app = FaceAnalysis(name="buffalo_l", providers=["CPUExecutionProvider"])
|
39 |
-
# self.app.prepare(ctx_id=0, det_size=(640, 640))
|
40 |
|
41 |
self.app = FaceAnalysis(
|
42 |
name="antelopev2",
|
|
|
11 |
from torchvision.transforms import Compose
|
12 |
from style_template import styles
|
13 |
|
|
|
14 |
from PIL import Image
|
15 |
|
16 |
from depth_anything.dpt import DepthAnything
|
|
|
34 |
def __init__(self, model_dir):
|
35 |
|
36 |
print("Loading FaceAnalysis", model_dir)
|
|
|
|
|
37 |
|
38 |
self.app = FaceAnalysis(
|
39 |
name="antelopev2",
|