Update citynav-full
Browse files- citynav-full/LICENSE_DINOv3.md +66 -0
- citynav-full/README.md +8 -0
- citynav-full/README_zh.md +67 -0
- citynav-full/SHA256SUMS +3 -1
citynav-full/LICENSE_DINOv3.md
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# DINOv3 License
|
| 2 |
+
|
| 3 |
+
*Last Updated: August 19, 2025*
|
| 4 |
+
|
| 5 |
+
**“Agreement”** means the terms and conditions for use, reproduction, distribution and modification of the DINO Materials set forth herein.
|
| 6 |
+
|
| 7 |
+
**“DINO Materials”** means, collectively, Documentation and the models, software and algorithms, including machine-learning model code, trained model weights, inference-enabling code, training-enabling code, fine-tuning enabling code, and other elements of the foregoing distributed by Meta and made available under this Agreement.
|
| 8 |
+
|
| 9 |
+
**“Documentation”** means the specifications, manuals and documentation accompanying
|
| 10 |
+
DINO Materials distributed by Meta.
|
| 11 |
+
|
| 12 |
+
**“Licensee”** or **“you”** means you, or your employer or any other person or entity (if you are entering into this Agreement on such person or entity’s behalf), of the age required under applicable laws, rules or regulations to provide legal consent and that has legal authority to bind your employer or such other person or entity if you are entering in this Agreement on their behalf.
|
| 13 |
+
|
| 14 |
+
**“Meta”** or **“we”** means Meta Platforms Ireland Limited (if you are located in or, if you are an entity, your principal place of business is in the EEA or Switzerland) or Meta Platforms, Inc. (if you are located outside of the EEA or Switzerland).
|
| 15 |
+
|
| 16 |
+
**“Sanctions”** means any economic or trade sanctions or restrictions administered or enforced by the United States (including the Office of Foreign Assets Control of the U.S. Department of the Treasury (“OFAC”), the U.S. Department of State and the U.S. Department of Commerce), the United Nations, the European Union, or the United Kingdom.
|
| 17 |
+
|
| 18 |
+
**“Trade Controls”** means any of the following: Sanctions and applicable export and import controls.
|
| 19 |
+
|
| 20 |
+
By clicking “I Accept” below or by using or distributing any portion or element of the DINO Materials, you agree to be bound by this Agreement.
|
| 21 |
+
|
| 22 |
+
## 1. License Rights and Redistribution.
|
| 23 |
+
|
| 24 |
+
a. <ins>Grant of Rights</ins>. You are granted a non-exclusive, worldwide, non-transferable and royalty-free limited license under Meta’s intellectual property or other rights owned by Meta embodied in the DINO Materials to use, reproduce, distribute, copy, create derivative works of, and make modifications to the DINO Materials.
|
| 25 |
+
|
| 26 |
+
b. <ins>Redistribution and Use</ins>.
|
| 27 |
+
|
| 28 |
+
i. Distribution of DINO Materials, and any derivative works thereof, are subject to the terms of this Agreement. If you distribute or make the DINO Materials, or any derivative works thereof, available to a third party, you may only do so under the terms of this Agreement and you shall provide a copy of this Agreement with any such DINO Materials.
|
| 29 |
+
|
| 30 |
+
ii. If you submit for publication the results of research you perform on, using, or otherwise in connection with DINO Materials, you must acknowledge the use of DINO Materials in your publication.
|
| 31 |
+
|
| 32 |
+
iii. Your use of the DINO Materials must comply with applicable laws and regulations, including Trade Control Laws and applicable privacy and data protection laws.
|
| 33 |
+
|
| 34 |
+
iv. Your use of the DINO Materials will not involve or encourage others to reverse engineer, decompile or discover the underlying components of the DINO Materials.
|
| 35 |
+
|
| 36 |
+
v. You are not the target of Trade Controls and your use of DINO Materials must comply with Trade Controls. You agree not to use, or permit others to use, DINO Materials for any activities subject to the International Traffic in Arms Regulations (ITAR) or end uses prohibited by Trade Controls, including those related to military or warfare purposes, nuclear industries or applications, espionage, or the development or use of guns or illegal weapons.
|
| 37 |
+
|
| 38 |
+
## 2. User Support.
|
| 39 |
+
|
| 40 |
+
Your use of the DINO Materials is done at your own discretion; Meta does not process any information nor provide any service in relation to such use. Meta is under no obligation to provide any support services for the DINO Materials. Any support provided is “as is”, “with all faults”, and without warranty of any kind.
|
| 41 |
+
|
| 42 |
+
## 3. Disclaimer of Warranty.
|
| 43 |
+
|
| 44 |
+
UNLESS REQUIRED BY APPLICABLE LAW, THE DINO MATERIALS AND ANY OUTPUT AND RESULTS THEREFROM ARE PROVIDED ON AN “AS IS” BASIS, WITHOUT WARRANTIES OF ANY KIND, AND META DISCLAIMS ALL WARRANTIES OF ANY KIND, BOTH EXPRESS AND IMPLIED, INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE. YOU ARE SOLELY RESPONSIBLE FOR DETERMINING THE APPROPRIATENESS OF USING OR REDISTRIBUTING THE DINO MATERIALS AND ASSUME ANY RISKS ASSOCIATED WITH YOUR USE OF THE DINO MATERIALS AND ANY OUTPUT AND RESULTS.
|
| 45 |
+
|
| 46 |
+
## 4. Limitation of Liability.
|
| 47 |
+
|
| 48 |
+
IN NO EVENT WILL META OR ITS AFFILIATES BE LIABLE UNDER ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, TORT, NEGLIGENCE, PRODUCTS LIABILITY, OR OTHERWISE, ARISING OUT OF THIS AGREEMENT, FOR ANY LOST PROFITS OR ANY DIRECT OR INDIRECT, SPECIAL, CONSEQUENTIAL, INCIDENTAL, EXEMPLARY OR PUNITIVE DAMAGES, EVEN IF META OR ITS AFFILIATES HAVE BEEN ADVISED OF THE POSSIBILITY OF ANY OF THE FOREGOING.
|
| 49 |
+
|
| 50 |
+
## 5. Intellectual Property.
|
| 51 |
+
|
| 52 |
+
a. Subject to Meta’s ownership of DINO Materials and derivatives made by or for Meta, with respect to any derivative works and modifications of the DINO Materials that are made by you, as between you and Meta, you are and will be the owner of such derivative works and modifications.
|
| 53 |
+
|
| 54 |
+
b. If you institute litigation or other proceedings against Meta or any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the DINO Materials, outputs or results, or any portion of any of the foregoing, constitutes infringement of intellectual property or other rights owned or licensable by you, then any licenses granted to you under this Agreement shall terminate as of the date such litigation or claim is filed or instituted. You will indemnify and hold harmless Meta from and against any claim by any third party arising out of or related to your use or distribution of the DINO Materials.
|
| 55 |
+
|
| 56 |
+
## 6. Term and Termination.
|
| 57 |
+
|
| 58 |
+
The term of this Agreement will commence upon your acceptance of this Agreement or access to the DINO Materials and will continue in full force and effect until terminated in accordance with the terms and conditions herein. Meta may terminate this Agreement if you are in breach of any term or condition of this Agreement. Upon termination of this Agreement, you shall delete and cease use of the DINO Materials. Sections 3, 4 and 7 shall survive the termination of this Agreement.
|
| 59 |
+
|
| 60 |
+
## 7. Governing Law and Jurisdiction.
|
| 61 |
+
|
| 62 |
+
This Agreement will be governed and construed under the laws of the State of California without regard to choice of law principles, and the UN Convention on Contracts for the International Sale of Goods does not apply to this Agreement. The courts of California shall have exclusive jurisdiction of any dispute arising out of this Agreement.
|
| 63 |
+
|
| 64 |
+
## 8. Modifications and Amendments.
|
| 65 |
+
|
| 66 |
+
Meta may modify this Agreement from time to time; provided that they are similar in spirit to the current version of the Agreement, but may differ in detail to address new problems or concerns. All such changes will be effective immediately. Your continued use of the DINO Materials after any modification to this Agreement constitutes your agreement to such modification. Except as provided in this Agreement, no modification or addition to any provision of this Agreement will be binding unless it is in writing and signed by an authorized representative of both you and Meta.
|
citynav-full/README.md
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
# CityNav language-goal aerial navigation, full training data
|
| 2 |
|
| 3 |
CityNav aerial navigation: a drone starts above a city scene and must fly to the object named
|
|
@@ -72,3 +76,7 @@ from fixed paths:
|
|
| 72 |
|
| 73 |
The training code is in the GitHub repository under `train/citynav-full/`. `SHA256SUMS` lists
|
| 74 |
every file of this folder.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[English](README.md) | [简体中文](README_zh.md)
|
| 2 |
+
|
| 3 |
+
Paper: [arXiv:2610.18845](https://arxiv.org/abs/2610.18845) · Code: [Yokoya-Lab-UTokyo/RSI4EO](https://github.com/Yokoya-Lab-UTokyo/RSI4EO)
|
| 4 |
+
|
| 5 |
# CityNav language-goal aerial navigation, full training data
|
| 6 |
|
| 7 |
CityNav aerial navigation: a drone starts above a city scene and must fly to the object named
|
|
|
|
| 76 |
|
| 77 |
The training code is in the GitHub repository under `train/citynav-full/`. `SHA256SUMS` lists
|
| 78 |
every file of this folder.
|
| 79 |
+
|
| 80 |
+
## License
|
| 81 |
+
|
| 82 |
+
The weights in this folder are released under [CC BY-NC 4.0](https://creativecommons.org/licenses/by-nc/4.0/), and the code under the MIT License. The model uses DINOv3 ViT-L/16 SAT-493M, so its use is also subject to the [DINOv3 License](https://github.com/facebookresearch/dinov3/blob/main/LICENSE.md); a copy is in `LICENSE_DINOv3.md`. Other pretrained models and the datasets keep their own licenses.
|
citynav-full/README_zh.md
ADDED
|
@@ -0,0 +1,67 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[English](README.md) | [简体中文](README_zh.md)
|
| 2 |
+
|
| 3 |
+
论文:[arXiv:2610.18845](https://arxiv.org/abs/2610.18845) · 代码:[Yokoya-Lab-UTokyo/RSI4EO](https://github.com/Yokoya-Lab-UTokyo/RSI4EO)
|
| 4 |
+
|
| 5 |
+
# CityNav 语言目标空中导航(全部训练数据)
|
| 6 |
+
|
| 7 |
+
CityNav 空中导航:无人机从城市场景上空出发,借助场景的卫星栅格、地标标注和无人机自身的相机视图,飞到自然语言描述中指明的物体处(例如 "the white car parked next to the red-roofed building",即停在红色屋顶建筑旁的白色汽车)。无人机停在距目标 20 m 以内即算该回合成功。训练数据:24 个场景上的 22,001 个训练回合。评分:6 个未见过的场景上 5,311 个测试回合的成功率(SR)。
|
| 8 |
+
|
| 9 |
+
## 模型
|
| 10 |
+
|
| 11 |
+
策略包含四个需要学习的部分:
|
| 12 |
+
|
| 13 |
+
* 空间先验(小型 MLP):把描述的语言特征(来自冻结的 Qwen3-VL-2B)和地标几何映射为目标可能位置的热力图;
|
| 14 |
+
* 视觉精修器:用卫星栅格的 DINOv3 ViT-L/16 SAT-493M 特征对这张热力图重新加权;
|
| 15 |
+
* Qwen3-VL-8B-Instruct LoRA 适配器:读取栅格裁剪块和描述,预测目标坐标;
|
| 16 |
+
* 带混合密度头的 Qwen3-VL-4B-Instruct LoRA 适配器(1,280 像素输入):预测目标位置的概率密度,用于描述中指明了车辆的情况。
|
| 17 |
+
|
| 18 |
+
控制器把这两个模型与先验结合,让无人机飞向最可能的位置,然后停下。策略的设置就是 `run.sh` 中的参数。
|
| 19 |
+
|
| 20 |
+
| | |
|
| 21 |
+
|---|---|
|
| 22 |
+
| 测试 SR | 0.6247(论文报告值 0.6238);NE 30.5 m,OSR 0.710,SPL 0.568 |
|
| 23 |
+
| 在一块 GB200 GPU 上推理 5,311 个测试回合 | 71 分钟,显存峰值 49 GB |
|
| 24 |
+
|
| 25 |
+
## 文件
|
| 26 |
+
|
| 27 |
+
| 路径 | 内容 |
|
| 28 |
+
|---|---|
|
| 29 |
+
| `run.sh` | 入口 |
|
| 30 |
+
| `visual_policy.py`、`policy.py`、`controller.py`、`decisions.py` | 策略和飞行控制 |
|
| 31 |
+
| `model.py`、`unet_refiner.py`、`mdn.py`、`vlm.py`、`vlm_data.py`、`patch_localizer.py`、`mosaic.py`、`common.py` | 网络和输入准备 |
|
| 32 |
+
| `encode_text.py`、`encode_vision.py` | 语言特征和栅格特征提取 |
|
| 33 |
+
| `artifacts/prior.pt` | 空间先验 |
|
| 34 |
+
| `artifacts/visual_masked_all.pt` | 视觉精修器 |
|
| 35 |
+
| `artifacts/vlm8_clean_all_epoch2/` | Qwen3-VL-8B LoRA 适配器(坐标) |
|
| 36 |
+
| `artifacts/mdn_highres_all500/` | Qwen3-VL-4B LoRA 适配器和混合密度头 |
|
| 37 |
+
|
| 38 |
+
## 输入和输出
|
| 39 |
+
|
| 40 |
+
```
|
| 41 |
+
bash run.sh INPUT_DIR OUTPUT_DIR
|
| 42 |
+
```
|
| 43 |
+
|
| 44 |
+
* `INPUT_DIR/episodes.json`:要飞行的回合(场景、起始位姿、描述)。
|
| 45 |
+
* `INPUT_DIR/scenes.json`:场景(卫星栅格、地标标注)。
|
| 46 |
+
* `INPUT_DIR/sim.sock`:为这些回合运行的 CityNav 模拟器的 socket。策略通过它发送移动指令,模拟器记录每个回合的结果。
|
| 47 |
+
* `OUTPUT_DIR`:各进程的日志。
|
| 48 |
+
|
| 49 |
+
脚本在每块可见的 GPU 上启动一个策略进程,各进程分批领取回合,直到全部处理完。
|
| 50 |
+
|
| 51 |
+
## 依赖
|
| 52 |
+
|
| 53 |
+
Python 3.12、带 CUDA 的 PyTorch 2.x、`transformers`、`peft`、`opencv-python`、`joblib`、`numpy`、`Pillow`,以及 CityNav 模拟器包。模型从固定路径读取预训练骨干网络:
|
| 54 |
+
|
| 55 |
+
| 路径 | 模型 | 来源 |
|
| 56 |
+
|---|---|---|
|
| 57 |
+
| `/opt/checkpoints/hf/Qwen3-VL-2B-Instruct/` | Qwen3-VL-2B-Instruct | [Qwen/Qwen3-VL-2B-Instruct](https://huggingface.co/Qwen/Qwen3-VL-2B-Instruct) |
|
| 58 |
+
| `/opt/checkpoints/hf/Qwen3-VL-4B-Instruct/` | Qwen3-VL-4B-Instruct | [Qwen/Qwen3-VL-4B-Instruct](https://huggingface.co/Qwen/Qwen3-VL-4B-Instruct) |
|
| 59 |
+
| `/opt/checkpoints/hf/Qwen3-VL-8B-Instruct/` | Qwen3-VL-8B-Instruct | [Qwen/Qwen3-VL-8B-Instruct](https://huggingface.co/Qwen/Qwen3-VL-8B-Instruct) |
|
| 60 |
+
| `/opt/checkpoints/hf/dinov3-vitl16-pretrain-sat493m/` | DINOv3 ViT-L/16,SAT-493M | [facebook/dinov3-vitl16-pretrain-sat493m](https://huggingface.co/facebook/dinov3-vitl16-pretrain-sat493m) |
|
| 61 |
+
| `/opt/citynav/` | CityNav 模拟器和几何工具包 | CityNav |
|
| 62 |
+
|
| 63 |
+
训练代码在 GitHub 仓库的 `train/citynav-full/` 下。`SHA256SUMS` 列出了本文件夹中的所有文件。
|
| 64 |
+
|
| 65 |
+
## 许可
|
| 66 |
+
|
| 67 |
+
本文件夹中的权重以 [CC BY-NC 4.0](https://creativecommons.org/licenses/by-nc/4.0/) 发布,代码以 MIT 许可发布。模型用到了 DINOv3 ViT-L/16 SAT-493M,使用时还须遵守 [DINOv3 License](https://github.com/facebookresearch/dinov3/blob/main/LICENSE.md),许可原文见 `LICENSE_DINOv3.md`。其他预训练模型和数据集沿用各自的许可。
|
citynav-full/SHA256SUMS
CHANGED
|
@@ -1,4 +1,6 @@
|
|
| 1 |
-
|
|
|
|
|
|
|
| 2 |
c1f25ac5e43079bfbfde289f1ec9f950618a1c4edaef6b3adaabd5addea7f089 artifacts/mdn_highres_all500/adapter_config.json
|
| 3 |
65191f61247d17f7ea4de184288736d16d3d57b37fbe03196e32315cef7dec2a artifacts/mdn_highres_all500/adapter_model.safetensors
|
| 4 |
04725d6e0266abd5334817aa4fb01d4b9d5c4ae78c588a3443ebe05afa4a5514 artifacts/mdn_highres_all500/head.pt
|
|
|
|
| 1 |
+
25d122eb8f5b880fd23c736fb6ea8018ee45c12237e00b8a86d14c653904999e LICENSE_DINOv3.md
|
| 2 |
+
7adcbe19765c3638f55a8851b4c422b01ff9647ca5792734f71df5489abe12ff README.md
|
| 3 |
+
a7bfc3a0546303692d6629dedcbda941bcfa05d02d4b2ed605a6eb041193ebf3 README_zh.md
|
| 4 |
c1f25ac5e43079bfbfde289f1ec9f950618a1c4edaef6b3adaabd5addea7f089 artifacts/mdn_highres_all500/adapter_config.json
|
| 5 |
65191f61247d17f7ea4de184288736d16d3d57b37fbe03196e32315cef7dec2a artifacts/mdn_highres_all500/adapter_model.safetensors
|
| 6 |
04725d6e0266abd5334817aa4fb01d4b9d5c4ae78c588a3443ebe05afa4a5514 artifacts/mdn_highres_all500/head.pt
|