Skip to content

Commit

Permalink
Fix API installation and execution in README
Browse files Browse the repository at this point in the history
  • Loading branch information
ojh6404 committed Aug 5, 2024
1 parent b67a7b5 commit 63012b2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ curl -fsSL https://pixi.sh/install.sh | bash
# 2. Checkout this repository
git clone https://github.com/facebookresearch/hot3d.git
cd hot3d
cd hot3d/hot3d
# 3. Call `pixi install` to setup the environment
pixi install
Expand Down Expand Up @@ -78,7 +78,7 @@ python3 -m pip install 'git+https://github.com/mattloper/chumpy'
#### A quick introduction to the [CONDA environment](https://docs.conda.io/projects/conda/en/4.6.1/user-guide/tasks/manage-environments.html#managing-environments)

- Activate the Conda HOT3D environment by executing `conda activate hot3d`.
- Exit the Conda HOT3D environment using `source deactivate`.
- Exit the Conda HOT3D environment using `conda deactivate`.
- Remove the Conda HOT3D environment by executing `conda remove --name hot3d --all`.


Expand Down Expand Up @@ -131,7 +131,7 @@ python3 dataset_downloader_base_main.py -c Hot3DQuest_download_urls.json -o ../d

### Viewing objects and headset pose trajectory
```
python3 viewer --sequence_folder <PATH>/hot3d_dataset/P0003_c701bd11 --object_library_folder <PATH>/hot3d_dataset/assets/
python3 viewer.py --sequence_folder <PATH>/hot3d_dataset/P0003_c701bd11 --object_library_folder <PATH>/hot3d_dataset/assets/
```

When using `pixi`, you can directly launch the viewer without explicitly activating the environment by using the following command:
Expand All @@ -146,7 +146,7 @@ Hand pose annotations in HOT3D are provided in the [UmeTrack](https://github.com
#### UmeTrack

```
python3 viewer --sequence_folder <PATH>/hot3d_dataset/P0003_c701bd11--object_library_folder <PATH>/hot3d_dataset/assets --hand_type UMETRACK
python3 viewer.py --sequence_folder <PATH>/hot3d_dataset/P0003_c701bd11--object_library_folder <PATH>/hot3d_dataset/assets --hand_type UMETRACK
```

#### MANO
Expand All @@ -155,7 +155,7 @@ Hand annotations in the MANO format can be downloaded after accepting their [lic
- HOT3D only requires the `MANO_RIGHT.pkl` and `MANO_LEFT.pkl` files for loading and rendering of hand poses. These files can be obtained from the `mano_v1_2.zip` file located in the "Models & Code" section of the `MANO` website. After downloading, extract the zip file to your local disk, and the `*.pkl` files can be found at the following path: `mano_v1_2/models/`.

```
python3 viewer --sequence_folder <PATH>/hot3d_dataset/P0003_c701bd11 --object_library_folder <PATH>/hot3d_dataset/assets --mano_model_folder <PATH>/mano_v1_2/models/ --hand_type MANO
python3 viewer.py --sequence_folder <PATH>/hot3d_dataset/P0003_c701bd11 --object_library_folder <PATH>/hot3d_dataset/assets --mano_model_folder <PATH>/mano_v1_2/models/ --hand_type MANO
```

## Step 5: Run the python notebook tutorial
Expand Down

0 comments on commit 63012b2

Please sign in to comment.