Spaces:
Sleeping
Sleeping
Commit ·
b77cc5e
1
Parent(s): 20ec5b0
chore: Update .gitignore to ignore __pycache__ directory
Browse filesThe .gitignore file was updated to ignore the __pycache__ directory. This will prevent any cached Python files from being tracked by Git.
- .gitignore +1 -1
- app.py +1 -1
- yolov9/runs/detect/897c84bb-768e-4f6b-b176-a58f379d7014/Shipping-1.png +3 -0
- yolov9/utils/segment/__pycache__/__init__.cpython-311.pyc +0 -0
- yolov9/utils/segment/__pycache__/general.cpython-311.pyc +0 -0
- yolov9/utils/tal/__pycache__/__init__.cpython-311.pyc +0 -0
- yolov9/utils/tal/__pycache__/anchor_generator.cpython-311.pyc +0 -0
.gitignore
CHANGED
|
@@ -2,5 +2,5 @@
|
|
| 2 |
yolov9/__pycache__
|
| 3 |
yolov9/*.pyc
|
| 4 |
|
| 5 |
-
__pycache__
|
| 6 |
*.py[cod]
|
|
|
|
| 2 |
yolov9/__pycache__
|
| 3 |
yolov9/*.pyc
|
| 4 |
|
| 5 |
+
__pycache__/
|
| 6 |
*.py[cod]
|
app.py
CHANGED
|
@@ -6,7 +6,7 @@ import os
|
|
| 6 |
|
| 7 |
|
| 8 |
def inference(img):
|
| 9 |
-
name_tag =
|
| 10 |
script_command = f"python yolov9/detect_dual.py --source {img} --img 640 --device cpu --weights yolov9/runs/train/exp2/weights/best.pt --name {name_tag}"
|
| 11 |
os.system(script_command)
|
| 12 |
output_file = f"yolov9/runs/detect/{name_tag}/{img.split('/')[-1]}"
|
|
|
|
| 6 |
|
| 7 |
|
| 8 |
def inference(img):
|
| 9 |
+
name_tag = uuid.uuid4()
|
| 10 |
script_command = f"python yolov9/detect_dual.py --source {img} --img 640 --device cpu --weights yolov9/runs/train/exp2/weights/best.pt --name {name_tag}"
|
| 11 |
os.system(script_command)
|
| 12 |
output_file = f"yolov9/runs/detect/{name_tag}/{img.split('/')[-1]}"
|
yolov9/runs/detect/897c84bb-768e-4f6b-b176-a58f379d7014/Shipping-1.png
ADDED
|
Git LFS Details
|
yolov9/utils/segment/__pycache__/__init__.cpython-311.pyc
CHANGED
|
Binary files a/yolov9/utils/segment/__pycache__/__init__.cpython-311.pyc and b/yolov9/utils/segment/__pycache__/__init__.cpython-311.pyc differ
|
|
|
yolov9/utils/segment/__pycache__/general.cpython-311.pyc
CHANGED
|
Binary files a/yolov9/utils/segment/__pycache__/general.cpython-311.pyc and b/yolov9/utils/segment/__pycache__/general.cpython-311.pyc differ
|
|
|
yolov9/utils/tal/__pycache__/__init__.cpython-311.pyc
CHANGED
|
Binary files a/yolov9/utils/tal/__pycache__/__init__.cpython-311.pyc and b/yolov9/utils/tal/__pycache__/__init__.cpython-311.pyc differ
|
|
|
yolov9/utils/tal/__pycache__/anchor_generator.cpython-311.pyc
CHANGED
|
Binary files a/yolov9/utils/tal/__pycache__/anchor_generator.cpython-311.pyc and b/yolov9/utils/tal/__pycache__/anchor_generator.cpython-311.pyc differ
|
|
|