Spaces:
Sleeping
Sleeping
sunnychenxiwang
commited on
Commit
•
7c3e0e2
1
Parent(s):
55d9644
mmdet add
Browse files
app.py
CHANGED
@@ -5,7 +5,13 @@ from pipeline.run_pipeline import *
|
|
5 |
时间优化
|
6 |
并发优化
|
7 |
'''
|
8 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
9 |
# from run import *
|
10 |
# '''
|
11 |
# 把一些文件移动到此文件路径下
|
|
|
5 |
时间优化
|
6 |
并发优化
|
7 |
'''
|
8 |
+
import os
|
9 |
+
os.system('python -m mim install mmocr')
|
10 |
+
os.system('pip install gradio_client==0.2.7')
|
11 |
+
os.system('python -m mim install "mmcv==2.0.0rc4"')
|
12 |
+
os.system('python -m mim install mmengine==0.7.1')
|
13 |
+
os.system('python -m mim install "mmdet==3.0.0rc5"')
|
14 |
+
os.system('pip install -v -e .')
|
15 |
# from run import *
|
16 |
# '''
|
17 |
# 把一些文件移动到此文件路径下
|