/ Модель

Характеристики

Лицензия
MIT
Библиотека
litert
Опубликована
16 окт 2026

flatbug-tflite

Поиск объектовИзображение → bounding_boxes

Русское описание этой модели ещё готовится. Пока можно заглянуть в карточку модели от автора ниже.

226скачиваний за 30 дней0лайковвеса обновлены20 ноя 2026

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

flat-bug N and S, LiteRT (fp16, 640 px) for FaunaPulse

Unofficial conversions of the flat-bug arthropod detector (sizes N and S) to LiteRT .tflite files, made for the FaunaPulse Android app. flat-bug is the work of Svenning et al. (2026), see Original work below. These files are not provided or endorsed by the flat-bug authors.

FaunaPulse is in beta. Tests are ongoing; no large-scale test of these files in the app has been carried out yet. flat-bug was not made specifically for FaunaPulse. It is converted to tflite so that FaunaPulse can be tried with a ready-made detector. It was not trained for live use on natural backgrounds, with insects flying to and visiting flowers. See also Limitations.

Files

FileBytesSHA-256InputPrecisionRole
flatbug-n_640_fp16.tflite5,659,266c111a732ff298a24d42a2a01d11de0f13e1eaa796a87c96a38ef59de6202f9db640 pxfp16detector, flat-bug n
flatbug-n_640_fp16.json609aea66c28d1f660086948a6d4ce6fbf9c42133294aa970683a20441a1473ad7b5export manifest of flat-bug n
flatbug-s_640_fp16.tflite19,968,609360a4cf0c4730412dffd45bdb20928c73ac556b231ca8d922681908dad156fd3640 pxfp16detector, flat-bug s
flatbug-s_640_fp16.json6117c8109dde5b119513ff9633bc0b31efaa741b80ff4a2b52445f5d3f680df88deexport manifest of flat-bug s
  • flatbug-n_640_fp16.tflite: flat-bug N (nano). flatbug-s_640_fp16.tflite: flat-bug S (small), about 3.5 times larger. On our test phone S took about 1.8 times as long as N on the GPU and 2.6 times as long on the CPU (see Checks); other phones give other times.
  • .json: the export manifest of each file: source weights and their SHA-256, the Ultralytics version saved in the source checkpoint (8.3.15) and file sizes. Its script field, tool/detector_export/export_detector.py, is where the export script lived at the time (in the FaunaPulse app repository); it is now detector_export/export_detector.py of fauna-pulse-models.
  • LICENSE: flat-bug's licence (MIT), copied from the authors' repository.

Original work

