From b12baaf09bc2da3f68fa27fe75025ca6eac116da Mon Sep 17 00:00:00 2001 From: Piotr Szkudlarek Date: Sun, 3 Dec 2023 23:06:36 +0100 Subject: [PATCH] Change YOLO model to one trained for plankton detection --- PlanktonDetector/DetectionApp/views.py | 2 +- PlanktonDetector/best.pt | 3 +++ PlanktonDetector/db.sqlite3 | Bin 143360 -> 143360 bytes 3 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 PlanktonDetector/best.pt diff --git a/PlanktonDetector/DetectionApp/views.py b/PlanktonDetector/DetectionApp/views.py index b92e99e..8ed1608 100644 --- a/PlanktonDetector/DetectionApp/views.py +++ b/PlanktonDetector/DetectionApp/views.py @@ -6,7 +6,7 @@ from django.conf import settings from ultralytics import YOLO # Create your views here. -MODEL = YOLO("yolov8n.pt") +MODEL = YOLO("best.pt") def view(request): diff --git a/PlanktonDetector/best.pt b/PlanktonDetector/best.pt new file mode 100644 index 0000000..b733035 --- /dev/null +++ b/PlanktonDetector/best.pt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0269e74342da772d0493899b682c875b6b172ea26a69275b37eb407d1c24fd6d +size 136787902 diff --git a/PlanktonDetector/db.sqlite3 b/PlanktonDetector/db.sqlite3 index ffceb28c5051c3d185231cb138e59bcb5eeffb06..86639401a72dd23833c5c8e914fb98953bc8ee53 100644 GIT binary patch delta 222 zcmZp8z|ru4V}dke^+XwG#_Ej;qWX-X&1L%A%k&xhKFIL!wlMG?=kMe9;pgHz!Pn2{ z%O}G7h4(P;65f`LjVZkKa-qx&&ILJ%dD$iTdHO~MM#lPvM*0TE`V}cDdRYbOvLVb2 yj@acv()z*745`?p6N^)z2u8;n>lNgs%LSp>CyZgCdEoSkdQ5uTUG$jtFaiM2z(bk< delta 69 zcmV-L0J{Hx;0S==2#^~Acaa=J0e7)r6)yo%gLW^sb}s>r@DvCR6aWv$4~`E^4+;** b4v!8^4ivG0{0#y(QJ0Y}0xq{iE&{v(4ki^&