Views
No views yet
.pt file.1from ultralytics import YOLO
2
3model = YOLO("thalostech2025/thalos-powerline-safety-v1/powerline_safety_weights.pt")
4
5results = model("example.jpg")
6results.show()
7
8
9⸻
10
11🔗 Load From URL (Used by the Thalos YOLO Service)
12
13import torch
14import requests
15from io import BytesIO
16
17HF_URL = "https://huggingface.co/thalostech2025/thalos-powerline-safety-v1/resolve/main/powerline_safety_weights.pt"
18
19response = requests.get(HF_URL)
20model = torch.load(BytesIO(response.content), map_location="cpu")
21
22
23⸻
24
25🏷️ Labels / Classes
26
27The following classes are included (based on the Roboflow v1.0 dataset):
28
29powerline
30pole
31equipment_near_powerline
32vehicle_near_powerline
33boom_near_powerline
34high_risk_proximity
35
36(Class names may vary slightly depending on dataset version.)
37
38⸻
39
40📄 License
41
42This model is distributed under the AGPL-3.0 license, consistent with Roboflow export requirements.
43
44⸻
45
46🔒 Important Notes
47 • This repository contains only the model weights, not training data.
48 • Thalos uses this model via server-side inference through the YOLO microservice.
49 • Future versions (v2.0+) may introduce risk scoring based on measured distances to energized lines.
50 • This migration eliminates cost exposure associated with Roboflow cloud inference.
51
52⸻
53
54👤 Maintainer
55
56Thalos Tech (2025)
57Safety Intelligence & Hazard Detection Platform