File size: 1,384 Bytes
a7aea10
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
This is the data engine for processing training data of Voyager.


## ๐Ÿ› ๏ธ Dependencies and Installation

Begin by cloning required repositories:
```shell
# VGGT
git clone https://github.com/facebookresearch/vggt.git
touch vggt/vggt/__init__.py  # create an empty init.py

# MoGe
git clone https://github.com/microsoft/MoGe.git

# Metric3D
git clone https://github.com/YvanYin/Metric3D.git
# comment out line 8-12 in Metric3D/mono/utils/comm.py
# add from mono.model.backbones import * to Metric3D/mono/utils/comm.py
```

Install required dependencies:

```shell
conda create -n data_engine python=3.10
conda activate data_engine
pip install -r requirements.txt
```

## ๐Ÿ› ๏ธ Install Environment

```shell
# project path
cd data_engine

# VGGT
git clone https://github.com/facebookresearch/vggt.git
touch vggt/vggt/__init__.py

# MoGe
git clone https://github.com/microsoft/MoGe.git

# Metric3D
git clone https://github.com/YvanYin/Metric3D.git
# !!! important steps:
# comment out line 8-12 in Metric3D/mono/utils/comm.py
# and then add from mono.model.backbones import * to Metric3D/mono/utils/comm.py

# pip install environment
conda create -n voyager_dataengine python=3.10
conda activate voyager_dataengine
pip install -r requirements.txt

# run dataEngine
bash dataEngine.sh
```

## ๐Ÿ”‘ Run Data Engine

We provide a script to run the data engine.
```shell
bash run.sh
```