-
Notifications
You must be signed in to change notification settings - Fork 139
/
config.py
38 lines (25 loc) · 1.02 KB
/
config.py
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
# Author: Tomas Hodan (hodantom@cmp.felk.cvut.cz)
# Center for Machine Perception, Czech Technical University in Prague
"""Configuration of the BOP Toolkit."""
import os
######## Basic ########
# Folder with the BOP datasets.
if "BOP_PATH" in os.environ:
datasets_path = os.environ["BOP_PATH"]
else:
datasets_path = r"/path/to/bop/datasets"
# Folder with pose results to be evaluated.
results_path = r"/path/to/folder/with/results"
# Folder for the calculated pose errors and performance scores.
eval_path = r"/path/to/eval/folder"
######## Extended ########
# Folder for outputs (e.g. visualizations).
output_path = r"/path/to/output/folder"
# For offscreen C++ rendering: Path to the build folder of bop_renderer (github.com/thodan/bop_renderer).
bop_renderer_path = r"/path/to/bop_renderer/build"
# Executable of the MeshLab server.
meshlab_server_path = r"/path/to/meshlabserver.exe"
# Number of workers for the parallel evaluation of pose errors.
num_workers = 10
# use torch to calculate the errors
use_gpu = False