Zheng Geng, Nan Wang, Shaocong Xu, Bohan Li, Zhaoxi Chen, Chongjie Ye, Sida Peng, Hao Zhao


setup.shTo streamline the setup process, we provide a setup.sh script that automates all installation steps. Follow these instructions to get started:
Before running the setup.sh script, ensure you have the following prerequisites installed on your system:
git, make, cmake, etc.)bash
git clone https://github.com/GZWSAMA/OnePoseviaGen.git
cd OnePoseviaGen
setup.sh script executable:bash
chmod +x setup.sh
setup.sh script:It is recommended to run this script within a fresh conda environment. Here's how you can create and activate a new environment before running the script:
bash
conda create -n OnePoseviaGen python=3.11 -y
conda activate OnePoseviaGen
./setup.sh
The script will handle: - Installing PyTorch with CUDA support. - Installing required dependencies. - Cloning and installing external extensions. - Building FoundationPose. - Installing local packages in editable mode. - Downloading pretrained weights. - Patching the transformers library.
After running the script, verify that all dependencies are correctly installed and the necessary files are downloaded.
bash
python app.py
Indices should be on the same device
Can't convert cuda:0 device type tensor to numpy
If you find this work useful, please cite:
TODO
$ claude mcp add OnePoseviaGen \
-- python -m otcore.mcp_server <graph>