Update train.py
This commit is contained in:
parent
f770973b5e
commit
052e385473
|
|
@ -61,6 +61,8 @@ elif os.path.exists(image_folder_yesterday) and os.path.exists(label_folder_yest
|
|||
else:
|
||||
# print(image_folder)
|
||||
# print(label_folder)
|
||||
with open(LOG_FILE, "a") as log:
|
||||
log.write(f"\nDate: {today_str}. No valid image & label folder found in the last two days!")
|
||||
raise Exception(" No valid image & label folder found in the last two days!")
|
||||
|
||||
# 🏗️ Create dataset folders
|
||||
|
|
|
|||
Loading…
Reference in New Issue