Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,120 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
library_name: transformers
|
| 6 |
+
tags:
|
| 7 |
+
- cv
|
| 8 |
+
- robotics
|
| 9 |
+
---
|
| 10 |
+
# π Celestial-Mini: Lightweight Object Detection Model (TF)
|
| 11 |
+
|
| 12 |
+
[](https://www.tensorflow.org/)
|
| 13 |
+
[]()
|
| 14 |
+
[]()
|
| 15 |
+
|
| 16 |
+
**Celestial-Mini** is a compact, high-performance object detection model designed to recognize up to **80 distinct object classes**. Built with **TensorFlow**, it balances speed and accuracy for deployment in edge devices and real-time applications.
|
| 17 |
+
|
| 18 |
+
---
|
| 19 |
+
|
| 20 |
+
## π Key Features
|
| 21 |
+
|
| 22 |
+
- π Detects up to **80 different object categories**
|
| 23 |
+
- β‘ Optimized for **real-time inference**
|
| 24 |
+
- π§ Built on a **lightweight backbone**
|
| 25 |
+
- π¦ TensorFlow SavedModel format for easy deployment
|
| 26 |
+
- π§° Compatible with TensorFlow Lite and TensorFlow.js
|
| 27 |
+
|
| 28 |
+
---
|
| 29 |
+
|
| 30 |
+
## π§ͺ Intended Use
|
| 31 |
+
|
| 32 |
+
Celestial-Mini is designed for:
|
| 33 |
+
|
| 34 |
+
- Robotics and drones
|
| 35 |
+
- Smart home devices
|
| 36 |
+
- Augmented Reality (AR) systems
|
| 37 |
+
- Mobile applications
|
| 38 |
+
- Educational and prototyping environments
|
| 39 |
+
|
| 40 |
+
---
|
| 41 |
+
|
| 42 |
+
## π· Object Classes
|
| 43 |
+
|
| 44 |
+
Includes detection support for the standard 80-class COCO-style object categories such as:
|
| 45 |
+
|
| 46 |
+
```
|
| 47 |
+
person, bicycle, car, motorcycle, airplane, bus, train, truck, boat, traffic light, ...
|
| 48 |
+
```
|
| 49 |
+
|
| 50 |
+
---
|
| 51 |
+
|
| 52 |
+
## π¦ How to Use
|
| 53 |
+
|
| 54 |
+
```python
|
| 55 |
+
import tensorflow as tf
|
| 56 |
+
|
| 57 |
+
# Load the model
|
| 58 |
+
model = tf.saved_model.load("path/to/celestial-mini")
|
| 59 |
+
|
| 60 |
+
# Run inference
|
| 61 |
+
detections = model(input_tensor)
|
| 62 |
+
```
|
| 63 |
+
|
| 64 |
+
---
|
| 65 |
+
|
| 66 |
+
## π Performance
|
| 67 |
+
|
| 68 |
+
| Metric | Value |
|
| 69 |
+
|----------------|---------------|
|
| 70 |
+
| Classes | 80 |
|
| 71 |
+
| Model Size | ~15MB |
|
| 72 |
+
| Inference Time | < 50ms/image |
|
| 73 |
+
| Framework | TensorFlow |
|
| 74 |
+
|
| 75 |
+
> π Performance may vary depending on hardware and TensorFlow backend optimizations.
|
| 76 |
+
|
| 77 |
+
---
|
| 78 |
+
|
| 79 |
+
## π§ Training & Dataset
|
| 80 |
+
|
| 81 |
+
Celestial-Mini was trained on a custom variant of the **COCO dataset**, emphasizing generalization and real-time inference. Model architecture includes quantization-friendly layers and depthwise separable convolutions.
|
| 82 |
+
|
| 83 |
+
---
|
| 84 |
+
|
| 85 |
+
## π Citation
|
| 86 |
+
|
| 87 |
+
If you use **Celestial-Mini** in your work, please consider citing:
|
| 88 |
+
|
| 89 |
+
```
|
| 90 |
+
@misc{celestialmini2025,
|
| 91 |
+
title={Celestial-Mini: A Lightweight Real-Time Object Detector},
|
| 92 |
+
author={Lang, John},
|
| 93 |
+
year={2025},
|
| 94 |
+
howpublished={\url{https://huggingface.co/langutang/celestial-mini}}
|
| 95 |
+
}
|
| 96 |
+
```
|
| 97 |
+
|
| 98 |
+
---
|
| 99 |
+
|
| 100 |
+
## π¬ Contact & License
|
| 101 |
+
|
| 102 |
+
- π« For questions or collaboration, open an issue or contact the maintainer.
|
| 103 |
+
- βοΈ License: MIT (see LICENSE file for details)
|
| 104 |
+
|
| 105 |
+
---
|
| 106 |
+
|
| 107 |
+
## π Hugging Face Model Hub
|
| 108 |
+
|
| 109 |
+
To load from Hugging Face:
|
| 110 |
+
|
| 111 |
+
```python
|
| 112 |
+
from transformers import AutoFeatureExtractor, TFModelForObjectDetection
|
| 113 |
+
|
| 114 |
+
model = TFModelForObjectDetection.from_pretrained("langutang/celestial-mini")
|
| 115 |
+
extractor = AutoFeatureExtractor.from_pretrained("langutang/celestial-mini")
|
| 116 |
+
```
|
| 117 |
+
|
| 118 |
+
---
|
| 119 |
+
|
| 120 |
+
Transform your edge AI projects with the power of **Celestial-Mini** π
|