mirror of
https://github.com/azaion/ai-training.git
synced 2026-04-22 11:06:35 +00:00
queue handler done
This commit is contained in:
+2
-2
@@ -115,7 +115,7 @@ class Augmentator:
|
||||
f.writelines(lines)
|
||||
f.close()
|
||||
|
||||
print(f'{datetime.now():{'%Y-%m-%d %H:%M:%S'}}: {self.total_files_processed + 1}/{self.total_images_to_process} : {image_file.name} has augmented')
|
||||
print(f'{datetime.now():{"%Y-%m-%d %H:%M:%S"}}: {self.total_files_processed + 1}/{self.total_to_process} : {image_file.name} has augmented')
|
||||
except Exception as e:
|
||||
print(e)
|
||||
self.total_files_processed += 1
|
||||
@@ -148,5 +148,5 @@ if __name__ == '__main__':
|
||||
augmentator = Augmentator()
|
||||
while True:
|
||||
augmentator.augment_annotations()
|
||||
print('All processed, waiting for 2 minutes...')
|
||||
print('All processed, waiting for 5 minutes...')
|
||||
time.sleep(300)
|
||||
|
||||
Reference in New Issue
Block a user