Spaces:
Build error
Build error
Mauricio Guerta
commited on
Commit
·
bc63605
1
Parent(s):
d3150b6
Adiciona yolodetect ao projeto
Browse files- app.py +3 -2
- configs/__pycache__/__init__.cpython-38.pyc +0 -0
- configs/__pycache__/yolox_s.cpython-38.pyc +0 -0
- configs/__pycache__/yolox_x.cpython-38.pyc +0 -0
- requirements.txt +4 -1
- yoloxdetect2/__pycache__/helpers.cpython-311.pyc +0 -0
- yoloxdetect2/__pycache__/helpers.cpython-38.pyc +0 -0
- yoloxdetect2/helpers.py +1 -1
- yoloxdetect2/utils/__pycache__/downloads.cpython-311.pyc +0 -0
- yoloxdetect2/utils/__pycache__/downloads.cpython-38.pyc +0 -0
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import gradio as gr
|
2 |
import os
|
3 |
#os.system("pip -qq install yoloxdetect==0.0.7")
|
4 |
-
os.system("pip -qq install yoloxdetect")
|
5 |
import torch
|
6 |
import json
|
7 |
import yoloxdetect2.helpers as yoloxdetect
|
@@ -96,4 +96,5 @@ demo_app = gr.Interface(
|
|
96 |
live=True,
|
97 |
theme='huggingface',
|
98 |
)
|
99 |
-
demo_app.launch(debug=True, server_name="192.168.0.153", server_port=8080, enable_queue=True)
|
|
|
|
1 |
import gradio as gr
|
2 |
import os
|
3 |
#os.system("pip -qq install yoloxdetect==0.0.7")
|
4 |
+
#os.system("pip -qq install yoloxdetect")
|
5 |
import torch
|
6 |
import json
|
7 |
import yoloxdetect2.helpers as yoloxdetect
|
|
|
96 |
live=True,
|
97 |
theme='huggingface',
|
98 |
)
|
99 |
+
#demo_app.launch(debug=True, server_name="192.168.0.153", server_port=8080, enable_queue=True)
|
100 |
+
demo_app.launch(debug=True, server_port=8083, enable_queue=True)
|
configs/__pycache__/__init__.cpython-38.pyc
CHANGED
Binary files a/configs/__pycache__/__init__.cpython-38.pyc and b/configs/__pycache__/__init__.cpython-38.pyc differ
|
|
configs/__pycache__/yolox_s.cpython-38.pyc
CHANGED
Binary files a/configs/__pycache__/yolox_s.cpython-38.pyc and b/configs/__pycache__/yolox_s.cpython-38.pyc differ
|
|
configs/__pycache__/yolox_x.cpython-38.pyc
ADDED
Binary file (664 Bytes). View file
|
|
requirements.txt
CHANGED
@@ -1 +1,4 @@
|
|
1 |
-
|
|
|
|
|
|
|
|
1 |
+
opencv_python
|
2 |
+
huggingface_hub
|
3 |
+
torch
|
4 |
+
yolox
|
yoloxdetect2/__pycache__/helpers.cpython-311.pyc
ADDED
Binary file (5.28 kB). View file
|
|
yoloxdetect2/__pycache__/helpers.cpython-38.pyc
CHANGED
Binary files a/yoloxdetect2/__pycache__/helpers.cpython-38.pyc and b/yoloxdetect2/__pycache__/helpers.cpython-38.pyc differ
|
|
yoloxdetect2/helpers.py
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
from
|
2 |
from yolox.data.datasets import COCO_CLASSES
|
3 |
from yolox.data.data_augment import preproc
|
4 |
from yolox.utils import postprocess, vis
|
|
|
1 |
+
from yoloxdetect2.utils.downloads import attempt_download_from_hub, attempt_download
|
2 |
from yolox.data.datasets import COCO_CLASSES
|
3 |
from yolox.data.data_augment import preproc
|
4 |
from yolox.utils import postprocess, vis
|
yoloxdetect2/utils/__pycache__/downloads.cpython-311.pyc
ADDED
Binary file (6.39 kB). View file
|
|
yoloxdetect2/utils/__pycache__/downloads.cpython-38.pyc
ADDED
Binary file (3.38 kB). View file
|
|