From 3ba4828278b587f2dad0171b643675a162882379 Mon Sep 17 00:00:00 2001 From: Tai-Wang Date: Tue, 26 Dec 2023 15:11:52 +0800 Subject: [PATCH] Support adjusting the line thickness of visualized boxes and update readme --- README.md | 77 +++++++++++- embodiedscan/explorer.py | 56 +++------ embodiedscan/tutorial.ipynb | 8 ++ embodiedscan/utils/continuous_drawer.py | 10 +- embodiedscan/utils/line_mesh.py | 150 ++++++++++++++++++++++++ embodiedscan/utils/utils.py | 12 ++ 6 files changed, 268 insertions(+), 45 deletions(-) create mode 100644 embodiedscan/utils/line_mesh.py diff --git a/README.md b/README.md index bb47bc9..c82ce7d 100644 --- a/README.md +++ b/README.md @@ -44,6 +44,19 @@ [![demo](assets/demo_fig.png "demo")](https://tai-wang.github.io/embodiedscan) + + +## 📋 Contents + +1. [About](#-about) +2. [News](#-news) +3. [Getting Started](#-getting-started) +4. [Model and Benchmark](#-model-and-benchmark) +5. [TODO List](#-todo-list) +6. [Citation](#-citation) +7. [License](#-license) +8. [Acknowledgements](#-acknowledgements) + ## 🏠 About @@ -62,9 +75,63 @@ Building upon this database, we introduce a baseline framework named Embodied - \[2023-12\] We release the [paper](./assets/EmbodiedScan.pdf) of EmbodiedScan. Please check the [webpage](https://tai-wang.github.io/embodiedscan) and view our demos! -## 🔍 Overview +## 📚 Getting Started + +### Installation -### Model +We test our codes under the following environment: + +- Ubuntu 20.04 +- NVIDIA Driver: 525.147.05 +- CUDA 12.0 +- Python 3.8.18 +- PyTorch 1.11.0+cu113 +- PyTorch3D 0.7.2 + +1. Clone this repository. + +```bash +git clone https://github.com/OpenRobotLab/EmbodiedScan.git +cd EmbodiedScan +``` + +2. Install [PyTorch3D](https://github.com/facebookresearch/pytorch3d/blob/main/INSTALL.md) + +```bash +conda create -n embodiedscan python=3.8 -y # pytorch3d needs python>3.7 +conda activate embodiedscan +# We recommend installing pytorch3d with pre-compiled packages +# For example, to install for Python 3.8, PyTorch 1.11.0 and CUDA 11.3 +# For more information, please refer to https://github.com/facebookresearch/pytorch3d/blob/main/INSTALL.md#2-install-wheels-for-linux +pip install --no-index --no-cache-dir pytorch3d -f https://dl.fbaipublicfiles.com/pytorch3d/packaging/wheels/py38_cu113_pyt1110/download.html +``` + +3. Install EmbodiedScan + +```bash +# We plan to make EmbodiedScan easier to install by "pip install EmbodiedScan". +# Please stay tuned for the future official release. +# Make sure you are under ./EmbodiedScan/ +pip install -e . +``` + +### Data Preparation + +Please download ScanNet, 3RScan and matterport3d from its official website. + +We will release the demo data, re-organized file structure, post-processing script and annotation files in the near future. + +Please stay tuned. + +### Tutorial + +We provide a simple [tutorial](https://github.com/OpenRobotLab/EmbodiedScan/blob/main/embodiedscan/tutorial.ipynb) here as a guideline for the basic analysis and visualization of our dataset. Welcome to try and post your suggestions! + +## 📦 Model and Benchmark + +We will release the code for model training and benchmark with pretrained checkpoints in the 2024 Q1. + +### Model Overview

@@ -91,6 +158,10 @@ Embodied Perceptron accepts RGB-D sequence with any number of views along with t --> +### Benchmark + +Please see the [paper](./assets/EmbodiedScan.pdf) for details of our two benchmarks, fundamental 3D perception and language-grounded benchmarks. This dataset is still scaling up and the benchmark is being polished and extended. Please stay tuned for our recent updates. + ## 📝 TODO List - \[x\] Paper and partial code release. @@ -153,7 +224,7 @@ This work is under the