Raghvender commited on
Commit
6c01461
·
1 Parent(s): f8154a9

feat: yolov8m custom model

Browse files
Files changed (3) hide show
  1. app.py +3 -1
  2. flagged/log.csv +2 -0
  3. yolov8m_bs32.pt +3 -0
app.py CHANGED
@@ -3,7 +3,9 @@ from ultralytics import YOLO
3
  import cv2
4
 
5
  # Yolov8 nano on custom data with BS=32
6
- model = YOLO('custom_model.pt')
 
 
7
 
8
  def infer(path):
9
  img = cv2.imread(path)
 
3
  import cv2
4
 
5
  # Yolov8 nano on custom data with BS=32
6
+ # model = YOLO('custom_model.pt')
7
+ # Use YoloV8 Medium model trained on Custom data with bs32
8
+ model = YOLO('yolov8m_bs32.pt')
9
 
10
  def infer(path):
11
  img = cv2.imread(path)
flagged/log.csv ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ Input Image,Prediction,flag,username,timestamp
2
+ ,,,,2024-01-13 22:00:45.914749
yolov8m_bs32.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:62d7cb0ac8ad42cdb52d722b5214b58966dbcfe9f49f92745030053fdacd794a
3
+ size 52014550