harpreetsahota commited on
Commit
ffbdd76
·
verified ·
1 Parent(s): c084333

Update script.py

Browse files
Files changed (1) hide show
  1. script.py +6 -2
script.py CHANGED
@@ -112,7 +112,7 @@ def train_model(training_config=training_config):
112
  """
113
  Train the YOLO model on the given dataset using the provided configuration.
114
 
115
- NOTE: DO NOT MODIFY THIS FUNCTION.
116
  """
117
 
118
  training_dataset = prepare_dataset()
@@ -134,7 +134,11 @@ def train_model(training_config=training_config):
134
 
135
  print("Initializing the YOLO model...")
136
 
137
- model = YOLO("yolov10m.pt")
 
 
 
 
138
 
139
  print("Model initialized.")
140
 
 
112
  """
113
  Train the YOLO model on the given dataset using the provided configuration.
114
 
115
+ NOTE: DO NOT MODIFY THIS FUNCTION AT ALL OR YOUR SCRIPT WILL FAIL.
116
  """
117
 
118
  training_dataset = prepare_dataset()
 
134
 
135
  print("Initializing the YOLO model...")
136
 
137
+ #DO NOT MODIFY THIS LINE
138
+ model = YOLO(
139
+ model="/tmp/data/yolo11m.pt",
140
+
141
+ )
142
 
143
  print("Model initialized.")
144