Views
No views yet
lraspp_mobilenet_v3_large (torchvision, ~3.2 M params) distilled for 3-class
maritime semantic segmentation — obstacle / water / sky — for the SailSwarm
autonomous-sailboat obstacle-detection module (University of Konstanz).
Trained on LaRS ground truth plus 10,731 Lake-Constance fisheye frames
labelled by the eWaSR teacher (NexusDwin/sailswarm-ewasr-lars).| File | What |
|---|---|
student512t_best.pth / train_512.log | 512×384-trained weights (val acc 0.9944, IoU obst/water/sky 0.947/0.995/0.991) |
student864t_best.pth / train_864.log | 864×648-trained weights (val acc 0.9955, IoU 0.957/0.996/0.993) — crisper thin structures at full resolution |
student_512x384.onnx · student_640x480.onnx | fp32 exports of the 512-trained model (opset 17, fixed size, single image input NCHW) |
student864t_864x648.onnx | fp32 export of the 864-trained model |
*.int8.onnx | static per-channel QDQ int8 (calibrated on Lake-Constance frames; 99.1–99.3% pixel agreement vs fp32), ~3 MB each |
| input | int8 latency | fps | async worker (with free-space derivation) |
|---|---|---|---|
| 512×384 | 217.6 ms | 4.60 | 3.00 Hz — one mask per 3 fps camera frame |
| 640×480 | 327.9 ms | 3.05 | — |
| 864×648 (864-trained) | 594 ms | 1.68 | 1.30 Hz |
1import onnxruntime as ort, numpy as np, cv2
2sess = ort.InferenceSession("student_512x384.int8.onnx", providers=["CPUExecutionProvider"])
3img = cv2.imread("frame.jpg")[:, :, ::-1] # RGB, undistorted
4x = cv2.resize(img, (512, 384)).astype(np.float32) / 255.0
5x = ((x - [0.485, 0.456, 0.406]) / [0.229, 0.224, 0.225]).transpose(2, 0, 1)[None].astype(np.float32)
6cls = sess.run(None, {"image": x})[0][0].argmax(0) # {0 obstacle, 1 water, 2 sky}lraspp_mobilenet_v3_large (BSD-3, ImageNet-pretrained).
Training data: LaRS (research/non-commercial — derived weights inherit its
terms) + teacher pseudo-labels from
NexusDwin/sailswarm-ewasr-lars
(itself LaRS-derived). Verify all licences before any commercial or
redistribution use.1@InProceedings{Zust2023LaRS,
2 title={LaRS: A Diverse Panoptic Maritime Obstacle Detection Dataset and Benchmark},
3 author={{\v{Z}}ust, Lojze and Per{\v{s}}, Janez and Kristan, Matej},
4 booktitle={International Conference on Computer Vision (ICCV)},
5 year={2023}
6}