Commit ·
0ebb335
1
Parent(s): 2dfba3e
fake bufalo
Browse files- antelopev2/1k3d68.onnx +0 -3
- antelopev2/2d106det.onnx +0 -3
- antelopev2/genderage.onnx +0 -3
- antelopev2/glintr100.onnx +0 -3
- antelopev2/scrfd_10g_bnkps.onnx +0 -3
- app.py +19 -0
- models/antelopev2/models/antelopev2.zip +0 -3
- models/antelopev2/models/antelopev2/1k3d68.onnx +0 -3
- models/antelopev2/models/antelopev2/2d106det.onnx +0 -3
- models/antelopev2/models/antelopev2/genderage.onnx +0 -3
- models/antelopev2/models/antelopev2/glintr100.onnx +0 -3
- models/antelopev2/models/antelopev2/scrfd_10g_bnkps.onnx +0 -3
- .insightface/models/antelopev2.zip → models/buffalo_l.zip +2 -2
- {.insightface/models/antelopev2 → models/buffalo_l}/1k3d68.onnx +0 -0
- {.insightface/models/antelopev2 → models/buffalo_l}/2d106det.onnx +0 -0
- {.insightface/models/antelopev2 → models/buffalo_l}/genderage.onnx +0 -0
- {.insightface/models/antelopev2 → models/buffalo_l}/glintr100.onnx +0 -0
- {.insightface/models/antelopev2 → models/buffalo_l}/scrfd_10g_bnkps.onnx +0 -0
antelopev2/1k3d68.onnx
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:df5c06b8a0c12e422b2ed8947b8869faa4105387f199c477af038aa01f9a45cc
|
| 3 |
-
size 143607619
|
|
|
|
|
|
|
|
|
|
|
|
antelopev2/2d106det.onnx
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:f001b856447c413801ef5c42091ed0cd516fcd21f2d6b79635b1e733a7109dbf
|
| 3 |
-
size 5030888
|
|
|
|
|
|
|
|
|
|
|
|
antelopev2/genderage.onnx
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:4fde69b1c810857b88c64a335084f1c3fe8f01246c9a191b48c7bb756d6652fb
|
| 3 |
-
size 1322532
|
|
|
|
|
|
|
|
|
|
|
|
antelopev2/glintr100.onnx
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:4ab1d6435d639628a6f3e5008dd4f929edf4c4124b1a7169e1048f9fef534cdf
|
| 3 |
-
size 260665334
|
|
|
|
|
|
|
|
|
|
|
|
antelopev2/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
|
|
|
|
|
|
|
|
|
|
|
|
app.py
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from flask import Flask, request, jsonify
|
| 2 |
+
from handler import EndpointHandler
|
| 3 |
+
|
| 4 |
+
app = Flask(__name__)
|
| 5 |
+
|
| 6 |
+
model_handler = EndpointHandler("./")
|
| 7 |
+
|
| 8 |
+
@app.route("/predict", methods=["POST"])
|
| 9 |
+
def predict():
|
| 10 |
+
input_data = request.json
|
| 11 |
+
text = input_data["text"]
|
| 12 |
+
|
| 13 |
+
# Usar el handler para hacer una predicción
|
| 14 |
+
prediction = model_handler.call(text)
|
| 15 |
+
|
| 16 |
+
return jsonify({"prediction": prediction})
|
| 17 |
+
|
| 18 |
+
if __name__ == "__main__":
|
| 19 |
+
app.run(debug=True)
|
models/antelopev2/models/antelopev2.zip
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:8e182f14fc6e80b3bfa375b33eb6cff7ee05d8ef7633e738d1c89021dcf0c5c5
|
| 3 |
-
size 360662982
|
|
|
|
|
|
|
|
|
|
|
|
models/antelopev2/models/antelopev2/1k3d68.onnx
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:df5c06b8a0c12e422b2ed8947b8869faa4105387f199c477af038aa01f9a45cc
|
| 3 |
-
size 143607619
|
|
|
|
|
|
|
|
|
|
|
|
models/antelopev2/models/antelopev2/2d106det.onnx
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:f001b856447c413801ef5c42091ed0cd516fcd21f2d6b79635b1e733a7109dbf
|
| 3 |
-
size 5030888
|
|
|
|
|
|
|
|
|
|
|
|
models/antelopev2/models/antelopev2/genderage.onnx
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:4fde69b1c810857b88c64a335084f1c3fe8f01246c9a191b48c7bb756d6652fb
|
| 3 |
-
size 1322532
|
|
|
|
|
|
|
|
|
|
|
|
models/antelopev2/models/antelopev2/glintr100.onnx
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:4ab1d6435d639628a6f3e5008dd4f929edf4c4124b1a7169e1048f9fef534cdf
|
| 3 |
-
size 260665334
|
|
|
|
|
|
|
|
|
|
|
|
models/antelopev2/models/antelopev2/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
|
|
|
|
|
|
|
|
|
|
|
|
.insightface/models/antelopev2.zip → models/buffalo_l.zip
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:80ffe37d8a5940d59a7384c201a2a38d4741f2f3c51eef46ebb28218a7b0ca2f
|
| 3 |
+
size 288621354
|
{.insightface/models/antelopev2 → models/buffalo_l}/1k3d68.onnx
RENAMED
|
File without changes
|
{.insightface/models/antelopev2 → models/buffalo_l}/2d106det.onnx
RENAMED
|
File without changes
|
{.insightface/models/antelopev2 → models/buffalo_l}/genderage.onnx
RENAMED
|
File without changes
|
{.insightface/models/antelopev2 → models/buffalo_l}/glintr100.onnx
RENAMED
|
File without changes
|
{.insightface/models/antelopev2 → models/buffalo_l}/scrfd_10g_bnkps.onnx
RENAMED
|
File without changes
|