Skip to content

Commit

Permalink
Merge pull request agimus-project#162 from agimus-project/update-book…
Browse files Browse the repository at this point in the history
…-megapose-eval

Update eval teaserpp
  • Loading branch information
MedericFourmy authored Apr 25, 2024
2 parents 35a7655 + 3af8f07 commit 888f536
Showing 1 changed file with 1 addition and 18 deletions.
19 changes: 1 addition & 18 deletions docs/book/megapose/evaluate.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,28 +2,11 @@

Please make sure you followed the steps relative to the evaluation in the main readme.

## TEASER++

You will first need to install [TEASER++](https://github.com/MIT-SPARK/TEASER-plusplus) if you want to use the depth for MegaPose.
To do so, please run the following commands to install it :

```
# Go to HappyPose root directory
apt install -y cmake libeigen3-dev libboost-all-dev
conda activate happypose
mamba install compilers -c conda-forge
pip install open3d
mkdir /build && cd /build && git clone https://github.com/MIT-SPARK/TEASER-plusplus.git
cd TEASER-plusplus && mkdir build && cd build
cmake -DTEASERPP_PYTHON_VERSION=3.9 .. && make teaserpp_python
cd python && pip install .
```

## Evaluating with Megapose detector
Run a detector part of Megapose pipeline to detect bounding boxes in the image dataset at run-time.

```
python -m happypose.pose_estimators.megapose.scripts.run_full_megapose_eval detector_run_id=bop_pbr coarse_run_id=coarse-rgb-906902141 refiner_run_id=refiner-rgb-653307694 ds_names=[ycbv.bop19,lmo.bop19,tless.bop19,tudl.bop19,icbin.bop19,hb.bop19,itodd.bop19] result_id=detector_1posehyp detection_coarse_types=[["detector","SO3_grid"]] inference.n_pose_hypotheses=1 skip_inference=false run_bop_eval=true
python -m happypose.pose_estimators.megapose.scripts.run_full_megapose_eval detector_run_id=bop_pbr coarse_run_id=coarse-rgb-906902141 refiner_run_id=refiner-rgb-653307694 ds_names=[ycbv.bop19,lmo.bop19,tless.bop19,tudl.bop19,icbin.bop19,hb.bop19,itodd.bop19,hope.bop19] result_id=detector_1posehyp detection_coarse_types=[["detector","SO3_grid"]] inference.n_pose_hypotheses=1 skip_inference=false run_bop_eval=true
```

## Evaluating with external detections
Expand Down

0 comments on commit 888f536

Please # to comment.