From 8f6244bd1e142042c4e1155b79656dfcf7c8f5de Mon Sep 17 00:00:00 2001 From: wangchunlin Date: Tue, 7 Mar 2023 18:37:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BA=86=E6=A8=A1=E5=9E=8B?= =?UTF-8?q?=E5=92=8C=E6=A3=80=E6=B5=8B=E7=B1=BB=E5=88=AB=E7=9A=84=E9=80=89?= =?UTF-8?q?=E6=8B=A9=EF=BC=8C=E6=98=AF=E4=B8=80=E6=AC=A1=E5=A4=A7=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitmodules | 7 ++- learn/Darknet2Pytorch2Onnx | 1 + learn/templates/home.html | 76 +++++++++++++++++++++++------ learn/views.py | 98 ++++++++++++++++++++++---------------- 4 files changed, 123 insertions(+), 59 deletions(-) create mode 160000 learn/Darknet2Pytorch2Onnx diff --git a/.gitmodules b/.gitmodules index 81a9427..c35b84a 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,5 +1,8 @@ [submodule "learn/yolov5"] path = learn/yolov5 url = http://192.168.0.51:3000/wangchunlin/yolov5-fire.git - branch = use - depth = 1 + branch = use2 +[submodule "learn/Darknet2Pytorch2Onnx"] + path = learn/Darknet2Pytorch2Onnx + url = http://192.168.0.51:3000/wangchunlin/Darknet2Pytorch2Onnx.git + branch = use diff --git a/learn/Darknet2Pytorch2Onnx b/learn/Darknet2Pytorch2Onnx new file mode 160000 index 0000000..1d4cf92 --- /dev/null +++ b/learn/Darknet2Pytorch2Onnx @@ -0,0 +1 @@ +Subproject commit 1d4cf9249f723166ceaea3573becbba4a7726916 diff --git a/learn/templates/home.html b/learn/templates/home.html index a1024c8..ab6c3e5 100644 --- a/learn/templates/home.html +++ b/learn/templates/home.html @@ -6,7 +6,17 @@ WildFire - + + + + + + + + + + + {% csrf_token %} {#如果不加这个,程序会报错#} @@ -19,25 +29,59 @@ 获取剪切板在无https情况下失败,直接Ctrl+V即可

模型选择: - - + +

+ +