DIIF - Trained Log-End Detection Models
This record contains trained object-detection models developed within the Digital Innovation In the Forest value chain (DIIF) project. The models detect the end face of a log. The single object-detection class is: 0 = logend The models were trained using the dataset and reproducibility code published separately as: DIIF — Log-End Image Dataset and Reproducibility Code [10.5281/zenodo.22894169] The dataset combines locally acquired log-end images with selected images from published external datasets. The external source images are documented in the training dataset record and can be restored using the accompanying reproducibility tools. Models included This record contains two trained model runs: Faster R-CNN / Detectron2 YOLOv8s The model packages retain the project naming and associated configuration and metadata files. ONNX models and inference Both model families are provided as ONNX exports, but they use different architectures and input/output formats. Their inference scripts are therefore different and are not interchangeable. Detectron2 ONNX The Detectron2 export expects an input tensor named: image The input is a float32 BGR image converted from HWC to CHW. The Detectron2 workflow does not apply YOLO-style /255 normalization. The exported model returns bounding boxes, class IDs, scores, and image-size information. Use the Detectron2 folder inference script: python code/detectron2 onnx inference folder.py \ model outputs/detectron2/logend faster rcnn r50 fpn/model final.onnx \ input-dir annotated dataset/images/test \ output-dir outputs/detectron2/logend faster rcnn r50 fpn/predict onnx The script processes all supported images in the input directory and saves annotated output images. YOLOv8 ONNX The YOLOv8 export uses dynamic input dimensions and the training/export size of 960 × 960 for inference. Input images are processed using aspect-ratio-preserving letterboxing rather than being stretched directly to a square.
- Link
- https://zenodo.org/records/22894466
- Found by
- Zenodo
- Authors
- Adopticum, Bomark, Peter, Holmlund, Jonas
- Categories
- dataset
- Published
- 2026-09-22
- Last seen by the radar
- 2026-10-15
- Downloads
- 5
- Views
- 0
- Radar score
- 40.39 / 100 (how it is scored)
- Why it scored so
- Matched: dataset, training data; Recency discount: updated event ×0.5; Primary record: Zenodo
- Related links
- https://doi.org/10.5281/zenodo.22894466