aakashv100 commited on
Commit
b77cc5e
·
1 Parent(s): 20ec5b0

chore: Update .gitignore to ignore __pycache__ directory

Browse files

The .gitignore file was updated to ignore the __pycache__ directory. This will prevent any cached Python files from being tracked by Git.

.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 = str(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]}"
 
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

  • SHA256: 9beb4c4485a2e896012610471c4694ca4dc1a56c47525052e288c8b46600e648
  • Pointer size: 132 Bytes
  • Size of remote file: 2.19 MB
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