Update train.py
This commit is contained in:
parent
a3e7e29897
commit
6cca796646
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue