mirror of
https://github.com/azaion/ai-training.git
synced 2026-04-22 12:26:35 +00:00
GPU augmentation. try3. Failed.
This commit is contained in:
+4
-5
@@ -1,14 +1,13 @@
|
||||
import concurrent.futures
|
||||
import os.path
|
||||
import time
|
||||
from datetime import datetime, timedelta
|
||||
from pathlib import Path
|
||||
|
||||
import albumentations as A
|
||||
import cv2
|
||||
import numpy as np
|
||||
import concurrent.futures
|
||||
|
||||
from constants import (data_images_dir, data_labels_dir, processed_images_dir, processed_labels_dir,
|
||||
annotation_classes, checkpoint_file, checkpoint_date_format)
|
||||
from constants import (data_images_dir, data_labels_dir, processed_images_dir, processed_labels_dir)
|
||||
from dto.imageLabel import ImageLabel
|
||||
|
||||
total_files_processed = 0
|
||||
@@ -154,7 +153,7 @@ def main():
|
||||
while True:
|
||||
preprocess_annotations()
|
||||
print('All processed, waiting for 2 minutes...')
|
||||
time.sleep(120)
|
||||
time.sleep(300)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
||||
Reference in New Issue
Block a user