Spaces:
Sleeping
Sleeping
Upload 3 files
Browse files- requirements.txt +1 -6
- setup.py +2 -1
requirements.txt
CHANGED
@@ -5,9 +5,4 @@ pillow==6.2.2
|
|
5 |
xtcocotools
|
6 |
scipy
|
7 |
timm
|
8 |
-
|
9 |
-
Openmim
|
10 |
-
mmcv-full==1.6.2
|
11 |
-
mmcv==1.7.1
|
12 |
-
mmpose==0.29.0
|
13 |
-
gradio==3.44.0
|
|
|
5 |
xtcocotools
|
6 |
scipy
|
7 |
timm
|
8 |
+
torch==2.0.1
|
|
|
|
|
|
|
|
|
|
setup.py
CHANGED
@@ -2,10 +2,11 @@ import os
|
|
2 |
import subprocess
|
3 |
import time
|
4 |
from setuptools import find_packages, setup
|
|
|
5 |
os.system('python -m mim install mmengine')
|
6 |
os.system('python -m mim install "mmcv-full==1.6.2"')
|
7 |
os.system('python -m mim install "mmpose==0.29.0"')
|
8 |
-
|
9 |
|
10 |
def readme():
|
11 |
with open('README.md', encoding='utf-8') as f:
|
|
|
2 |
import subprocess
|
3 |
import time
|
4 |
from setuptools import find_packages, setup
|
5 |
+
os.system('python -m pip install Openmim')
|
6 |
os.system('python -m mim install mmengine')
|
7 |
os.system('python -m mim install "mmcv-full==1.6.2"')
|
8 |
os.system('python -m mim install "mmpose==0.29.0"')
|
9 |
+
os.system('python -m mim install "gradio==3.44.0"')
|
10 |
|
11 |
def readme():
|
12 |
with open('README.md', encoding='utf-8') as f:
|