Spaces:
Build error
Build error
Miroslav Purkrabek commited on
Commit ·
4f5aed8
1
Parent(s): 50e6e4b
install through setup.sh
Browse files- app.py +6 -0
- requirements.txt +1 -47
- requirements_manual.txt +47 -0
app.py
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
import cv2
|
| 3 |
from fastrtc import WebRTC
|
|
|
|
| 1 |
+
# Run the setup.sh install script before running this app.
|
| 2 |
+
import os
|
| 3 |
+
os.system("bash setup.sh")
|
| 4 |
+
|
| 5 |
+
|
| 6 |
+
|
| 7 |
import gradio as gr
|
| 8 |
import cv2
|
| 9 |
from fastrtc import WebRTC
|
requirements.txt
CHANGED
|
@@ -1,47 +1 @@
|
|
| 1 |
-
|
| 2 |
-
# ## MMCV
|
| 3 |
-
# --no-binary=mmcv-full,mmengine,mmdet,mmpretrain
|
| 4 |
-
# mmcv @ git+https://github.com/open-mmlab/mmcv@v2.1.0
|
| 5 |
-
# mmengine @ git+https://github.com/open-mmlab/mmengine@v0.10.7
|
| 6 |
-
# mmdet @ git+https://github.com/open-mmlab/mmdetection@v3.3.0
|
| 7 |
-
# mmpretrain @ git+https://github.com/open-mmlab/mmpretrain@v1.2.0
|
| 8 |
-
|
| 9 |
-
## build.txt
|
| 10 |
-
# These must be installed before building mmpose
|
| 11 |
-
numpy
|
| 12 |
-
torch
|
| 13 |
-
torchvision
|
| 14 |
-
sparsemax
|
| 15 |
-
|
| 16 |
-
## runtime.txt
|
| 17 |
-
chumpy
|
| 18 |
-
json_tricks
|
| 19 |
-
matplotlib
|
| 20 |
-
munkres
|
| 21 |
-
numpy
|
| 22 |
-
opencv-python
|
| 23 |
-
pillow
|
| 24 |
-
scipy
|
| 25 |
-
torchvision
|
| 26 |
-
|
| 27 |
-
# --no-binary=xtcocotools
|
| 28 |
-
xtcocotools
|
| 29 |
-
|
| 30 |
-
## tests.txt
|
| 31 |
-
coverage
|
| 32 |
-
flake8
|
| 33 |
-
interrogate
|
| 34 |
-
isort==4.3.21
|
| 35 |
-
parameterized
|
| 36 |
-
pytest
|
| 37 |
-
pytest-runner
|
| 38 |
-
xdoctest>=0.10.0
|
| 39 |
-
yapf
|
| 40 |
-
|
| 41 |
-
## optional.txt
|
| 42 |
-
requests
|
| 43 |
-
|
| 44 |
-
## gradio app
|
| 45 |
-
fastrtc
|
| 46 |
-
|
| 47 |
-
# mmpose @ git+https://github.com/MiraPurkrabek/ProbPose_code.git
|
|
|
|
| 1 |
+
json # Just a random package that does not break anything
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
requirements_manual.txt
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
# ## MMCV
|
| 3 |
+
# --no-binary=mmcv-full,mmengine,mmdet,mmpretrain
|
| 4 |
+
# mmcv @ git+https://github.com/open-mmlab/mmcv@v2.1.0
|
| 5 |
+
# mmengine @ git+https://github.com/open-mmlab/mmengine@v0.10.7
|
| 6 |
+
# mmdet @ git+https://github.com/open-mmlab/mmdetection@v3.3.0
|
| 7 |
+
# mmpretrain @ git+https://github.com/open-mmlab/mmpretrain@v1.2.0
|
| 8 |
+
|
| 9 |
+
## build.txt
|
| 10 |
+
# These must be installed before building mmpose
|
| 11 |
+
numpy
|
| 12 |
+
torch
|
| 13 |
+
torchvision
|
| 14 |
+
sparsemax
|
| 15 |
+
|
| 16 |
+
## runtime.txt
|
| 17 |
+
chumpy
|
| 18 |
+
json_tricks
|
| 19 |
+
matplotlib
|
| 20 |
+
munkres
|
| 21 |
+
numpy
|
| 22 |
+
opencv-python
|
| 23 |
+
pillow
|
| 24 |
+
scipy
|
| 25 |
+
torchvision
|
| 26 |
+
|
| 27 |
+
--no-binary=xtcocotools
|
| 28 |
+
xtcocotools
|
| 29 |
+
|
| 30 |
+
## tests.txt
|
| 31 |
+
coverage
|
| 32 |
+
flake8
|
| 33 |
+
interrogate
|
| 34 |
+
isort==4.3.21
|
| 35 |
+
parameterized
|
| 36 |
+
pytest
|
| 37 |
+
pytest-runner
|
| 38 |
+
xdoctest>=0.10.0
|
| 39 |
+
yapf
|
| 40 |
+
|
| 41 |
+
## optional.txt
|
| 42 |
+
requests
|
| 43 |
+
|
| 44 |
+
## gradio app
|
| 45 |
+
fastrtc
|
| 46 |
+
|
| 47 |
+
# mmpose @ git+https://github.com/MiraPurkrabek/ProbPose_code.git
|