Skip to content

Commit

Permalink
Update train_model.py
Browse files Browse the repository at this point in the history
  • Loading branch information
irisdaniaj authored Oct 11, 2023
1 parent 0df3601 commit 88f7580
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/models/train_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
model = YOLO('yolov8n.pt') # load a pretrained model (recommended for training)

# Train the model
results = model.train(data='VisDrone.yaml', epochs=100, imgsz=640)
results = model.train(data='VisDrone.yaml', epochs=5, imgsz=640) #since the goal of this project was not to have the best perfoming model and since the dataset was very heavy we only trained for five epochs, but feel free to modify the numbers of epochs

0 comments on commit 88f7580

Please sign in to comment.