-
Notifications
You must be signed in to change notification settings - Fork 49
MMScan devkit #88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MMScan devkit #88
Changes from 13 commits
64bedfa
04788ac
1c1ed5e
6c4092e
e956f6e
772c3aa
6c76334
47092fc
f5acac1
7d0c664
ba839b5
a84d590
11c5c4e
2212495
445c61b
8a96384
e81e4ca
7f72fa8
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -4,3 +4,4 @@ | |
| # .*/utils.py | ||
|
|
||
| .*/__init__.py | ||
| models/ | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,3 @@ | ||
| yapf -r -i embodiedscan/ configs/ tests/ tools/ | ||
| isort embodiedscan/ configs/ tests/ tools/ | ||
| yapf -r -i mmscan/ data_preparation/ | ||
| isort mmscan/ data_preparation/ | ||
| flake8 . |
Large diffs are not rendered by default.
This file was deleted.
mxh1999 marked this conversation as resolved.
Show resolved
Hide resolved
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,51 @@ | ||
| ### Prepare MMscan info files. | ||
|
|
||
| Given the licenses of respective raw datasets, we recommend users download the raw data from their official websites and then organize them following the below guide. | ||
| Detailed steps are shown as follows. | ||
|
|
||
| 1. Download ScanNet v2 data [HERE](https://github.com/ScanNet/ScanNet). Link or move the folder to this level of directory. | ||
|
|
||
| 2. Download 3RScan data [HERE](https://github.com/WaldJohannaU/3RScan). Link or move the folder to this level of directory. | ||
|
|
||
| 3. Download Matterport3D data [HERE](https://github.com/niessner/Matterport). Link or move the folder to this level of directory. | ||
|
|
||
| 4. Organize the file structure. You are recommanded to create a soft link to the raw data folder under `mmsan_data/embodiedscan-split/data`. | ||
|
|
||
| ``` | ||
| mmsan_data/embodiedscan-split/data/ | ||
|
||
| ├── scannet/ | ||
| │ ├── scans | ||
| │ │ ├── <scene_id> | ||
| │ │ ├── ... | ||
| ├── 3rscan/ | ||
| │ ├── <scene_id> | ||
| │ ├── ... | ||
| ├── matterport3d/ | ||
| │ ├── <scene_id> | ||
| │ ├── ... | ||
| ``` | ||
|
|
||
| Additionally, create a `process_pcd` folder under `mmsan_data/embodiedscan-split` to store the results. Similarly, we recommend using a symbolic link, as the total file size might be a little large (approximately 21GB) | ||
|
|
||
| PS: If you have followed the embodiedscan tutorial to organize the data, you can skip these steps and link or copy the `data` folder to | ||
| `mmsan_data/embodiedscan-split`. | ||
|
|
||
| After all the raw data is organized, the directory structure should be as below: | ||
|
|
||
| ``` | ||
| mmscan_data | ||
| ├── embodiedscan-split/ | ||
| │ ├── data/ | ||
| │ ├── process_pcd/ | ||
| │ ├── embodiedscan-v1/ | ||
| │ ├── embodiedscan-v2/ | ||
| ├── MMScan-beta-release | ||
|
|
||
| ``` | ||
|
|
||
| 5. Read raw files and generate processed point cloud files, by running the following scripts. | ||
|
|
||
| ```bash | ||
| python process_all_scan.py --nproc 8 | ||
| # If your various file directories do not match the configuration settings, define them using -- | ||
| ``` | ||
Uh oh!
There was an error while loading. Please reload this page.