weijiang2024
commited on
Upload folder using huggingface_hub
Browse files- __init__.py +4 -4
- __pycache__/eval_fashion_person.cpython-311.pyc +0 -0
- eval_fashion_person.py +2 -2
- eval_model.py +3 -3
- name_entity_recognition.py +1 -1
- person_registration.py +10 -10
- segment.py +1 -1
- utils/__pycache__/mamasnowflake.cpython-311.pyc +0 -0
- utils/__pycache__/utils.cpython-311.pyc +0 -0
__init__.py
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
import
|
2 |
-
import
|
3 |
-
import
|
4 |
-
import
|
|
|
1 |
+
import eval_fashion_person
|
2 |
+
import person_registration
|
3 |
+
import segment
|
4 |
+
import utils
|
__pycache__/eval_fashion_person.cpython-311.pyc
ADDED
Binary file (3 kB). View file
|
|
eval_fashion_person.py
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
import requests
|
2 |
import os
|
3 |
|
4 |
-
from
|
5 |
-
from
|
6 |
|
7 |
|
8 |
# AI评估人物图像(URL)
|
|
|
1 |
import requests
|
2 |
import os
|
3 |
|
4 |
+
from utils.operate_tx import *
|
5 |
+
from utils.utils import *
|
6 |
|
7 |
|
8 |
# AI评估人物图像(URL)
|
eval_model.py
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
from datetime import datetime
|
2 |
|
3 |
-
from
|
4 |
-
from
|
5 |
-
from
|
6 |
|
7 |
|
8 |
# 从csv评估模型调优结果并将数据存入log
|
|
|
1 |
from datetime import datetime
|
2 |
|
3 |
+
from utils.operate_csv import *
|
4 |
+
from utils.utils import *
|
5 |
+
from utils.app import *
|
6 |
|
7 |
|
8 |
# 从csv评估模型调优结果并将数据存入log
|
name_entity_recognition.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
# -*- coding: utf-8 -*-
|
2 |
import requests
|
3 |
-
from
|
4 |
|
5 |
|
6 |
# 命名实体识别
|
|
|
1 |
# -*- coding: utf-8 -*-
|
2 |
import requests
|
3 |
+
from utils.operate_json import *
|
4 |
|
5 |
|
6 |
# 命名实体识别
|
person_registration.py
CHANGED
@@ -2,16 +2,16 @@ from datetime import datetime
|
|
2 |
from fastapi import FastAPI
|
3 |
import cv2
|
4 |
|
5 |
-
from
|
6 |
-
from
|
7 |
-
from
|
8 |
-
from
|
9 |
-
from
|
10 |
-
from
|
11 |
-
from
|
12 |
-
from
|
13 |
-
from
|
14 |
-
from
|
15 |
|
16 |
app = FastAPI()
|
17 |
|
|
|
2 |
from fastapi import FastAPI
|
3 |
import cv2
|
4 |
|
5 |
+
from utils.load_input import *
|
6 |
+
from utils.operate_csv import *
|
7 |
+
from utils.operate_json import *
|
8 |
+
from utils.operate_s3 import *
|
9 |
+
from utils.utils import *
|
10 |
+
from utils.operate_tx import *
|
11 |
+
from segment import *
|
12 |
+
from eval_fashion_person import *
|
13 |
+
from utils.app import *
|
14 |
+
from name_entity_recognition import *
|
15 |
|
16 |
app = FastAPI()
|
17 |
|
segment.py
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
from
|
2 |
|
3 |
|
4 |
# 使用YOLO进行语义分割
|
|
|
1 |
+
from utils.load_input import *
|
2 |
|
3 |
|
4 |
# 使用YOLO进行语义分割
|
utils/__pycache__/mamasnowflake.cpython-311.pyc
ADDED
Binary file (3.55 kB). View file
|
|
utils/__pycache__/utils.cpython-311.pyc
CHANGED
Binary files a/utils/__pycache__/utils.cpython-311.pyc and b/utils/__pycache__/utils.cpython-311.pyc differ
|
|