Spaces:
Sleeping
Sleeping
MarshallCN commited on
Commit Β·
82fb12f
1
Parent(s): ca697b6
update img path
Browse files- .gitattributes +1 -0
- app.py +1 -1
- app_old.py +1 -1
- images/{train/c1.png β c1.png} +0 -0
- images/{train/c2.png β c2.png} +0 -0
- images/{train/c3.png β c3.png} +0 -0
- images/{train/c4.png β c4.png} +0 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
*.png filter=lfs diff=lfs merge=lfs -text
|
app.py
CHANGED
|
@@ -16,7 +16,7 @@ MODEL_PATH_C = "weights/yolov8s_3cls.pt"
|
|
| 16 |
names = ['car', 'van', 'truck']
|
| 17 |
imgsz = 640
|
| 18 |
|
| 19 |
-
SAMPLE_DIR = "./images
|
| 20 |
SAMPLE_IMAGES = sorted([
|
| 21 |
p for p in glob.glob(os.path.join(SAMPLE_DIR, "*"))
|
| 22 |
if os.path.splitext(p)[1].lower() in [".jpg", ".jpeg", ".png", ".bmp", ".webp"]
|
|
|
|
| 16 |
names = ['car', 'van', 'truck']
|
| 17 |
imgsz = 640
|
| 18 |
|
| 19 |
+
SAMPLE_DIR = "./images"
|
| 20 |
SAMPLE_IMAGES = sorted([
|
| 21 |
p for p in glob.glob(os.path.join(SAMPLE_DIR, "*"))
|
| 22 |
if os.path.splitext(p)[1].lower() in [".jpg", ".jpeg", ".png", ".bmp", ".webp"]
|
app_old.py
CHANGED
|
@@ -16,7 +16,7 @@ MODEL_PATH_C = "weights/yolov8s_3cls.pt"
|
|
| 16 |
names = ['car', 'van', 'truck']
|
| 17 |
imgsz = 640
|
| 18 |
|
| 19 |
-
SAMPLE_DIR = "./images
|
| 20 |
SAMPLE_IMAGES = sorted([
|
| 21 |
p for p in glob.glob(os.path.join(SAMPLE_DIR, "*"))
|
| 22 |
if os.path.splitext(p)[1].lower() in [".jpg", ".jpeg", ".png", ".bmp", ".webp"]
|
|
|
|
| 16 |
names = ['car', 'van', 'truck']
|
| 17 |
imgsz = 640
|
| 18 |
|
| 19 |
+
SAMPLE_DIR = "./images"
|
| 20 |
SAMPLE_IMAGES = sorted([
|
| 21 |
p for p in glob.glob(os.path.join(SAMPLE_DIR, "*"))
|
| 22 |
if os.path.splitext(p)[1].lower() in [".jpg", ".jpeg", ".png", ".bmp", ".webp"]
|
images/{train/c1.png β c1.png}
RENAMED
|
File without changes
|
images/{train/c2.png β c2.png}
RENAMED
|
File without changes
|
images/{train/c3.png β c3.png}
RENAMED
|
File without changes
|
images/{train/c4.png β c4.png}
RENAMED
|
File without changes
|