Instructions to use tng4480/kestrel-loop with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- ultralytics
How to use tng4480/kestrel-loop with ultralytics:
from huggingface_hub import hf_hub_download from ultralytics import YOLO # pick the weights file from this repo's "Files and versions" tab weights = hf_hub_download("tng4480/kestrel-loop", "<weights>.pt") model = YOLO(weights) source = 'http://images.cocodataset.org/val2017/000000039769.jpg' model.predict(source=source, save=True) - Notebooks
- Google Colab
- Kaggle
Candidate weights: det_alex_v1 + part-state head sh_v1a
Browse files- .gitattributes +1 -0
- NOTICE.md +5 -0
- perception/statehead.json +33 -0
- perception/statehead.ts +3 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
perception/statehead.ts filter=lfs diff=lfs merge=lfs -text
|
NOTICE.md
CHANGED
|
@@ -11,3 +11,8 @@ the event simulator.
|
|
| 11 |
- `perception/cell.json` and `perception/classes.json` are configuration files for this detector.
|
| 12 |
|
| 13 |
No other third-party model is included in this repository.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
- `perception/cell.json` and `perception/classes.json` are configuration files for this detector.
|
| 12 |
|
| 13 |
No other third-party model is included in this repository.
|
| 14 |
+
|
| 15 |
+
`perception/statehead.ts` (+ `statehead.json`) is our own part-state network (bolt head/tip keypoints, pose class, nut
|
| 16 |
+
flat/on-edge), a small ResNet18-style CNN with an FPN head, trained during the event on our own simulator renders. It
|
| 17 |
+
is distributed with this repository under the same terms (see `LICENSE`). Its architecture follows torchvision's
|
| 18 |
+
ResNet18 (BSD-3-Clause); no third-party weights are redistributed in this file.
|
perception/statehead.json
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"data": "sh_v1",
|
| 3 |
+
"epochs": 12,
|
| 4 |
+
"batch": 512,
|
| 5 |
+
"lr": 0.002,
|
| 6 |
+
"train": 658596,
|
| 7 |
+
"val": 36239,
|
| 8 |
+
"in": 128,
|
| 9 |
+
"kits": [
|
| 10 |
+
"bolt_m16x50",
|
| 11 |
+
"bolt_m24x70",
|
| 12 |
+
"bolt_m30x100",
|
| 13 |
+
"nut_m12",
|
| 14 |
+
"nut_m16",
|
| 15 |
+
"nut_m20",
|
| 16 |
+
"nut_m24",
|
| 17 |
+
"nut_m30",
|
| 18 |
+
"nut_m36",
|
| 19 |
+
"washer_m12",
|
| 20 |
+
"washer_m16",
|
| 21 |
+
"washer_m20",
|
| 22 |
+
"washer_m33"
|
| 23 |
+
],
|
| 24 |
+
"seconds": 1014,
|
| 25 |
+
"val_quick": {
|
| 26 |
+
"kit_acc": 0.9647,
|
| 27 |
+
"bolt_acc": 0.9943,
|
| 28 |
+
"lean_acc": 0.9841,
|
| 29 |
+
"flat_acc": 0.9984,
|
| 30 |
+
"kp_px128": 1.18
|
| 31 |
+
},
|
| 32 |
+
"export_torch": "2.14.1 (judged image pin); A/B ran the 2.15.0 export of the same weights (max abs output diff 6.5e-5)"
|
| 33 |
+
}
|
perception/statehead.ts
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:391677de0747e0cbdfd35e55fd1b88a19b4e7ccb84ea39d2e1c17747506d1572
|
| 3 |
+
size 47160286
|