Add object detection, tracking, mobile notifications, and search to any security camera.
remove func
roryclearae2194cf61c9
diff --git a/clearcam.py b/clearcam.pyindex 2d6d1b3..682e1f2 100644--- a/clearcam.py+++ b/clearcam.py@@ -261,12 +261,6 @@ class YOLOv8:# TODO: postprocess needs to be in the model to be compiled to webgpureturn postprocess(x)- def return_all_trainable_modules(self):- backbone_modules = [*range(10)]- yolov8neck_modules = [12, 15, 16, 18, 19, 21]- yolov8_head_weights = [(22, self.head)]- return [*zip(backbone_modules, self.net.return_modules()), *zip(yolov8neck_modules, self.fpn.return_modules()), *yolov8_head_weights]-def convert_f16_safetensor_to_f32(input_file: Path, output_file: Path):with open(input_file, 'rb') as f:metadata_length = int.from_bytes(f.read(8), 'little')