What it is

  • Network: one class, insect (any terrestrial arthropod). flat-bug finds arthropods; it does not identify them.
  • Changes: the segmentation (outline) branch is removed, so each file is a plain box detector; the box and class layers are untouched. Weights stored as fp16, input 640 x 640. Nothing was retrained.
  • Input: one RGB image [1, 3, 640, 640] (NCHW), float32, values 0..1.
  • Output: the standard Ultralytics YOLO detection tensor [1, 5, 8400] (4 box values and 1 class score per candidate) without NMS (the app does NMS).
  • Embedded metadata: Ultralytics writes class names and input size into the file. Its description ("Ultralytics YOLOv8n-seg model trained on" plus the authors' training path), author ("Ultralytics") and license ("AGPL-3.0 License") fields are default values that the Ultralytics export tool writes into every file; they do not name the model's authors and are not a statement by them (see Original work and Licence).

Checks

  • Accuracy: no large-scale test of these files in FaunaPulse has been carried out yet. Converting a model to .tflite and storing its weights with fewer bits (here fp16) can change its outputs, so no claim is made here about how accurately they find insects when deployed in FaunaPulse (see Limitations).
  • Phone speed (Xiaomi 11T Pro, Snapdragon 888, model time only): N 19 ms per picture on the GPU, 0.65 s on the CPU (2 threads); S 34 ms on the GPU, 1.7 s on the CPU.

Use in FaunaPulse

In FaunaPulse versions after v0.8.0-alpha.1, home screen menu, Download & import models downloads a file from a link pinned to one commit of this repository and checks its SHA-256. With any version you can also download a file here and import it by hand (Import model files…).

How it was made

detector_export/export_detector.py of fauna-pulse-models (CPU only, Ultralytics 8.4.170, 1 October 2026):

python export_detector.py --weights flat_bug_N.pt --name flatbug-n --imgsz 640 --out out
python export_detector.py --weights flat_bug_S.pt --name flatbug-s --imgsz 640 --out out

Limitations

  • flat-bug was trained mostly on top-down pictures of arthropods on flat backgrounds, from plain to somewhat busy (sticky cards, light-trap screens, pitfall samples, scans, lab trays; various imaging systems), cut into 1024 x 1024 px tiles. Its authors call this the model's central domain; only one of the training datasets shows insects on natural backgrounds (citizen-science photos, as described in the preprint, https://doi.org/10.1101/2025.04.08.647223). Insects on flowers and foliage are outside that domain, so missed insects and false boxes may be more frequent there.
  • These files run the network once on a 640 x 640 picture, without flat-bug's multi-scale tiling, so the accuracy reported in the paper cannot be assumed for them.
  • N is the smallest flat-bug model; the preprint reports that the smallest model loses the most on the hardest datasets.
  • Results in FaunaPulse depend on many factors: image quality (focus, motion blur, light, resolution, video compression), how large the insects appear in the picture (distance, zoom, the area of interest), the background, the phone and its camera, and the app's settings (for example the confidence threshold and the input size). Choose between models and sizes on your own footage.

Licence

MIT, the licence of flat-bug: Copyright (c) 2025 Asger Svenning, Quentin Geissmann et al. The full text is in LICENSE, copied from https://github.com/darsa-group/flat-bug/blob/main/LICENSE; keep it with any copy. The authors added this licence "to make it clear that the code and models are actually open source" (https://github.com/darsa-group/flat-bug/pull/120).

flat-bug was trained with Ultralytics YOLO, starting from Ultralytics' pretrained YOLOv8-seg models, and these files were exported with Ultralytics. Ultralytics offers its software and models under AGPL-3.0 or a paid Enterprise License and states that "all Ultralytics YOLO trained models fall under the AGPL-3.0 License by default" (https://www.ultralytics.com/license). So these files are also covered by AGPL-3.0: use them under its terms, or with an Ultralytics Enterprise License (for example for closed-source commercial use). The training dataset is CC BY 4.0.

Citation

If you use these files, please cite the flat-bug paper:

Svenning, A., Mougeot, G., Alison, J., Chevalier, D., Chavez Molina, N., Ong, S.-Q., Bjerge, K., Carrillo, J., Høye, T. T., & Geissmann, Q. (2026). A general method for detection and segmentation of terrestrial arthropods in images. Methods in Ecology and Evolution, 17(3), 727-739. https://doi.org/10.1111/2041-210x.70249

@article{svenning2026flatbug,
  author  = {Svenning, Asger and Mougeot, Guillaume and Alison, Jamie and Chevalier, Daphne and {Chavez Molina}, Nisa and Ong, Song-Quan and Bjerge, Kim and Carrillo, Juli and H{\o}ye, Toke Thomas and Geissmann, Quentin},
  title   = {A general method for detection and segmentation of terrestrial arthropods in images},
  journal = {Methods in Ecology and Evolution},
  year    = {2026},
  volume  = {17},
  number  = {3},
  pages   = {727--739},
  doi     = {10.1111/2041-210x.70249}
}

Also relevant:

  • Training data: Geissmann, Q., & Svenning, A. (2025). flatbug-dataset a compilation of dataset of terrestrial arthropodes on various surfaces [Data set]. Zenodo. https://doi.org/10.5281/zenodo.14761447 (each of its datasets has its own DOI).
  • Code: Svenning, A., Mougeot, G., Alison, J., Chevalier, D., Chavez Molina, N. L., Ong, S.-Q., Bjerge, K., Carrillo, J., Høye, T. T., & Geissmann, Q. (2026). darsa-group/flat-bug (v0.4.1) [Computer software]. Zenodo. https://doi.org/10.5281/zenodo.18164125
  • Training and export software: Jocher, G., Qiu, J., & Chaurasia, A. (2023). Ultralytics YOLO (Version 8.0.0) [Computer software]. https://github.com/ultralytics/ultralytics

Notes

  • Model files in this repository are never replaced: the app pins each download to a commit and checks its SHA-256. New weights get a new file name.
  • The .json manifests, which the app does not download, may be corrected.

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм · litert

Нельзя запустить

Библиотека «litert» рантаймом не поддерживается.

Ревизия весов
05f655e

0 моделей