diff --git a/__pycache__/export.cpython-312.pyc b/__pycache__/export.cpython-312.pyc new file mode 100644 index 0000000..653e078 Binary files /dev/null and b/__pycache__/export.cpython-312.pyc differ diff --git a/__pycache__/track_reid.cpython-312.pyc b/__pycache__/track_reid.cpython-312.pyc new file mode 100644 index 0000000..4ddc6e2 Binary files /dev/null and b/__pycache__/track_reid.cpython-312.pyc differ diff --git a/contrast/__pycache__/__init__.cpython-312.pyc b/contrast/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000..c611f0a Binary files /dev/null and b/contrast/__pycache__/__init__.cpython-312.pyc differ diff --git a/contrast/feat_extract/__pycache__/config.cpython-312.pyc b/contrast/feat_extract/__pycache__/config.cpython-312.pyc new file mode 100644 index 0000000..be16060 Binary files /dev/null and b/contrast/feat_extract/__pycache__/config.cpython-312.pyc differ diff --git a/contrast/feat_extract/__pycache__/inference.cpython-312.pyc b/contrast/feat_extract/__pycache__/inference.cpython-312.pyc new file mode 100644 index 0000000..108697e Binary files /dev/null and b/contrast/feat_extract/__pycache__/inference.cpython-312.pyc differ diff --git a/contrast/feat_extract/model/__pycache__/CBAM.cpython-312.pyc b/contrast/feat_extract/model/__pycache__/CBAM.cpython-312.pyc new file mode 100644 index 0000000..37c6a70 Binary files /dev/null and b/contrast/feat_extract/model/__pycache__/CBAM.cpython-312.pyc differ diff --git a/contrast/feat_extract/model/__pycache__/Tool.cpython-312.pyc b/contrast/feat_extract/model/__pycache__/Tool.cpython-312.pyc new file mode 100644 index 0000000..40a3f88 Binary files /dev/null and b/contrast/feat_extract/model/__pycache__/Tool.cpython-312.pyc differ diff --git a/contrast/feat_extract/model/__pycache__/__init__.cpython-312.pyc b/contrast/feat_extract/model/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000..62895b2 Binary files /dev/null and b/contrast/feat_extract/model/__pycache__/__init__.cpython-312.pyc differ diff --git a/contrast/feat_extract/model/__pycache__/fmobilenet.cpython-312.pyc b/contrast/feat_extract/model/__pycache__/fmobilenet.cpython-312.pyc new file mode 100644 index 0000000..9a868d0 Binary files /dev/null and b/contrast/feat_extract/model/__pycache__/fmobilenet.cpython-312.pyc differ diff --git a/contrast/feat_extract/model/__pycache__/lcnet.cpython-312.pyc b/contrast/feat_extract/model/__pycache__/lcnet.cpython-312.pyc new file mode 100644 index 0000000..b60f555 Binary files /dev/null and b/contrast/feat_extract/model/__pycache__/lcnet.cpython-312.pyc differ diff --git a/contrast/feat_extract/model/__pycache__/loss.cpython-312.pyc b/contrast/feat_extract/model/__pycache__/loss.cpython-312.pyc new file mode 100644 index 0000000..a42dd74 Binary files /dev/null and b/contrast/feat_extract/model/__pycache__/loss.cpython-312.pyc differ diff --git a/contrast/feat_extract/model/__pycache__/metric.cpython-312.pyc b/contrast/feat_extract/model/__pycache__/metric.cpython-312.pyc new file mode 100644 index 0000000..d0cb7a2 Binary files /dev/null and b/contrast/feat_extract/model/__pycache__/metric.cpython-312.pyc differ diff --git a/contrast/feat_extract/model/__pycache__/mobilenet_v2.cpython-312.pyc b/contrast/feat_extract/model/__pycache__/mobilenet_v2.cpython-312.pyc new file mode 100644 index 0000000..2143e64 Binary files /dev/null and b/contrast/feat_extract/model/__pycache__/mobilenet_v2.cpython-312.pyc differ diff --git a/contrast/feat_extract/model/__pycache__/mobilenet_v3.cpython-312.pyc b/contrast/feat_extract/model/__pycache__/mobilenet_v3.cpython-312.pyc new file mode 100644 index 0000000..6a35563 Binary files /dev/null and b/contrast/feat_extract/model/__pycache__/mobilenet_v3.cpython-312.pyc differ diff --git a/contrast/feat_extract/model/__pycache__/mobilevit.cpython-312.pyc b/contrast/feat_extract/model/__pycache__/mobilevit.cpython-312.pyc new file mode 100644 index 0000000..4e46a9b Binary files /dev/null and b/contrast/feat_extract/model/__pycache__/mobilevit.cpython-312.pyc differ diff --git a/contrast/feat_extract/model/__pycache__/resbam.cpython-312.pyc b/contrast/feat_extract/model/__pycache__/resbam.cpython-312.pyc new file mode 100644 index 0000000..9fb6269 Binary files /dev/null and b/contrast/feat_extract/model/__pycache__/resbam.cpython-312.pyc differ diff --git a/contrast/feat_extract/model/__pycache__/resnet_face.cpython-312.pyc b/contrast/feat_extract/model/__pycache__/resnet_face.cpython-312.pyc new file mode 100644 index 0000000..9d4ae18 Binary files /dev/null and b/contrast/feat_extract/model/__pycache__/resnet_face.cpython-312.pyc differ diff --git a/contrast/feat_extract/model/__pycache__/resnet_pre.cpython-312.pyc b/contrast/feat_extract/model/__pycache__/resnet_pre.cpython-312.pyc new file mode 100644 index 0000000..1afbcb1 Binary files /dev/null and b/contrast/feat_extract/model/__pycache__/resnet_pre.cpython-312.pyc differ diff --git a/contrast/feat_extract/model/__pycache__/utils.cpython-312.pyc b/contrast/feat_extract/model/__pycache__/utils.cpython-312.pyc new file mode 100644 index 0000000..7cfc1be Binary files /dev/null and b/contrast/feat_extract/model/__pycache__/utils.cpython-312.pyc differ diff --git a/hands/__pycache__/hand_inference.cpython-312.pyc b/hands/__pycache__/hand_inference.cpython-312.pyc new file mode 100644 index 0000000..bf54fe9 Binary files /dev/null and b/hands/__pycache__/hand_inference.cpython-312.pyc differ diff --git a/models/__pycache__/__init__.cpython-312.pyc b/models/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000..84d0122 Binary files /dev/null and b/models/__pycache__/__init__.cpython-312.pyc differ diff --git a/models/__pycache__/common.cpython-312.pyc b/models/__pycache__/common.cpython-312.pyc new file mode 100644 index 0000000..c3173a8 Binary files /dev/null and b/models/__pycache__/common.cpython-312.pyc differ diff --git a/models/__pycache__/experimental.cpython-312.pyc b/models/__pycache__/experimental.cpython-312.pyc new file mode 100644 index 0000000..4af06e6 Binary files /dev/null and b/models/__pycache__/experimental.cpython-312.pyc differ diff --git a/models/__pycache__/yolo.cpython-312.pyc b/models/__pycache__/yolo.cpython-312.pyc new file mode 100644 index 0000000..9a3919f Binary files /dev/null and b/models/__pycache__/yolo.cpython-312.pyc differ diff --git a/models/experimental.py b/models/experimental.py index a20cc3d..2795871 100644 --- a/models/experimental.py +++ b/models/experimental.py @@ -76,7 +76,7 @@ def attempt_load(weights, device=None, inplace=True, fuse=True): model = Ensemble() for w in weights if isinstance(weights, list) else [weights]: - ckpt = torch.load(attempt_download(w), map_location=device) # load + ckpt = torch.load(attempt_download(w), map_location=device, weights_only=False) # load ckpt = (ckpt.get('ema') or ckpt['model']).to(device).float() # FP32 model # Model compatibility updates diff --git a/pipeline.py b/pipeline.py index 45fdc18..790d8b0 100644 --- a/pipeline.py +++ b/pipeline.py @@ -114,6 +114,7 @@ def pipeline( "backCamera": {}, "one2n": [] # } + yrtDict = {} procpath = Path(eventpath).joinpath('process.data') @@ -158,11 +159,23 @@ def pipeline( '''================= 3. Yolo + Resnet + Tracker =================''' optdict["source"] = vpath - optdict["save_dir"] = savepath_pipeline_imgs + optdict["save_dir"] = savepath_pipeline_imgs + optdict["is_save_img"] = False + optdict["is_save_video"] = True + yrtOut = yolo_resnet_tracker(**optdict) - CameraEvent["yoloResnetTracker"] = yrtOut + yrtOut_save = [] + for frdict in yrtOut: + fr_dict = {} + for k, v in frdict.items(): + if k != "imgs": + fr_dict[k]=v + yrtOut_save.append(fr_dict) + CameraEvent["yoloResnetTracker"] = yrtOut_save + + # CameraEvent["yoloResnetTracker"] = yrtOut '''================= 4. tracking =================''' '''(1) 生成用于 tracking 模块的 boxes、feats''' @@ -189,6 +202,8 @@ def pipeline( CameraEvent["tracking"] = vts ShoppingDict["backCamera"] = CameraEvent + + yrtDict["backyrt"] = yrtOut '''(2) tracking, 前摄''' if CameraEvent["cameraType"] == "front": @@ -198,6 +213,8 @@ def pipeline( CameraEvent["tracking"] = vts ShoppingDict["frontCamera"] = CameraEvent + + yrtDict["frontyrt"] = yrtOut '''========================== 保存模块 =================================''' '''(1) 保存 ShoppingDict 事件''' @@ -208,10 +225,14 @@ def pipeline( for CamerType, vts in event_tracks: if len(vts.tracks)==0: continue if CamerType == 'front': - yolos = ShoppingDict["frontCamera"]["yoloResnetTracker"] + # yolos = ShoppingDict["frontCamera"]["yoloResnetTracker"] + + yolos = yrtDict["frontyrt"] ctype = 1 if CamerType == 'back': - yolos = ShoppingDict["backCamera"]["yoloResnetTracker"] + # yolos = ShoppingDict["backCamera"]["yoloResnetTracker"] + + yolos = yrtDict["backyrt"] ctype = 0 imgdict, featdict, simidict = {}, {}, {} @@ -269,10 +290,10 @@ def main(): 函数:pipeline(),遍历事件文件夹,选择类型 image 或 video, ''' parmDict = {} - evtdir = r"D:\works\后台回传数据" + evtdir = r"../dataset/backend_20250310" parmDict["SourceType"] = "video" # video, image - parmDict["savepath"] = r"D:\works\results" - parmDict["weights"] = r'D:\DetectTracking\ckpts\best_cls10_0906.pt' + parmDict["savepath"] = r"../dataset/run" + parmDict["weights"] = r'./ckpts/best_cls10_0906.pt' evtdir = Path(evtdir) k, errEvents = 0, [] @@ -280,14 +301,14 @@ def main(): if item.is_dir(): # item = evtdir/Path("20250303-103058-074_6914973604223_6914973604223") parmDict["eventpath"] = item - # pipeline(**parmDict) - try: - pipeline(**parmDict) - except Exception as e: - errEvents.append(str(item)) - # k+=1 - # if k==1: - # break + pipeline(**parmDict) + # try: + # pipeline(**parmDict) + # except Exception as e: + # errEvents.append(str(item)) + k+=1 + if k==1: + break errfile = os.path.join(parmDict["savepath"], f'error_events.txt') with open(errfile, 'w', encoding='utf-8') as f: diff --git a/track_reid.py b/track_reid.py index df91966..3357650 100644 --- a/track_reid.py +++ b/track_reid.py @@ -311,6 +311,9 @@ def yolo_resnet_tracker( h = int(vid_cap.get(cv2.CAP_PROP_FRAME_HEIGHT)) else: # stream fps, w, h = 25, im0.shape[1], im0.shape[0] + ## for image rotating in dataloader.LoadImages.__next__() + w, h = im0.shape[1], im0.shape[0] + vdieo_path = str(Path(vdieo_path).with_suffix('.mp4')) # force *.mp4 suffix on results videos vid_writer[i] = cv2.VideoWriter(vdieo_path, cv2.VideoWriter_fourcc(*'mp4v'), fps, (w, h)) vid_writer[i].write(im0) @@ -594,6 +597,9 @@ def run( h = int(vid_cap.get(cv2.CAP_PROP_FRAME_HEIGHT)) else: # stream fps, w, h = 30, im0.shape[1], im0.shape[0] + + ## for image rotating in dataloader.LoadImages.__next__() + w, h = im0.shape[1], im0.shape[0] save_path = str(Path(save_path).with_suffix('.mp4')) # force *.mp4 suffix on results videos vid_writer[i] = cv2.VideoWriter(save_path, cv2.VideoWriter_fourcc(*'mp4v'), fps, (w, h)) vid_writer[i].write(im0) diff --git a/tracking/__pycache__/__init__.cpython-312.pyc b/tracking/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000..a4dc327 Binary files /dev/null and b/tracking/__pycache__/__init__.cpython-312.pyc differ diff --git a/tracking/dotrack/__pycache__/__init__.cpython-312.pyc b/tracking/dotrack/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000..de6758e Binary files /dev/null and b/tracking/dotrack/__pycache__/__init__.cpython-312.pyc differ diff --git a/tracking/dotrack/__pycache__/dotracks.cpython-312.pyc b/tracking/dotrack/__pycache__/dotracks.cpython-312.pyc new file mode 100644 index 0000000..590e9b2 Binary files /dev/null and b/tracking/dotrack/__pycache__/dotracks.cpython-312.pyc differ diff --git a/tracking/dotrack/__pycache__/dotracks_back.cpython-312.pyc b/tracking/dotrack/__pycache__/dotracks_back.cpython-312.pyc new file mode 100644 index 0000000..2c9dac5 Binary files /dev/null and b/tracking/dotrack/__pycache__/dotracks_back.cpython-312.pyc differ diff --git a/tracking/dotrack/__pycache__/dotracks_front.cpython-312.pyc b/tracking/dotrack/__pycache__/dotracks_front.cpython-312.pyc new file mode 100644 index 0000000..8fe6429 Binary files /dev/null and b/tracking/dotrack/__pycache__/dotracks_front.cpython-312.pyc differ diff --git a/tracking/dotrack/__pycache__/track_back.cpython-312.pyc b/tracking/dotrack/__pycache__/track_back.cpython-312.pyc new file mode 100644 index 0000000..2571677 Binary files /dev/null and b/tracking/dotrack/__pycache__/track_back.cpython-312.pyc differ diff --git a/tracking/dotrack/__pycache__/track_front.cpython-312.pyc b/tracking/dotrack/__pycache__/track_front.cpython-312.pyc new file mode 100644 index 0000000..57087a3 Binary files /dev/null and b/tracking/dotrack/__pycache__/track_front.cpython-312.pyc differ diff --git a/tracking/dotrack/track_back.py b/tracking/dotrack/track_back.py index 463c642..6f40ea4 100644 --- a/tracking/dotrack/track_back.py +++ b/tracking/dotrack/track_back.py @@ -132,11 +132,11 @@ class backTrack(Track): num_outcart = cv2.countNonZero(isoutcart) num_cartboarder = cv2.countNonZero(iscartboarder) - incart_iou = num_incart/num_temp - outcart_iou = num_outcart/num_temp - cartboarder_iou = num_cartboarder/num_temp - maxbox_iou = maxarea/num_temp - minbox_iou = minarea/num_temp + incart_iou = num_incart/(num_temp+1e-6) + outcart_iou = num_outcart/(num_temp+1e-6) + cartboarder_iou = num_cartboarder/(num_temp+1e-6) + maxbox_iou = maxarea/(num_temp+1e-6) + minbox_iou = minarea/(num_temp+1e-6) self.feature_ious = (incart_iou, outcart_iou, cartboarder_iou, maxbox_iou, minbox_iou) self.incartrates = incartrates diff --git a/tracking/trackers/__pycache__/__init__.cpython-312.pyc b/tracking/trackers/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000..e01f801 Binary files /dev/null and b/tracking/trackers/__pycache__/__init__.cpython-312.pyc differ diff --git a/tracking/trackers/__pycache__/basetrack.cpython-312.pyc b/tracking/trackers/__pycache__/basetrack.cpython-312.pyc new file mode 100644 index 0000000..d28ee0d Binary files /dev/null and b/tracking/trackers/__pycache__/basetrack.cpython-312.pyc differ diff --git a/tracking/trackers/__pycache__/bot_sort.cpython-312.pyc b/tracking/trackers/__pycache__/bot_sort.cpython-312.pyc new file mode 100644 index 0000000..6d974f5 Binary files /dev/null and b/tracking/trackers/__pycache__/bot_sort.cpython-312.pyc differ diff --git a/tracking/trackers/__pycache__/byte_tracker.cpython-312.pyc b/tracking/trackers/__pycache__/byte_tracker.cpython-312.pyc new file mode 100644 index 0000000..2e73892 Binary files /dev/null and b/tracking/trackers/__pycache__/byte_tracker.cpython-312.pyc differ diff --git a/tracking/trackers/__pycache__/track.cpython-312.pyc b/tracking/trackers/__pycache__/track.cpython-312.pyc new file mode 100644 index 0000000..0c331dd Binary files /dev/null and b/tracking/trackers/__pycache__/track.cpython-312.pyc differ diff --git a/tracking/trackers/utils/__pycache__/__init__.cpython-312.pyc b/tracking/trackers/utils/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000..7c06304 Binary files /dev/null and b/tracking/trackers/utils/__pycache__/__init__.cpython-312.pyc differ diff --git a/tracking/trackers/utils/__pycache__/kalman_filter.cpython-312.pyc b/tracking/trackers/utils/__pycache__/kalman_filter.cpython-312.pyc new file mode 100644 index 0000000..8079c31 Binary files /dev/null and b/tracking/trackers/utils/__pycache__/kalman_filter.cpython-312.pyc differ diff --git a/tracking/trackers/utils/__pycache__/matching.cpython-312.pyc b/tracking/trackers/utils/__pycache__/matching.cpython-312.pyc new file mode 100644 index 0000000..096ec4c Binary files /dev/null and b/tracking/trackers/utils/__pycache__/matching.cpython-312.pyc differ diff --git a/tracking/utils/__pycache__/__init__.cpython-312.pyc b/tracking/utils/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000..6600dc8 Binary files /dev/null and b/tracking/utils/__pycache__/__init__.cpython-312.pyc differ diff --git a/tracking/utils/__pycache__/annotator.cpython-312.pyc b/tracking/utils/__pycache__/annotator.cpython-312.pyc new file mode 100644 index 0000000..64a433e Binary files /dev/null and b/tracking/utils/__pycache__/annotator.cpython-312.pyc differ diff --git a/tracking/utils/__pycache__/drawtracks.cpython-312.pyc b/tracking/utils/__pycache__/drawtracks.cpython-312.pyc new file mode 100644 index 0000000..3fd62f6 Binary files /dev/null and b/tracking/utils/__pycache__/drawtracks.cpython-312.pyc differ diff --git a/tracking/utils/__pycache__/iterYaml.cpython-312.pyc b/tracking/utils/__pycache__/iterYaml.cpython-312.pyc new file mode 100644 index 0000000..63408a0 Binary files /dev/null and b/tracking/utils/__pycache__/iterYaml.cpython-312.pyc differ diff --git a/tracking/utils/__pycache__/mergetrack.cpython-312.pyc b/tracking/utils/__pycache__/mergetrack.cpython-312.pyc new file mode 100644 index 0000000..1ebd7c1 Binary files /dev/null and b/tracking/utils/__pycache__/mergetrack.cpython-312.pyc differ diff --git a/tracking/utils/__pycache__/plotting.cpython-312.pyc b/tracking/utils/__pycache__/plotting.cpython-312.pyc new file mode 100644 index 0000000..d226242 Binary files /dev/null and b/tracking/utils/__pycache__/plotting.cpython-312.pyc differ diff --git a/tracking/utils/__pycache__/proBoxes.cpython-312.pyc b/tracking/utils/__pycache__/proBoxes.cpython-312.pyc new file mode 100644 index 0000000..649b80f Binary files /dev/null and b/tracking/utils/__pycache__/proBoxes.cpython-312.pyc differ diff --git a/tracking/utils/__pycache__/read_data.cpython-312.pyc b/tracking/utils/__pycache__/read_data.cpython-312.pyc new file mode 100644 index 0000000..07b0c70 Binary files /dev/null and b/tracking/utils/__pycache__/read_data.cpython-312.pyc differ diff --git a/tracking/utils/__pycache__/showtrack.cpython-312.pyc b/tracking/utils/__pycache__/showtrack.cpython-312.pyc new file mode 100644 index 0000000..af4be95 Binary files /dev/null and b/tracking/utils/__pycache__/showtrack.cpython-312.pyc differ diff --git a/ultralytics/__pycache__/__init__.cpython-312.pyc b/ultralytics/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000..cc440bf Binary files /dev/null and b/ultralytics/__pycache__/__init__.cpython-312.pyc differ diff --git a/ultralytics/cfg/__pycache__/__init__.cpython-312.pyc b/ultralytics/cfg/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000..f668d66 Binary files /dev/null and b/ultralytics/cfg/__pycache__/__init__.cpython-312.pyc differ diff --git a/ultralytics/data/__pycache__/__init__.cpython-312.pyc b/ultralytics/data/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000..a315137 Binary files /dev/null and b/ultralytics/data/__pycache__/__init__.cpython-312.pyc differ diff --git a/ultralytics/data/__pycache__/augment.cpython-312.pyc b/ultralytics/data/__pycache__/augment.cpython-312.pyc new file mode 100644 index 0000000..dd25a89 Binary files /dev/null and b/ultralytics/data/__pycache__/augment.cpython-312.pyc differ diff --git a/ultralytics/data/__pycache__/base.cpython-312.pyc b/ultralytics/data/__pycache__/base.cpython-312.pyc new file mode 100644 index 0000000..977602f Binary files /dev/null and b/ultralytics/data/__pycache__/base.cpython-312.pyc differ diff --git a/ultralytics/data/__pycache__/build.cpython-312.pyc b/ultralytics/data/__pycache__/build.cpython-312.pyc new file mode 100644 index 0000000..88587dd Binary files /dev/null and b/ultralytics/data/__pycache__/build.cpython-312.pyc differ diff --git a/ultralytics/data/__pycache__/converter.cpython-312.pyc b/ultralytics/data/__pycache__/converter.cpython-312.pyc new file mode 100644 index 0000000..29f7ca5 Binary files /dev/null and b/ultralytics/data/__pycache__/converter.cpython-312.pyc differ diff --git a/ultralytics/data/__pycache__/dataset.cpython-312.pyc b/ultralytics/data/__pycache__/dataset.cpython-312.pyc new file mode 100644 index 0000000..74ed7db Binary files /dev/null and b/ultralytics/data/__pycache__/dataset.cpython-312.pyc differ diff --git a/ultralytics/data/__pycache__/loaders.cpython-312.pyc b/ultralytics/data/__pycache__/loaders.cpython-312.pyc new file mode 100644 index 0000000..a799acd Binary files /dev/null and b/ultralytics/data/__pycache__/loaders.cpython-312.pyc differ diff --git a/ultralytics/data/__pycache__/utils.cpython-312.pyc b/ultralytics/data/__pycache__/utils.cpython-312.pyc new file mode 100644 index 0000000..184140b Binary files /dev/null and b/ultralytics/data/__pycache__/utils.cpython-312.pyc differ diff --git a/ultralytics/engine/__pycache__/__init__.cpython-312.pyc b/ultralytics/engine/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000..87fdfda Binary files /dev/null and b/ultralytics/engine/__pycache__/__init__.cpython-312.pyc differ diff --git a/ultralytics/engine/__pycache__/model.cpython-312.pyc b/ultralytics/engine/__pycache__/model.cpython-312.pyc new file mode 100644 index 0000000..4ac711e Binary files /dev/null and b/ultralytics/engine/__pycache__/model.cpython-312.pyc differ diff --git a/ultralytics/engine/__pycache__/predictor.cpython-312.pyc b/ultralytics/engine/__pycache__/predictor.cpython-312.pyc new file mode 100644 index 0000000..5eb87c7 Binary files /dev/null and b/ultralytics/engine/__pycache__/predictor.cpython-312.pyc differ diff --git a/ultralytics/engine/__pycache__/results.cpython-312.pyc b/ultralytics/engine/__pycache__/results.cpython-312.pyc new file mode 100644 index 0000000..af95d4f Binary files /dev/null and b/ultralytics/engine/__pycache__/results.cpython-312.pyc differ diff --git a/ultralytics/engine/__pycache__/trainer.cpython-312.pyc b/ultralytics/engine/__pycache__/trainer.cpython-312.pyc new file mode 100644 index 0000000..a3675cb Binary files /dev/null and b/ultralytics/engine/__pycache__/trainer.cpython-312.pyc differ diff --git a/ultralytics/engine/__pycache__/validator.cpython-312.pyc b/ultralytics/engine/__pycache__/validator.cpython-312.pyc new file mode 100644 index 0000000..583bbd8 Binary files /dev/null and b/ultralytics/engine/__pycache__/validator.cpython-312.pyc differ diff --git a/ultralytics/hub/__pycache__/__init__.cpython-312.pyc b/ultralytics/hub/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000..9984227 Binary files /dev/null and b/ultralytics/hub/__pycache__/__init__.cpython-312.pyc differ diff --git a/ultralytics/hub/__pycache__/auth.cpython-312.pyc b/ultralytics/hub/__pycache__/auth.cpython-312.pyc new file mode 100644 index 0000000..c1304db Binary files /dev/null and b/ultralytics/hub/__pycache__/auth.cpython-312.pyc differ diff --git a/ultralytics/hub/__pycache__/utils.cpython-312.pyc b/ultralytics/hub/__pycache__/utils.cpython-312.pyc new file mode 100644 index 0000000..b082510 Binary files /dev/null and b/ultralytics/hub/__pycache__/utils.cpython-312.pyc differ diff --git a/ultralytics/models/__pycache__/__init__.cpython-312.pyc b/ultralytics/models/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000..0024398 Binary files /dev/null and b/ultralytics/models/__pycache__/__init__.cpython-312.pyc differ diff --git a/ultralytics/models/fastsam/__pycache__/__init__.cpython-312.pyc b/ultralytics/models/fastsam/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000..12c40d4 Binary files /dev/null and b/ultralytics/models/fastsam/__pycache__/__init__.cpython-312.pyc differ diff --git a/ultralytics/models/fastsam/__pycache__/model.cpython-312.pyc b/ultralytics/models/fastsam/__pycache__/model.cpython-312.pyc new file mode 100644 index 0000000..f95fff0 Binary files /dev/null and b/ultralytics/models/fastsam/__pycache__/model.cpython-312.pyc differ diff --git a/ultralytics/models/fastsam/__pycache__/predict.cpython-312.pyc b/ultralytics/models/fastsam/__pycache__/predict.cpython-312.pyc new file mode 100644 index 0000000..7c7958f Binary files /dev/null and b/ultralytics/models/fastsam/__pycache__/predict.cpython-312.pyc differ diff --git a/ultralytics/models/fastsam/__pycache__/prompt.cpython-312.pyc b/ultralytics/models/fastsam/__pycache__/prompt.cpython-312.pyc new file mode 100644 index 0000000..4706636 Binary files /dev/null and b/ultralytics/models/fastsam/__pycache__/prompt.cpython-312.pyc differ diff --git a/ultralytics/models/fastsam/__pycache__/utils.cpython-312.pyc b/ultralytics/models/fastsam/__pycache__/utils.cpython-312.pyc new file mode 100644 index 0000000..602a6d6 Binary files /dev/null and b/ultralytics/models/fastsam/__pycache__/utils.cpython-312.pyc differ diff --git a/ultralytics/models/fastsam/__pycache__/val.cpython-312.pyc b/ultralytics/models/fastsam/__pycache__/val.cpython-312.pyc new file mode 100644 index 0000000..7d57672 Binary files /dev/null and b/ultralytics/models/fastsam/__pycache__/val.cpython-312.pyc differ diff --git a/ultralytics/models/nas/__pycache__/__init__.cpython-312.pyc b/ultralytics/models/nas/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000..84e3932 Binary files /dev/null and b/ultralytics/models/nas/__pycache__/__init__.cpython-312.pyc differ diff --git a/ultralytics/models/nas/__pycache__/model.cpython-312.pyc b/ultralytics/models/nas/__pycache__/model.cpython-312.pyc new file mode 100644 index 0000000..e33e052 Binary files /dev/null and b/ultralytics/models/nas/__pycache__/model.cpython-312.pyc differ diff --git a/ultralytics/models/nas/__pycache__/predict.cpython-312.pyc b/ultralytics/models/nas/__pycache__/predict.cpython-312.pyc new file mode 100644 index 0000000..475134d Binary files /dev/null and b/ultralytics/models/nas/__pycache__/predict.cpython-312.pyc differ diff --git a/ultralytics/models/nas/__pycache__/val.cpython-312.pyc b/ultralytics/models/nas/__pycache__/val.cpython-312.pyc new file mode 100644 index 0000000..63b8a8e Binary files /dev/null and b/ultralytics/models/nas/__pycache__/val.cpython-312.pyc differ diff --git a/ultralytics/models/rtdetr/__pycache__/__init__.cpython-312.pyc b/ultralytics/models/rtdetr/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000..e62c419 Binary files /dev/null and b/ultralytics/models/rtdetr/__pycache__/__init__.cpython-312.pyc differ diff --git a/ultralytics/models/rtdetr/__pycache__/model.cpython-312.pyc b/ultralytics/models/rtdetr/__pycache__/model.cpython-312.pyc new file mode 100644 index 0000000..78dfea7 Binary files /dev/null and b/ultralytics/models/rtdetr/__pycache__/model.cpython-312.pyc differ diff --git a/ultralytics/models/rtdetr/__pycache__/predict.cpython-312.pyc b/ultralytics/models/rtdetr/__pycache__/predict.cpython-312.pyc new file mode 100644 index 0000000..d4266dc Binary files /dev/null and b/ultralytics/models/rtdetr/__pycache__/predict.cpython-312.pyc differ diff --git a/ultralytics/models/rtdetr/__pycache__/train.cpython-312.pyc b/ultralytics/models/rtdetr/__pycache__/train.cpython-312.pyc new file mode 100644 index 0000000..f0449d9 Binary files /dev/null and b/ultralytics/models/rtdetr/__pycache__/train.cpython-312.pyc differ diff --git a/ultralytics/models/rtdetr/__pycache__/val.cpython-312.pyc b/ultralytics/models/rtdetr/__pycache__/val.cpython-312.pyc new file mode 100644 index 0000000..d995e6c Binary files /dev/null and b/ultralytics/models/rtdetr/__pycache__/val.cpython-312.pyc differ diff --git a/ultralytics/models/sam/__pycache__/__init__.cpython-312.pyc b/ultralytics/models/sam/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000..c91bc2d Binary files /dev/null and b/ultralytics/models/sam/__pycache__/__init__.cpython-312.pyc differ diff --git a/ultralytics/models/sam/__pycache__/amg.cpython-312.pyc b/ultralytics/models/sam/__pycache__/amg.cpython-312.pyc new file mode 100644 index 0000000..ca37818 Binary files /dev/null and b/ultralytics/models/sam/__pycache__/amg.cpython-312.pyc differ diff --git a/ultralytics/models/sam/__pycache__/build.cpython-312.pyc b/ultralytics/models/sam/__pycache__/build.cpython-312.pyc new file mode 100644 index 0000000..0ba57c1 Binary files /dev/null and b/ultralytics/models/sam/__pycache__/build.cpython-312.pyc differ diff --git a/ultralytics/models/sam/__pycache__/model.cpython-312.pyc b/ultralytics/models/sam/__pycache__/model.cpython-312.pyc new file mode 100644 index 0000000..1da9eab Binary files /dev/null and b/ultralytics/models/sam/__pycache__/model.cpython-312.pyc differ diff --git a/ultralytics/models/sam/__pycache__/predict.cpython-312.pyc b/ultralytics/models/sam/__pycache__/predict.cpython-312.pyc new file mode 100644 index 0000000..43347e6 Binary files /dev/null and b/ultralytics/models/sam/__pycache__/predict.cpython-312.pyc differ diff --git a/ultralytics/models/sam/modules/__pycache__/__init__.cpython-312.pyc b/ultralytics/models/sam/modules/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000..e19a05b Binary files /dev/null and b/ultralytics/models/sam/modules/__pycache__/__init__.cpython-312.pyc differ diff --git a/ultralytics/models/sam/modules/__pycache__/decoders.cpython-312.pyc b/ultralytics/models/sam/modules/__pycache__/decoders.cpython-312.pyc new file mode 100644 index 0000000..bc57016 Binary files /dev/null and b/ultralytics/models/sam/modules/__pycache__/decoders.cpython-312.pyc differ diff --git a/ultralytics/models/sam/modules/__pycache__/encoders.cpython-312.pyc b/ultralytics/models/sam/modules/__pycache__/encoders.cpython-312.pyc new file mode 100644 index 0000000..16294e4 Binary files /dev/null and b/ultralytics/models/sam/modules/__pycache__/encoders.cpython-312.pyc differ diff --git a/ultralytics/models/sam/modules/__pycache__/sam.cpython-312.pyc b/ultralytics/models/sam/modules/__pycache__/sam.cpython-312.pyc new file mode 100644 index 0000000..71f3fdc Binary files /dev/null and b/ultralytics/models/sam/modules/__pycache__/sam.cpython-312.pyc differ diff --git a/ultralytics/models/sam/modules/__pycache__/tiny_encoder.cpython-312.pyc b/ultralytics/models/sam/modules/__pycache__/tiny_encoder.cpython-312.pyc new file mode 100644 index 0000000..ac2f1bc Binary files /dev/null and b/ultralytics/models/sam/modules/__pycache__/tiny_encoder.cpython-312.pyc differ diff --git a/ultralytics/models/sam/modules/__pycache__/transformer.cpython-312.pyc b/ultralytics/models/sam/modules/__pycache__/transformer.cpython-312.pyc new file mode 100644 index 0000000..c7d0571 Binary files /dev/null and b/ultralytics/models/sam/modules/__pycache__/transformer.cpython-312.pyc differ diff --git a/ultralytics/models/yolo/__pycache__/__init__.cpython-312.pyc b/ultralytics/models/yolo/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000..6546cfc Binary files /dev/null and b/ultralytics/models/yolo/__pycache__/__init__.cpython-312.pyc differ diff --git a/ultralytics/models/yolo/__pycache__/model.cpython-312.pyc b/ultralytics/models/yolo/__pycache__/model.cpython-312.pyc new file mode 100644 index 0000000..afe0c46 Binary files /dev/null and b/ultralytics/models/yolo/__pycache__/model.cpython-312.pyc differ diff --git a/ultralytics/models/yolo/classify/__pycache__/__init__.cpython-312.pyc b/ultralytics/models/yolo/classify/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000..74695b1 Binary files /dev/null and b/ultralytics/models/yolo/classify/__pycache__/__init__.cpython-312.pyc differ diff --git a/ultralytics/models/yolo/classify/__pycache__/predict.cpython-312.pyc b/ultralytics/models/yolo/classify/__pycache__/predict.cpython-312.pyc new file mode 100644 index 0000000..d0af994 Binary files /dev/null and b/ultralytics/models/yolo/classify/__pycache__/predict.cpython-312.pyc differ diff --git a/ultralytics/models/yolo/classify/__pycache__/train.cpython-312.pyc b/ultralytics/models/yolo/classify/__pycache__/train.cpython-312.pyc new file mode 100644 index 0000000..44eda6f Binary files /dev/null and b/ultralytics/models/yolo/classify/__pycache__/train.cpython-312.pyc differ diff --git a/ultralytics/models/yolo/classify/__pycache__/val.cpython-312.pyc b/ultralytics/models/yolo/classify/__pycache__/val.cpython-312.pyc new file mode 100644 index 0000000..615b694 Binary files /dev/null and b/ultralytics/models/yolo/classify/__pycache__/val.cpython-312.pyc differ diff --git a/ultralytics/models/yolo/detect/__pycache__/__init__.cpython-312.pyc b/ultralytics/models/yolo/detect/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000..87cc14b Binary files /dev/null and b/ultralytics/models/yolo/detect/__pycache__/__init__.cpython-312.pyc differ diff --git a/ultralytics/models/yolo/detect/__pycache__/predict.cpython-312.pyc b/ultralytics/models/yolo/detect/__pycache__/predict.cpython-312.pyc new file mode 100644 index 0000000..e2fea2f Binary files /dev/null and b/ultralytics/models/yolo/detect/__pycache__/predict.cpython-312.pyc differ diff --git a/ultralytics/models/yolo/detect/__pycache__/train.cpython-312.pyc b/ultralytics/models/yolo/detect/__pycache__/train.cpython-312.pyc new file mode 100644 index 0000000..7b5b461 Binary files /dev/null and b/ultralytics/models/yolo/detect/__pycache__/train.cpython-312.pyc differ diff --git a/ultralytics/models/yolo/detect/__pycache__/val.cpython-312.pyc b/ultralytics/models/yolo/detect/__pycache__/val.cpython-312.pyc new file mode 100644 index 0000000..53190ee Binary files /dev/null and b/ultralytics/models/yolo/detect/__pycache__/val.cpython-312.pyc differ diff --git a/ultralytics/models/yolo/pose/__pycache__/__init__.cpython-312.pyc b/ultralytics/models/yolo/pose/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000..ea6cab1 Binary files /dev/null and b/ultralytics/models/yolo/pose/__pycache__/__init__.cpython-312.pyc differ diff --git a/ultralytics/models/yolo/pose/__pycache__/predict.cpython-312.pyc b/ultralytics/models/yolo/pose/__pycache__/predict.cpython-312.pyc new file mode 100644 index 0000000..5142060 Binary files /dev/null and b/ultralytics/models/yolo/pose/__pycache__/predict.cpython-312.pyc differ diff --git a/ultralytics/models/yolo/pose/__pycache__/train.cpython-312.pyc b/ultralytics/models/yolo/pose/__pycache__/train.cpython-312.pyc new file mode 100644 index 0000000..f008c3d Binary files /dev/null and b/ultralytics/models/yolo/pose/__pycache__/train.cpython-312.pyc differ diff --git a/ultralytics/models/yolo/pose/__pycache__/val.cpython-312.pyc b/ultralytics/models/yolo/pose/__pycache__/val.cpython-312.pyc new file mode 100644 index 0000000..748a7a5 Binary files /dev/null and b/ultralytics/models/yolo/pose/__pycache__/val.cpython-312.pyc differ diff --git a/ultralytics/models/yolo/segment/__pycache__/__init__.cpython-312.pyc b/ultralytics/models/yolo/segment/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000..60035cc Binary files /dev/null and b/ultralytics/models/yolo/segment/__pycache__/__init__.cpython-312.pyc differ diff --git a/ultralytics/models/yolo/segment/__pycache__/predict.cpython-312.pyc b/ultralytics/models/yolo/segment/__pycache__/predict.cpython-312.pyc new file mode 100644 index 0000000..b860998 Binary files /dev/null and b/ultralytics/models/yolo/segment/__pycache__/predict.cpython-312.pyc differ diff --git a/ultralytics/models/yolo/segment/__pycache__/train.cpython-312.pyc b/ultralytics/models/yolo/segment/__pycache__/train.cpython-312.pyc new file mode 100644 index 0000000..f43270b Binary files /dev/null and b/ultralytics/models/yolo/segment/__pycache__/train.cpython-312.pyc differ diff --git a/ultralytics/models/yolo/segment/__pycache__/val.cpython-312.pyc b/ultralytics/models/yolo/segment/__pycache__/val.cpython-312.pyc new file mode 100644 index 0000000..e8d7ea7 Binary files /dev/null and b/ultralytics/models/yolo/segment/__pycache__/val.cpython-312.pyc differ diff --git a/ultralytics/nn/__pycache__/__init__.cpython-312.pyc b/ultralytics/nn/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000..c6e62c9 Binary files /dev/null and b/ultralytics/nn/__pycache__/__init__.cpython-312.pyc differ diff --git a/ultralytics/nn/__pycache__/autobackend.cpython-312.pyc b/ultralytics/nn/__pycache__/autobackend.cpython-312.pyc new file mode 100644 index 0000000..966828c Binary files /dev/null and b/ultralytics/nn/__pycache__/autobackend.cpython-312.pyc differ diff --git a/ultralytics/nn/__pycache__/tasks.cpython-312.pyc b/ultralytics/nn/__pycache__/tasks.cpython-312.pyc new file mode 100644 index 0000000..2640d75 Binary files /dev/null and b/ultralytics/nn/__pycache__/tasks.cpython-312.pyc differ diff --git a/ultralytics/nn/modules/__pycache__/__init__.cpython-312.pyc b/ultralytics/nn/modules/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000..5bd4b3d Binary files /dev/null and b/ultralytics/nn/modules/__pycache__/__init__.cpython-312.pyc differ diff --git a/ultralytics/nn/modules/__pycache__/block.cpython-312.pyc b/ultralytics/nn/modules/__pycache__/block.cpython-312.pyc new file mode 100644 index 0000000..8913826 Binary files /dev/null and b/ultralytics/nn/modules/__pycache__/block.cpython-312.pyc differ diff --git a/ultralytics/nn/modules/__pycache__/conv.cpython-312.pyc b/ultralytics/nn/modules/__pycache__/conv.cpython-312.pyc new file mode 100644 index 0000000..4c92622 Binary files /dev/null and b/ultralytics/nn/modules/__pycache__/conv.cpython-312.pyc differ diff --git a/ultralytics/nn/modules/__pycache__/head.cpython-312.pyc b/ultralytics/nn/modules/__pycache__/head.cpython-312.pyc new file mode 100644 index 0000000..d5773fc Binary files /dev/null and b/ultralytics/nn/modules/__pycache__/head.cpython-312.pyc differ diff --git a/ultralytics/nn/modules/__pycache__/transformer.cpython-312.pyc b/ultralytics/nn/modules/__pycache__/transformer.cpython-312.pyc new file mode 100644 index 0000000..23ed098 Binary files /dev/null and b/ultralytics/nn/modules/__pycache__/transformer.cpython-312.pyc differ diff --git a/ultralytics/nn/modules/__pycache__/utils.cpython-312.pyc b/ultralytics/nn/modules/__pycache__/utils.cpython-312.pyc new file mode 100644 index 0000000..470ed3c Binary files /dev/null and b/ultralytics/nn/modules/__pycache__/utils.cpython-312.pyc differ diff --git a/ultralytics/utils/__pycache__/__init__.cpython-312.pyc b/ultralytics/utils/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000..a595202 Binary files /dev/null and b/ultralytics/utils/__pycache__/__init__.cpython-312.pyc differ diff --git a/ultralytics/utils/__pycache__/autobatch.cpython-312.pyc b/ultralytics/utils/__pycache__/autobatch.cpython-312.pyc new file mode 100644 index 0000000..239c707 Binary files /dev/null and b/ultralytics/utils/__pycache__/autobatch.cpython-312.pyc differ diff --git a/ultralytics/utils/__pycache__/checks.cpython-312.pyc b/ultralytics/utils/__pycache__/checks.cpython-312.pyc new file mode 100644 index 0000000..32e65c2 Binary files /dev/null and b/ultralytics/utils/__pycache__/checks.cpython-312.pyc differ diff --git a/ultralytics/utils/__pycache__/dist.cpython-312.pyc b/ultralytics/utils/__pycache__/dist.cpython-312.pyc new file mode 100644 index 0000000..87941b5 Binary files /dev/null and b/ultralytics/utils/__pycache__/dist.cpython-312.pyc differ diff --git a/ultralytics/utils/__pycache__/downloads.cpython-312.pyc b/ultralytics/utils/__pycache__/downloads.cpython-312.pyc new file mode 100644 index 0000000..ecf94e0 Binary files /dev/null and b/ultralytics/utils/__pycache__/downloads.cpython-312.pyc differ diff --git a/ultralytics/utils/__pycache__/files.cpython-312.pyc b/ultralytics/utils/__pycache__/files.cpython-312.pyc new file mode 100644 index 0000000..e3dbc82 Binary files /dev/null and b/ultralytics/utils/__pycache__/files.cpython-312.pyc differ diff --git a/ultralytics/utils/__pycache__/instance.cpython-312.pyc b/ultralytics/utils/__pycache__/instance.cpython-312.pyc new file mode 100644 index 0000000..c891ce9 Binary files /dev/null and b/ultralytics/utils/__pycache__/instance.cpython-312.pyc differ diff --git a/ultralytics/utils/__pycache__/loss.cpython-312.pyc b/ultralytics/utils/__pycache__/loss.cpython-312.pyc new file mode 100644 index 0000000..75173d7 Binary files /dev/null and b/ultralytics/utils/__pycache__/loss.cpython-312.pyc differ diff --git a/ultralytics/utils/__pycache__/metrics.cpython-312.pyc b/ultralytics/utils/__pycache__/metrics.cpython-312.pyc new file mode 100644 index 0000000..d3865de Binary files /dev/null and b/ultralytics/utils/__pycache__/metrics.cpython-312.pyc differ diff --git a/ultralytics/utils/__pycache__/ops.cpython-312.pyc b/ultralytics/utils/__pycache__/ops.cpython-312.pyc new file mode 100644 index 0000000..d0ec5a2 Binary files /dev/null and b/ultralytics/utils/__pycache__/ops.cpython-312.pyc differ diff --git a/ultralytics/utils/__pycache__/patches.cpython-312.pyc b/ultralytics/utils/__pycache__/patches.cpython-312.pyc new file mode 100644 index 0000000..176c8c0 Binary files /dev/null and b/ultralytics/utils/__pycache__/patches.cpython-312.pyc differ diff --git a/ultralytics/utils/__pycache__/plotting.cpython-312.pyc b/ultralytics/utils/__pycache__/plotting.cpython-312.pyc new file mode 100644 index 0000000..642bbd9 Binary files /dev/null and b/ultralytics/utils/__pycache__/plotting.cpython-312.pyc differ diff --git a/ultralytics/utils/__pycache__/tal.cpython-312.pyc b/ultralytics/utils/__pycache__/tal.cpython-312.pyc new file mode 100644 index 0000000..1b9e9bb Binary files /dev/null and b/ultralytics/utils/__pycache__/tal.cpython-312.pyc differ diff --git a/ultralytics/utils/__pycache__/torch_utils.cpython-312.pyc b/ultralytics/utils/__pycache__/torch_utils.cpython-312.pyc new file mode 100644 index 0000000..b47a76a Binary files /dev/null and b/ultralytics/utils/__pycache__/torch_utils.cpython-312.pyc differ diff --git a/ultralytics/utils/callbacks/__pycache__/__init__.cpython-312.pyc b/ultralytics/utils/callbacks/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000..224d9a6 Binary files /dev/null and b/ultralytics/utils/callbacks/__pycache__/__init__.cpython-312.pyc differ diff --git a/ultralytics/utils/callbacks/__pycache__/base.cpython-312.pyc b/ultralytics/utils/callbacks/__pycache__/base.cpython-312.pyc new file mode 100644 index 0000000..0313f40 Binary files /dev/null and b/ultralytics/utils/callbacks/__pycache__/base.cpython-312.pyc differ diff --git a/utils/__pycache__/__init__.cpython-312.pyc b/utils/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000..b143444 Binary files /dev/null and b/utils/__pycache__/__init__.cpython-312.pyc differ diff --git a/utils/__pycache__/augmentations.cpython-312.pyc b/utils/__pycache__/augmentations.cpython-312.pyc new file mode 100644 index 0000000..8b62a57 Binary files /dev/null and b/utils/__pycache__/augmentations.cpython-312.pyc differ diff --git a/utils/__pycache__/autoanchor.cpython-312.pyc b/utils/__pycache__/autoanchor.cpython-312.pyc new file mode 100644 index 0000000..38a267c Binary files /dev/null and b/utils/__pycache__/autoanchor.cpython-312.pyc differ diff --git a/utils/__pycache__/dataloaders.cpython-312.pyc b/utils/__pycache__/dataloaders.cpython-312.pyc new file mode 100644 index 0000000..8d08c0c Binary files /dev/null and b/utils/__pycache__/dataloaders.cpython-312.pyc differ diff --git a/utils/__pycache__/downloads.cpython-312.pyc b/utils/__pycache__/downloads.cpython-312.pyc new file mode 100644 index 0000000..e59dfac Binary files /dev/null and b/utils/__pycache__/downloads.cpython-312.pyc differ diff --git a/utils/__pycache__/general.cpython-312.pyc b/utils/__pycache__/general.cpython-312.pyc new file mode 100644 index 0000000..5c31bb1 Binary files /dev/null and b/utils/__pycache__/general.cpython-312.pyc differ diff --git a/utils/__pycache__/getsource.cpython-312.pyc b/utils/__pycache__/getsource.cpython-312.pyc new file mode 100644 index 0000000..ca0ff9c Binary files /dev/null and b/utils/__pycache__/getsource.cpython-312.pyc differ diff --git a/utils/__pycache__/metrics.cpython-312.pyc b/utils/__pycache__/metrics.cpython-312.pyc new file mode 100644 index 0000000..9ec43d2 Binary files /dev/null and b/utils/__pycache__/metrics.cpython-312.pyc differ diff --git a/utils/__pycache__/plots.cpython-312.pyc b/utils/__pycache__/plots.cpython-312.pyc new file mode 100644 index 0000000..3a77765 Binary files /dev/null and b/utils/__pycache__/plots.cpython-312.pyc differ diff --git a/utils/__pycache__/torch_utils.cpython-312.pyc b/utils/__pycache__/torch_utils.cpython-312.pyc new file mode 100644 index 0000000..371d187 Binary files /dev/null and b/utils/__pycache__/torch_utils.cpython-312.pyc differ diff --git a/utils/dataloaders.py b/utils/dataloaders.py index 4ef1874..406009c 100644 --- a/utils/dataloaders.py +++ b/utils/dataloaders.py @@ -300,7 +300,7 @@ class LoadImages: ret_val, im0 = self.cap.read() self.frame += 1 - # im0 = self._cv2_rotate(im0) # for use if cv2 autorotation is False + im0 = self._cv2_rotate(im0) # for use if cv2 autorotation is False s = f'video {self.count + 1}/{self.nf} ({self.frame}/{self.frames}) {path}: ' else: @@ -329,12 +329,15 @@ class LoadImages: def _cv2_rotate(self, im): # Rotate a cv2 video manually - if self.orientation == 0: - return cv2.rotate(im, cv2.ROTATE_90_CLOCKWISE) - elif self.orientation == 180: + # if self.orientation == 0: + # return cv2.rotate(im, cv2.ROTATE_90_CLOCKWISE) + # elif self.orientation == 180: + # return cv2.rotate(im, cv2.ROTATE_90_COUNTERCLOCKWISE) + # elif self.orientation == 90: + # return cv2.rotate(im, cv2.ROTATE_180) + if self.orientation == 270: return cv2.rotate(im, cv2.ROTATE_90_COUNTERCLOCKWISE) - elif self.orientation == 90: - return cv2.rotate(im, cv2.ROTATE_180) + return im def __len__(self):