Spaces:
Sleeping
Sleeping
Commit
·
b811e01
1
Parent(s):
d0d10ba
squadrone apps
Browse files- .gitignore +1 -0
- README.md +1 -13
- app.py +21 -0
- model/best (1).pt +3 -0
- model/best.pt +3 -0
- model/best2.pt +3 -0
- model/best5.pt +3 -0
- model/best_100.pt +3 -0
- model/best_4.pt +3 -0
- requirements.txt +0 -0
.gitignore
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
.idea
|
README.md
CHANGED
@@ -1,13 +1 @@
|
|
1 |
-
|
2 |
-
title: Squadrone
|
3 |
-
emoji: 📚
|
4 |
-
colorFrom: indigo
|
5 |
-
colorTo: green
|
6 |
-
sdk: streamlit
|
7 |
-
sdk_version: 1.43.1
|
8 |
-
app_file: app.py
|
9 |
-
pinned: false
|
10 |
-
license: unknown
|
11 |
-
---
|
12 |
-
|
13 |
-
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
1 |
+
# squadrone
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app.py
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from ultralytics import solutions
|
2 |
+
import os
|
3 |
+
import torch
|
4 |
+
import streamlit
|
5 |
+
|
6 |
+
torch.classes.__path__ = [os.path.join(torch.__path__[0], torch.classes.__file__)]
|
7 |
+
|
8 |
+
# or simply:
|
9 |
+
torch.classes.__path__ = []
|
10 |
+
|
11 |
+
|
12 |
+
inf = solutions.Inference(
|
13 |
+
# model="./model/best_100.pt", # You can use any model that Ultralytics support, i.e. YOLO11, or custom trained model
|
14 |
+
|
15 |
+
#for desktop apps
|
16 |
+
model="best_100.pt"
|
17 |
+
)
|
18 |
+
|
19 |
+
inf.inference()
|
20 |
+
|
21 |
+
### Make sure to run the file using command `streamlit run <file-name.py>`
|
model/best (1).pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:af5a0a7f1436251cc471db30d5f40caafc8af639bba58f396279f383a38e1169
|
3 |
+
size 5444371
|
model/best.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:889a947d31042a6198ec9ad3c70efb9555e03b40789fce9698303558df1fabe6
|
3 |
+
size 5445523
|
model/best2.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:24814a8738c47ded7f1bbffad09987f641454830dd449fa257537cd91914bdc0
|
3 |
+
size 5450643
|
model/best5.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c8420a7d77cc16e14164ca6eb1dc2e0e8887752c074b13979bade652c783b300
|
3 |
+
size 5448147
|
model/best_100.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e59b8996303a92da0351907dbb32b75a3d347ad1cdf888a43be41bf32d842a42
|
3 |
+
size 5457107
|
model/best_4.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0bbff7d27045c9585a55a4ee3b19a495e2cf07c5339d1eedd3cfed0aebe38852
|
3 |
+
size 5448147
|
requirements.txt
ADDED
Binary file (4.07 kB). View file
|
|