Update train.py

This commit is contained in:
nguentrungthat 2025-03-25 13:47:57 +07:00
parent a3e7e29897
commit 6cca796646
1 changed files with 1 additions and 1 deletions

View File

@ -273,7 +273,7 @@ def train_yolo_model(
clear_images_source()
if(len(label_files) >= 20):
if os.path.exists(LATEST_DETECT) copy_file_latest_training()
if os.path.exists(LATEST_DETECT): copy_file_latest_training()
# 🚀 Copy files
train_copied_imgs, train_copied_lbls = move_files(train_files, train_img_folder, train_lbl_folder)