Model card
Browse files
README.md
ADDED
|
@@ -0,0 +1,63 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: other
|
| 3 |
+
license_name: hm3d-research
|
| 4 |
+
license_link: https://matterport.com/matterport-end-user-license-agreement-academic-use-model-data
|
| 5 |
+
library_name: pytorch
|
| 6 |
+
pipeline_tag: robotics
|
| 7 |
+
tags:
|
| 8 |
+
- robotics
|
| 9 |
+
- embodied-ai
|
| 10 |
+
- object-goal-navigation
|
| 11 |
+
- habitat
|
| 12 |
+
---
|
| 13 |
+
|
| 14 |
+
# CoReNav: ObjectNav policy for real-robot deployment
|
| 15 |
+
|
| 16 |
+
Policy weights for **CoReNav**, an object-goal navigation agent: from an RGB-D camera and odometry it
|
| 17 |
+
searches an indoor space for one of six object categories (chair, bed, plant, toilet, tv_monitor, sofa)
|
| 18 |
+
and outputs discrete actions (move forward 0.25 m, turn 30°, stop).
|
| 19 |
+
|
| 20 |
+
Code, installation and the robot interface: **https://github.com/xiaopanz/corenav-deploy**
|
| 21 |
+
|
| 22 |
+
## Files
|
| 23 |
+
|
| 24 |
+
| File | Description |
|
| 25 |
+
|---|---|
|
| 26 |
+
| `weights/ckpt24_deploy.pth` | policy network (70M parameters, PyTorch, loads with `weights_only=True`) |
|
| 27 |
+
|
| 28 |
+
The semantic segmenter used at run time is EoMT
|
| 29 |
+
([`tue-mps/ade20k_semantic_eomt_large_512`](https://huggingface.co/tue-mps/ade20k_semantic_eomt_large_512),
|
| 30 |
+
MIT), downloaded separately by the code.
|
| 31 |
+
|
| 32 |
+
## Usage
|
| 33 |
+
|
| 34 |
+
```bash
|
| 35 |
+
git clone https://github.com/xiaopanz/corenav-deploy.git && cd corenav-deploy
|
| 36 |
+
pip install -r requirements.txt && pip install -e .
|
| 37 |
+
huggingface-cli download xzhang975/corenav-deploy --include "weights/*" --local-dir .
|
| 38 |
+
```
|
| 39 |
+
|
| 40 |
+
```python
|
| 41 |
+
from corenav_deploy import CoReNavAgent
|
| 42 |
+
|
| 43 |
+
agent = CoReNavAgent("weights/ckpt24_deploy.pth", device="cuda")
|
| 44 |
+
agent.reset("chair")
|
| 45 |
+
while not agent.done:
|
| 46 |
+
action = agent.act(rgb, depth_m, (x, y, yaw)) # 640x480 RGB uint8, depth in metres, odometry pose
|
| 47 |
+
if action != "STOP":
|
| 48 |
+
robot.execute(action)
|
| 49 |
+
```
|
| 50 |
+
|
| 51 |
+
Camera: 640 × 480, 79° horizontal field of view, mounted 0.88 m above the floor, level. See the GitHub
|
| 52 |
+
README for the full interface (depth, odometry conventions, actions, ROS 2 bridge).
|
| 53 |
+
|
| 54 |
+
## Training
|
| 55 |
+
|
| 56 |
+
Trained in the Habitat simulator on HM3D ObjectNav: imitation-learned SemNav RGB + semantic backbone,
|
| 57 |
+
fine-tuned with reinforcement learning using a foundation-model-shaped reward and a lightweight
|
| 58 |
+
semantic map (MapLite). This checkpoint was trained for 48M frames.
|
| 59 |
+
|
| 60 |
+
## License
|
| 61 |
+
|
| 62 |
+
The weights were trained on the HM3D dataset and are provided for research, non-commercial use under
|
| 63 |
+
the HM3D terms. The code is GPL-3.0.
|