Spaces:
Runtime error
Runtime error
Commit
·
2a42829
1
Parent(s):
3b3708e
v01 update
Browse files
app.py
CHANGED
@@ -180,16 +180,6 @@ def main(args):
|
|
180 |
cls_name = args.cls_name
|
181 |
device = args.device
|
182 |
|
183 |
-
# # 模型加载
|
184 |
-
# model = model_loading(model_name, device)
|
185 |
-
# # 模型名称
|
186 |
-
# # model_names = [i[0] for i in list(csv.reader(open(model_cfg)))] # csv版
|
187 |
-
# model_names = yaml_parse(model_cfg).get("model_names") # yaml版
|
188 |
-
|
189 |
-
# # 类别名称
|
190 |
-
# # model_cls_name = [i[0] for i in list(csv.reader(open(cls_name)))] # csv版
|
191 |
-
# model_cls_name = yaml_parse(cls_name).get("model_cls_name") # yaml版
|
192 |
-
|
193 |
# 模型加载
|
194 |
model = model_loading(model_name, device)
|
195 |
|
|
|
180 |
cls_name = args.cls_name
|
181 |
device = args.device
|
182 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
183 |
# 模型加载
|
184 |
model = model_loading(model_name, device)
|
185 |
|