diff --git a/docs/book/cosypose/inference.md b/docs/book/cosypose/inference.md index 3a0e3b41..3ffbef83 100644 --- a/docs/book/cosypose/inference.md +++ b/docs/book/cosypose/inference.md @@ -1,6 +1,6 @@ # Inference -Here are provided the minimal commands you have to run in order to run the inference of CosyPose. You need to set up the environment variable `$HAPPYPOSE_DATA_DIR` as explained in the README. +Here are provided the minimal commands you have to run in order to run the inference of CosyPose on the barbecu-sauce example. You need to set up the environment variable `$HAPPYPOSE_DATA_DIR` as explained in the README. ## 1. Download pre-trained pose estimation models @@ -11,26 +11,19 @@ python -m happypose.toolbox.utils.download --cosypose_models \ coarse-bop-hope-pbr--225203 \ refiner-bop-hope-pbr--955392 ``` - -## 2. Download YCB-V Dataset - -```sh -python -m happypose.toolbox.utils.download --bop_dataset=ycbv -``` - -## 3. Download the example +## 2. Download the example data ```sh python -m happypose.toolbox.utils.download --examples barbecue-sauce ``` -## 4. Run the script +## 3. Run the script The example contains default outputs for detection and pose prediction ```sh python -m happypose.pose_estimators.cosypose.cosypose.scripts.run_inference_on_example barbecue-sauce --run-inference --run-detections --vis-detections --vis-poses ``` -## 5. Results +## 4. Results The results are stored in the visualization folder created in the example directory.